The Pick the tool guide
Excel tests rarely say which function to use. This task asks a plain question about an order list; working out that it needs a count with two conditions is part of the task. Try it before you read on.
Read the question first
- "How many" means a count, not a total. If the answer could be an amount of money, it's a sum.
- "From the West" and "late" are two conditions that must both hold on the same row.
A count with one condition is COUNTIF. With two or more, COUNTIFS: a range and a condition for each.
One way to write it
=COUNTIFS(B2:B13, "West", C2:C13, "Late")
=SUMPRODUCT((B2:B13="West")*(C2:C13="Late")) gives the same count, and a filter on both columns shows it in the status bar, but the formula updates when the data does.
Where it goes wrong
- One condition. COUNTIF on the status counts late orders from every region.
- SUMIFS. Adds up the amounts of the late orders: right tool family, wrong question.
- Conditions swapped. "West" next to the status range finds nothing, so the answer is 0.
The full lesson: COUNTIFS with two conditions.
FAQ
- How do I count rows that meet two conditions in Excel?
- Use COUNTIFS with a range and a condition for each: =COUNTIFS(B2:B13,"West",C2:C13,"Late").
- What is the difference between COUNTIF and COUNTIFS?
- COUNTIF takes one condition. COUNTIFS takes one or more, and a row is counted only when all of them hold.
- Why does my COUNTIFS return 0?
- Often a condition sits next to the wrong range, or the text doesn't match exactly, for example a space after "Late".






























































