Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=COUNTIF(A2:A6,A2)Computed by a real spreadsheet engine on the sample data below.
| Name |
| Alice |
| Bob |
| Alice |
| Carol |
| Bob |
=COUNTIF(A2:A6,A2)→2
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
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.
Use COUNTIFS: =COUNTIFS(A2:A6,A2,B2:B6,B2) counts rows where both A and B match the current row's values.
Yes — COUNTIF works with numbers, text, and dates.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: