> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.66/nedyx/clearlines-functions/mathematical-functions/min.md).

# MIN

#### Syntax <a href="#syntax.32" id="syntax.32"></a>

**MIN**(*range*; *orientation*)

* *range* - a range of values - ***Value type**: range*
* *orientation* - the orientation of the minimum calculation - ***Value type**: constant (optional, <mark style="color:red;">all</mark> as default)*. Possible values are:
  * *<mark style="color:red;">all</mark>* - the minimum of the whole range is returned as a single number
  * *<mark style="color:red;">horizontal</mark>* - the minimum calculation is performed horizontally (row-wise) and returned as a column of numbers
  * *<mark style="color:red;">vertical</mark>* - the minimum calculation is performed vertically (column-wise) and returned as a row of numbers

#### Remarks <a href="#remarks.26" id="remarks.26"></a>

* Empty cells or cells which cannot be converted to numbers are ignored in the minimum calculation.

#### Examples

<figure><img src="/files/xVmWWWzWrwuduCMl7V8I" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/8CbNH4zPLI5zPABV0Osh" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ufCWyq1vDx15QnMeJU3D" alt=""><figcaption></figcaption></figure>
