Excel Tutorial
Excel tutorials, quizzes & AI guides — all levels
RSS
  • Online Excel Exercises
  • Training
  • Excel Tests
  • Sitemap
  • Premium Quizzes
  • Shop
  • My account

Test Your Skills with COUNTIF and COUNTIFS

Are you ready to test your knowledge of Excel’s COUNTIF and COUNTIFS functions? Here, there are no multiple-choice questions: you write the formulas yourself, in a real spreadsheet, directly in your browser.

Each formula is checked as you type, so you know straight away whether your answer is correct. It’s the best way to find out what you really master.

Evaluate your skill with COUNTIF and COUNTIFS

Start with COUNTIF on a file of 15 clients, in 6 steps, free:

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 Clients — Q1 · 371

=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 Clients — Q2 · 372

=COUNTIF(C2:C16,G1)

=COUNTIF( range , value )

3 / 6

In G2, count the clients who have exactly 2 children.

COUNTIF Clients — Q3 · 373

=COUNTIF(D2:D16,2)

=COUNTIF( range , value )

4 / 6

In G2, count the clients who have no children (0 child).

COUNTIF Clients — Q4 · 374

=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 Clients — Q5 · 375

=COUNTIF(B2:B16,"")

=COUNTIF( range , criteria_cell )

6 / 6

In G2, count the divorced clients. Cell G1 holds the criteria — use that cell reference.

COUNTIF Clients — Q6 · 376

=COUNTIF(C2:C16,G1)

Your score is

0%

👉 Now with two criteria: in cell G2, count the clients who are Married and have 2 children.

COUNTIFS Clients — Q1 · 398

The answer is =COUNTIFS(C2:C16,”Married”,D2:D16,2). Each range is followed by its own criterion.

👉 Want to do more exercises? The full COUNTIFS exercise (8 steps), and many more on COUNTIF, SUMIF and the other Excel functions, are waiting for you here: all our online Excel exercises.

Brief Explanation of COUNTIF and COUNTIFS

  • COUNTIF: This function counts the number of cells that meet a single criterion. It’s perfect for quickly finding how many cells contain a specific value or match a certain condition.
  • COUNTIFS: An extension of COUNTIF, this function allows you to count cells based on multiple criteria. It’s useful when applying more than one condition to filter and count data accurately.

Excel-Tutorial.com, your training partner.

Our certified experts have developed detailed training programs tailored to all skill levels. Our courses cover various Excel topics, from basic data processing to advanced analysis.

What sets excel-tutorial.com apart from other training sites is our interactive teaching approach. Exercises and real-life use cases accompany our lessons. So you can apply your new skills immediately to your day-to-day work.

Related Exercises

  • Training Logical Test – Beginner Level
  • Training Logical Test – Advanced Level

Most Viewed Posts

  • Displaying Negative Numbers in Parentheses in Excel (310,065)
  • Top 10 Excel Functions You Must Know (232,001)
  • How to make automatic calendar in Excel (212,775)
  • Dash for a zero in Excel automatically (190,813)
  • Converting a Date from YYYYMMDD to DD/MM/YYYY in Excel (171,034)
  • Date Format in Excel (154,873)
  • Use Excel Online for Free (135,368)
  • Excel Split Date and Time (133,844)
  • How to calculate VAT in Excel? (127,133)
  • Exchange rate in Excel 🏛️ (124,419)
  • Add Emojis to your Excel charts or slicers (117,213)
  • Why Excel Formulas Use Comma or Semi-Colon (102,149)
  • Master XLOOKUP function in Excel (101,857)
  • UNIQUE Function – Remove duplicates with formulas (98,081)
  • Change the default Date format in Excel (94,903)

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net