Formulyo

Excel 365 + Google Sheets · MINIFS

The minimum, with conditions

Returns the smallest value among the rows that meet your conditions.

The formula

=MINIFS(C2:C5, A2:A5, "Paper")

What each part means

Example

Before
ABC
1ProductSupplierPrice
2PaperOfficeCo4.20
3PaperPrintPro3.90
4InkOfficeCo12.00
5PaperBestDesk4.50
6Min paper
After
ABC
1ProductSupplierPrice
2PaperOfficeCo4.20
3PaperPrintPro3.90
4InkOfficeCo12.00
5PaperBestDesk4.50
6Min paper3.90

Step by step

  1. Click cell C6.
  2. Type the formula: =MINIFS(C2:C5, A2:A5, "Paper")
  3. Press Enter.
  4. Drag the small square in the bottom-right corner of the cell down to copy it to the other rows.

Where it works

The same formula in other languages

Get 1 formula a day, free

Plus a free weekly planner template for Excel and Google Sheets. Unsubscribe in 1 click.

✓ Done! Check your inbox to confirm.

Want ready-made templates? See the Formulyo pack →

Keep learning