formulastreak

COUNTIF practice exercises (free, checked instantly)

No download, no sign-up3 exercises · checked instantly

Counting with conditions comes up constantly: how many orders shipped, how many reps hit a number, how many tickets are open. These exercises cover COUNTIF with text, a broken comparison you repair (the most common COUNTIF mistake), and COUNTIFS with two conditions. Each is graded on our server. The first uses a sales team sheet, where the region column is text; the other two use a shop's order list, where quantities are numbers, so you practise criteria for both text and numbers. After a wrong answer you can take a hint, try again, or reveal the answer with an explanation of how the formula reads.

Quick refresher

COUNTIF(range, criteria) counts the cells that meet one condition: text in quotes, or a comparison in quotes like ">2". COUNTIFS(range1, criteria1, range2, criteria2, …) counts rows that meet every condition. See the COUNTIF reference, COUNTIF vs COUNTIFS and COUNTIF with a cell reference.

  1. 1

    How many reps work in the East? Count them in I1.

    • Use COUNTIF
    Select I1 and type = to start its formula (in the cell or the formula bar)
    ABCDEFGHI
    1RepRegionJulAugSepTargetEast reps
    2Amara OseiNorth$12,400$13,100$11,800$36,000
    3Ben FischerSouth$9,800$10,250$12,100$30,000
    4Lina ChenEast$15,200$14,800$16,900$45,000
    5Diego AlvarezWest$8,700$9,100$8,400$28,000
    6Eva NovakNorth$11,200$12,600$13,900$36,000
    7Farid HaddadSouth$13,300$12,900$14,100$39,000
    8Grace KimEast$10,100$9,600$10,800$33,000
    9Hugo MartinWest$14,500$15,800$15,100$42,000
  2. 2

    The formula in K1 should count orders with a Qty over 2, but it won't even calculate. Fix it.

    • Use COUNTIF
    Click a cell (or use the arrow keys) to insert its address · Enter shows the resultK1 = #ERROR!
    ABCDEFGHIJK
    1OrderDateCustomerProductCategoryQtyPriceStatusQty over 2#ERROR!
    210012 Mar 2026Mara OkaforMonsteraPlants1$34.00Shipped
    310022 Mar 2026Jonas LindTerracotta potPots3$12.50Shipped
    410033 Mar 2026Priya RamanSnake plantPlants2$22.00Shipped
    510044 Mar 2026Tomás RuizWatering canTools1$18.00Pending
    610055 Mar 2026Elif DemirFernPlants4$9.50Shipped
    710065 Mar 2026Mara OkaforPotting mixSoil2$7.25Returned
    810076 Mar 2026Kenji MoriPruning shearsTools1$24.00Shipped
    910087 Mar 2026Ines VargaCeramic potPots2$19.00Pending
    1010098 Mar 2026Jonas LindMonsteraPlants1$34.00Shipped
    1110109 Mar 2026Sofia RossiFernPlants6$9.50Shipped
    12101110 Mar 2026Priya RamanPotting mixSoil5$7.25Shipped
    13101211 Mar 2026Leo BrandtSnake plantPlants1$22.00Pending
  3. 3

    How many reps in the North (Region, column B) sold more than $12,000 in September (column E)? Answer in I1.

    • Use COUNTIFS
    Select I1 and type = to start its formula (in the cell or the formula bar)
    ABCDEFGHI
    1RepRegionJulAugSepTargetNorth > 12k
    2Amara OseiNorth$12,400$13,100$11,800$36,000
    3Ben FischerSouth$9,800$10,250$12,100$30,000
    4Lina ChenEast$15,200$14,800$16,900$45,000
    5Diego AlvarezWest$8,700$9,100$8,400$28,000
    6Eva NovakNorth$11,200$12,600$13,900$36,000
    7Farid HaddadSouth$13,300$12,900$14,100$39,000
    8Grace KimEast$10,100$9,600$10,800$33,000
    9Hugo MartinWest$14,500$15,800$15,100$42,000

What these exercises check

The exercises cover a COUNTIF with text, a broken comparison to repair (the most common COUNTIF mistake), and a COUNTIFS with two conditions. Each is graded on our server. Counting with conditions is everywhere at work: open tickets, orders shipped, people in a team, targets hit.

Common mistakes

Tips

Updated . Answers are checked on our server against the course's answer key and against changed data; nothing you type is stored.

Practise COUNTIF on a live sheet

Lesson 20, COUNTIF, AVERAGEIFS and MAXIFS (Unit 5, Conditional totals), has 3 more graded exercises, checked instantly, with steps and hints when you're stuck. Pro