Excel COUNTIFS function🔀 Count with several conditions

The COUNTIFS function: Count with several conditions. Count a target group. This page shows the syntax, a worked example with its result and how the formula reads.

What does COUNTIFS do?

Count with several conditions. Count a target group

COUNTIFS syntax

=COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...)

Arguments in square brackets [ ] are optional · argument names follow Microsoft's documentation

COUNTIFS example with the result

=********

👑 Ready-to-use example formula for VIP supporters only · Become VIP

Formula in cell B6 Yellow cells = result

AB
1SexAge
2M25
3F31
4M40
5F22
6F over 251

How it reads: Counts rows where A is F and B is over 25

Frequently asked questions about COUNTIFS

What does COUNTIFS do?

Count with several conditions. Count a target group

What does the COUNTIFS example return?

The example formula in cell B6 gives 1.

Which Excel versions have COUNTIFS?

It has been in Excel for many versions and works in the versions in common use today, including Excel for Microsoft 365.

Source: support.microsoft.com

Checked 17 November 2026 · by Black Sheep Barn · example results are calculated by the app's example engine, for learning

🤖
Posting...
Please wait a moment
Social VIP Classroom
Home
Thai Smiles Profile