> 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.52-preview/clearlines-functions/mathematical-functions/min.md).

# MIN

Returns the minimum of numers in a range.

#### 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="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/EHa3awdjYAwtvn70DWQm/grafik.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/smuWkLe41USkYvQ74gzi/grafik.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/QlIO3wJSM4wscaqefoFE/grafik.png" alt=""><figcaption></figcaption></figure>
