Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
Heads up: Excel and Google Sheets do this differently.
=SUM(IF(FREQUENCY(IF(B2:B7="Criteria", MATCH(A2:A7, A2:A7, 0)), ROW(A2:A7)-ROW(A2)+1)>0, 1))=ARRAYFORMULA(SUM(UNIQUE(IF(B2:B7="Criteria", A2:A7, ""))<>")Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need the Google Sheets version instead? Open Sheets variant in workspace →
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
You can nest additional IF statements within the formula to handle multiple conditions.
Use EXACT instead of = for case-sensitive comparisons.
Yes, the method works with any data type, including dates and numbers.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: