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(C2:C16,"Married")
=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(C2:C16,G1)
=COUNTIF( range , value )
3 / 6
In G2, count the clients who have exactly 2 children.
=COUNTIF(D2:D16,2)
4 / 6
In G2, count the clients who have no children (0 child).
=COUNTIF(D2:D16,0)
=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(B2:B16,"")
6 / 6
In G2, count the divorced clients. Cell G1 holds the criteria — use that cell reference.
Your score is
Restart