# MINIFS in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/minifs/

MINIFS finds the minimum of a range but only over rows that pass one or more conditions. It is the conditional version of MIN, like SUMIFS for sums. Conditions on different columns combine with AND.

## Syntax

```
MINIFS(range, criteria_range1, criterion1, [criteria_range2, criterion2], …)
```

## Arguments

- `range` (range, required: yes): The numbers from which the minimum is taken.
- `criteria_range1` (range, required: yes): The range tested against the first criterion. Same size as range.
- `criterion1` (any, required: yes): The condition, such as "North" or ">100".
- `criteria_range2, criterion2, ...` (any, required: no): More range and condition pairs. A row must meet all of them.

## Examples

The examples use this table, starting in A1:

| Region | Rep | Sales |
|---|---|---|
| North | Ana | 120 |
| South | Bob | 80 |
| North | Cris | 200 |
| South | Dan | 50 |
| North | Eva | 90 |

```
=MINIFS(C2:C6, A2:A6, "North")
```

Result: `90`

Lowest sale in the North: 90. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=MINIFS(C2:C6, A2:A6, "South")
```

Result: `50`

Same range, other region. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=MINIFS(C2:C6, A2:A6, "North", C2:C6, ">100")
```

Result: `120`

Two conditions: North and above 100. The rows 120 and 200 qualify, so the answer is 120. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=MINIFS(C2:C6, B2:B6, "<>Ana")
```

Result: `50`

Everyone except Ana. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=MINIFS(C2:C6, A2:A6, "East")
```

Result: `0`

No row matches. The result is 0, which can be mistaken for a real minimum. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- When no row matches, MINIFS returns 0, not an error. Check with COUNTIFS if 0 could be a real value.
- The range and every criteria range must have the same size. Otherwise the result is #VALUE!.
- All pairs must be true for the same row. There is no OR between pairs.

## Compared with Excel

Same syntax in Excel 2019 and later.

## Related functions

- [MAXIFS](https://goingstellar.ro/reference/sheets/maxifs/)
- [MIN](https://goingstellar.ro/reference/sheets/min/)
- [SUMIFS](https://goingstellar.ro/reference/sheets/sumifs/)
- [COUNTIFS](https://goingstellar.ro/reference/sheets/countifs/)
- [AVERAGEIFS](https://goingstellar.ro/reference/sheets/averageifs/)
- [FILTER](https://goingstellar.ro/reference/sheets/filter/)

## Sources

- [MINIFS (Docs Editors Help)](https://support.google.com/docs/answer/7014063)

