AggregationIntermediate

Count rows that meet two conditions

COUNTIFS with two criteria — where "how many" questions actually start.

The data

Row numberABC
1RegionStatusValue
2WestWon4200
3EastLost3850
4WestWon5100
5NorthWon4650
6WestLost2300
7WestWon6100

Your task

Put a formula in E2 that counts how many rows are both in the West region and have the status Won.

Your formula goes in E2

The checker compares your formula against the accepted answers — it does not run it. The expected result is shown with the solution so you can verify it in your own spreadsheet.

Why this is the right formula

Conditions in COUNTIFS combine with AND — every one must hold for a row to count. There is no OR option, which surprises people: listing two values for the same column matches nothing rather than either. The SUMPRODUCT form is accepted because it is the classic pre-COUNTIFS way to do it, and still the way to handle conditions that are expressions rather than plain comparisons.

Try next

Practise it on a full dataset

Use this on your own site

Free to use, share and republish — including commercially. Attribution isn't required, but it's what keeps these free to make, and there's one ready to paste below.

Cite it

Questions

Does this actually run my formula?

The checker normalises case, spaces, argument separators and dollar-sign anchors, then compares your formula with a reviewed list of accepted answers. It does not evaluate the formula. Copy the data into your spreadsheet to verify the expected result independently.

Can a correct formula be rejected?

Yes. The accepted list includes several reviewed approaches, but cannot recognise every equivalent formula. Compare an unlisted solution with the expected result in your spreadsheet and use the page feedback if an accepted answer is missing.

Do I need an account?

No. There is no signup, no progress tracking and nothing stored — everything happens in your browser.