> For the complete documentation index, see [llms.txt](https://docs.tomat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tomat.ai/data-transformation/formulas/aggregate-functions/minif.md).

# MinIf

Gets the minimum value in the column filtered by the condition

```mathematica
MinIf(column1, column2 == 29) → 451
MinIf(column1, column3 == "Counter") → 2045.13
```

#### Inputs

`MinIf(column, [condition])`

* `column` - A column to calculate the minimum value for
* `[condition]` - **\[optional]** - Condition to filter values in the column
