Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=COUNTIFS(A2:A6,"North",B2:B6,"Apple")Computed by a real spreadsheet engine on the sample data below.
| Region | Product |
| North | Apple |
| South | Banana |
| North | Apple |
| East | Apple |
| North | Cherry |
=COUNTIFS(A2:A6,"North",B2:B6,"Apple")→2
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
Add two COUNTIFS: =COUNTIFS(A2:A6,"North",B2:B6,"Apple")+COUNTIFS(A2:A6,"South",B2:B6,"Apple"). Subtract double-counted rows if needed with a third COUNTIFS.
Yes. Wildcards (* and ?) work the same as in COUNTIF.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: