← All exercises

COUNTIF discovery — Customer file

COUNTIF Exercise - First steps: count with text, a number or a blank cell

Count how many clients match a single condition (status, children, email) in a client file using COUNTIF — 6 guided steps, no fill-down.

=COUNTIF( range , "criteria" )

1 / 6

You have a file of 15 clients with their name, email, marital status, number of children and income.
In G2, count the clients whose status is "Married". Type the criteria in full inside the formula.

COUNTIF Clients — Q1 · 371

=COUNTIF( range , criteria_cell )

2 / 6

In G2, count the single clients. Cell G1 holds the criteria "Single" — use that cell reference in your formula.

COUNTIF Clients — Q2 · 372

=COUNTIF( range , value )

3 / 6

In G2, count the clients who have exactly 2 children.

COUNTIF Clients — Q3 · 373

=COUNTIF( range , value )

4 / 6

In G2, count the clients who have no children (0 child).

COUNTIF Clients — Q4 · 374

=COUNTIF( range , "" )

5 / 6

In G2, count the clients who have no email address. An empty cell is tested with the criteria "" (two double quotes).

COUNTIF Clients — Q5 · 375

=COUNTIF( range , criteria_cell )

6 / 6

In G2, count the divorced clients. Cell G1 holds the criteria — use that cell reference.

COUNTIF Clients — Q6 · 376

Your score is

0%