LEAST
Returns the smallest value in a list.
Syntax
LEAST(<value1>, <value2>, …)
Compares several values in the same row and returns the smallest. Its mirror function is GREATEST, which returns the largest. Don't confuse it with MIN: that one searches across many rows, while LEAST looks at values side by side. Handy for capping a number: “no more than”.