Practice

COUNTIF practice exercises

Counts cells that match a condition. Work through these on the table below, then check each answer.

Practise interactively Type formulas into a live sheet with instant feedback. Free.

ABCDEF
1OrderRegionRepUnitsPriceRevenue
27301EastKofi860480
37302WestOmar32472
47303EastInes33090
57304NorthRaj930270
67305SouthRaj51890
77306NorthInes71284
87307WestOmar21530
97308SouthOmar22448
  1. How many orders came from North?

    Show answer

    =COUNTIF(B2:B9,"North") → 2

  2. How many orders sold more than 5 units?

    Show answer

    =COUNTIF(D2:D9,">5") → 3

  3. How many orders sold more than 3 units?

    Show answer

    =COUNTIF(D2:D9,">3") → 4

  4. How many orders sold more than 6 units?

    Show answer

    =COUNTIF(D2:D9,">6") → 3

  5. How many orders came from East?

    Show answer

    =COUNTIF(B2:B9,"East") → 2

  6. How many orders came from South?

    Show answer

    =COUNTIF(B2:B9,"South") → 2

New to COUNTIF? Read the COUNTIF guide first: syntax, a worked example and common mistakes.