Master MINIFS in Google Sheets: Multi‑Criteria Minimums

Learn how to use MINIFS in Google Sheets to identify the smallest value under multiple criteria. This guide covers syntax, practical examples, error handling, and best practices for robust, formula-driven analysis.

How To Sheets
How To Sheets Team
·5 min read
Quick AnswerDefinition

MINIFS in Google Sheets returns the smallest value in a range that satisfies all given criteria across one or more criteria ranges. The syntax is MINIFS(min_range, criteria_range1, criterion1, [criteria_range2, criterion2, ...]). This enables multi-criteria filtering without helper columns.

What MINIFS does in Google Sheets

MINIFS is a powerful function that finds the smallest numeric value in a designated min_range that meets all supplied criteria across corresponding criteria ranges. When working with datasets in Google Sheets, you often need to extract a minimum value under constraints such as date windows, category labels, and numeric thresholds. MINIFS supports multiple criteria, allowing you to combine conditions like dates and text in a single formula, without creating intermediate columns. This makes it ideal for dashboards and ad‑hoc analysis where speed and readability matter.

Excel Formula
=MINIFS(B2:B100, A2:A100, ">0", C2:C100, "<=DATE(2026,12,31)")

What this does: it considers rows where A2:A100 is greater than 0 and C2:C100 is on or before December 31, 2026, then returns the smallest value from B2:B100 that satisfies both.

What MINIFS does in Google Sheets

MINIFS is a concise way to find the minimum value under multiple logical constraints. The function evaluates each row against all provided criteria ranges and criteria pairs; only rows that satisfy every condition contribute to the final minimum. This is especially useful when you need to filter by a date range, a category, and a numeric limit all at once. Unlike chaining helpers or nested IF statements, MINIFS keeps your sheet lean and readable.

Excel Formula
=MINIFS(B2:B100, A2:A100, ">0", C2:C100, ">=DATE(2026,1,1)")

Tip: For text fields, you can use wildcards like * to match partial strings (e.g., "Widget*").

Syntax and parameters

MINIFS(min_range, criteria_range1, criterion1, [criteria_range2, criterion2, ...])

  • min_range (required): The numeric range from which the minimum is returned.
  • criteria_range1 (required): The range to evaluate against the first criterion.
  • criterion1 (required): The condition for the first criteria range (e.g., ">0", "Widget*", "<>0").
  • Additional pairs: Optional more criteria ranges and their corresponding criteria.
Excel Formula
MINIFS(min_range, criteria_range1, criterion1, criteria_range2, criterion2)

Example with two criteria shows how to constrain by both a category and a date.

Basic examples

Let’s use a simple dataset where column A = Category, column B = Amount, and column C = Date. You can pull the smallest amount for a specific category:

Excel Formula
=MINIFS(B2:B10, A2:A10, "Apples")

This returns the smallest value in B2:B10 where the corresponding A2:A10 cell equals "Apples". You can add a second criterion for dates:

Excel Formula
=MINIFS(B2:B10, A2:A10, "Bananas", C2:C10, ">=DATE(2026,1,1)")

Now you’re filtering by category and a date window simultaneously.

Working with multiple criteria and data types

MINIFS handles numeric, date, and text criteria. For example, find the smallest sale amount for a product whose name starts with "Widget" and occurs in a specific region:

Excel Formula
=MINIFS(D2:D100, A2:A100, "Widget*", B2:B100, "East")

You can also mix date criteria with numeric thresholds:

Excel Formula
=MINIFS(D2:D100, A2:A100, "Widget*", C2:C100, ">="&DATE(2026,1,1), D2:D100, ">0")

If your dataset uses named ranges like min_sales and product and region, you can write clearer formulas:

Excel Formula
=MINIFS(min_sales, product, "Widget*", region, "West")

Wildcards and concatenation with dates enable sophisticated filtering without extra steps.

Handling errors and edge cases

MINIFS can produce an error or empty result when no rows meet the criteria. A common pattern is to wrap the formula in IFERROR to provide a friendly message or fallback value:

Excel Formula
=IFERROR(MINIFS(B2:B100, A2:A100, "Widget", C2:C100, ">="&DATE(2026,1,1)), "No matches for given criteria")

Edge cases to consider:

  • Empty min_range: returns an error; guard with IFERROR or input checks.
  • Overly broad criteria: may cause long calculation times on large datasets.
  • Mixed data types: ensure the ranges are consistent (numbers with numbers, dates with dates).

Pro tip: keeping your data types consistent reduces surprising results.

Alternative approaches for complex criteria

If your criteria become highly dynamic or require non-contiguous ranges, you can use FILTER with MIN to emulate MINIFS behavior:

Excel Formula
=MIN(FILTER(B2:B100, A2:A100="Widget", C2:C100>=DATE(2026,1,1)))

Both approaches yield the same end result, but FILTER + MIN is often easier to adapt when you need to combine with other array operations. You can also use BYROW or MAP to construct more elaborate criteria, though MINIFS remains the simplest option for straightforward multi-criteria minimums.

For large datasets, consider narrowing the ranges or using named ranges to improve calculation speed.

Practical templates you can reuse

Template 1: Multi-criteria minimum with a single product filter

Excel Formula
=MINIFS(B2:B100, A2:A100, "Gadget", C2:C100, ">="&DATE(2026,1,1))

Template 2: Named ranges for readability

Excel Formula
=MINIFS(min_sales, product_col, "Gadget", date_col, ">="&DATE(2026,1,1))

Tips for templates:

  • Define named ranges like min_sales, product_col, and date_col to make formulas self-explanatory.
  • Add comments in your sheet to remind readers what each range represents.
  • Use dynamic named ranges to auto-expand as data grows.

Performance considerations and best practices

In practice, MINIFS is fast for typical worksheet sizes, but performance can degrade if you reference entire columns (e.g., B:B) with many criteria. To optimize:

  • Use precise ranges that match your data (e.g., B2:B1000 instead of B2:B).
  • Prefer named ranges for long formulas to improve readability and maintainability.
  • Keep data types consistent across criteria ranges (numbers with numbers, dates with dates).
  • If you need to analyze live data, consider using FILTER + MIN for highly dynamic criteria, since some scenarios can trigger recalculation more often.
Excel Formula
=MINIFS(min_range, criteria1_range, criterion1, criteria2_range, criterion2)

When documenting your sheet, note the exact ranges and criteria so others can audit and reuse the logic with minimal surprises.

Steps

Estimated time: 15-25 minutes

  1. 1

    Plan data layout

    Identify min_range and the one or more criteria ranges. Ensure data types align (numbers, dates, text) and decide whether you’ll use wildcards for text.

    Tip: Sketch a simple table to map which columns serve as ranges and criteria.
  2. 2

    Write the first MINIFS

    Create a basic MINIFS with one criterion range to confirm the syntax works on your data.

    Tip: Start simple and gradually add more criteria.
  3. 3

    Add additional criteria

    Extend the formula with extra (criteria_range, criterion) pairs to refine the result.

    Tip: Use DATE() or &DATE() when filtering by dates.
  4. 4

    Handle errors

    Wrap MINIFS with IFERROR to provide a friendly fallback when no rows match.

    Tip: Always provide a clear message for empty results.
  5. 5

    Validate and document

    Cross-check results with a manual filter and add comments or named ranges for future readers.

    Tip: Document ranges and logic to aid maintenance.
Pro Tip: Use named ranges to improve readability and reuse across sheets.
Warning: Avoid using entire-column references for large datasets to keep calculations snappy.
Note: Text criteria can leverage wildcards like '*' for partial matches.
Pro Tip: Combine date criteria with DATE() to create robust time windows.
Note: When in doubt, test with a small sample before applying to live data.

Prerequisites

Required

Optional

  • Optional: Named ranges for clarity
    Optional

Keyboard Shortcuts

ActionShortcut
CopyCopy selected cell(s)Ctrl+C
PastePaste into a target cellCtrl+V
CutRemove and place clipboard contentCtrl+X
Fill downFill the formula down a columnCtrl+D
FindSearch within the sheetCtrl+F

FAQ

What does MINIFS return in Google Sheets?

MINIFS returns the smallest value in the specified min_range that meets all provided criteria. It supports numeric, date, and text criteria and can handle multiple conditions in a single formula.

MINIFS returns the smallest value in your data that meets all given conditions.

Can MINIFS handle text criteria with wildcards?

Yes. You can use wildcards like * to match partial text in text criteria ranges. For example, "Widget*" matches any text starting with 'Widget'.

Yes, you can use wildcards for text in MINIFS.

How do I avoid errors when no matches exist?

Wrap the MINIFS call in IFERROR to provide a friendly fallback message or value when there are no matching rows.

Wrap MINIFS with IFERROR to show a fallback instead of an error.

Is MINIFS faster than building helper columns?

MINIFS performs well for typical datasets and avoids extra columns, but very large datasets may benefit from narrowed ranges or alternative approaches like FILTER+MIN.

MINIFS can be faster and simpler than helper columns on smaller datasets; for large data, consider alternative methods.

Can I use MINIFS with multiple sheets?

MINIFS typically operates within a single sheet. You can reference ranges across sheets, but ensure ranges align in size and data types.

MINIFS can reference ranges on other sheets if aligned correctly.

What are common mistakes when using MINIFS?

Mismatched range lengths, mixing data types, and forgetting to close criteria properly are common errors. Always verify range sizes and syntax.

Watch for range length mismatches and data type consistency.

The Essentials

  • Use MINIFS to find multi-criteria minimums without helper columns
  • Pair criteria_range with criteria in logical expressions
  • Leverage wildcards for text-based criteria
  • Wrap with IFERROR to gracefully handle no-match cases
  • Prefer explicit ranges over whole-column references for performance

Related Articles