COUNTIFS Exercise: Count with Wildcards

Reading time: 3 minutes

Wildcards let you count text you only know in part. The asterisk replaces any group of characters: “L*” finds every city that starts with L, “*e” every city that ends with e. Combined with COUNTIFS, they let you mix a partial text with a number criterion in the same formula.

The following exercise shows you how to count with two criteria, then with wildcards, on a weather log of several cities.

What you will practice in this exercise

You work on weather readings for several cities. You answer 8 questions, one formula per question:

  • Paris with a positive temperature (COUNTIFS, 2 criteria)
  • Snow in Lille (2 text criteria)
  • Temperature of 5°C or more and no rain (2 number criteria)
  • Rain and temperature under 5°C (operators)
  • Cities starting with L with rain (wildcard L*)
  • Cities ending in e with sun (wildcard *e)
  • Cities containing “or” with 4 mm of rain or more (wildcard *or*)
  • Paris, read from a cell, with rain (cell reference)

Practice with exercises

COUNTIFS wildcards — Weather log
🔒 Members only

COUNTIFS wildcards — Weather log
Count with wildcards (*) to match partial text in your weather data.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *

COUNTIFS Exercise: Count with Wildcards

Reading time: 3 minutes

Wildcards let you count text you only know in part. The asterisk replaces any group of characters: “L*” finds every city that starts with L, “*e” every city that ends with e. Combined with COUNTIFS, they let you mix a partial text with a number criterion in the same formula.

The following exercise shows you how to count with two criteria, then with wildcards, on a weather log of several cities.

What you will practice in this exercise

You work on weather readings for several cities. You answer 8 questions, one formula per question:

  • Paris with a positive temperature (COUNTIFS, 2 criteria)
  • Snow in Lille (2 text criteria)
  • Temperature of 5°C or more and no rain (2 number criteria)
  • Rain and temperature under 5°C (operators)
  • Cities starting with L with rain (wildcard L*)
  • Cities ending in e with sun (wildcard *e)
  • Cities containing “or” with 4 mm of rain or more (wildcard *or*)
  • Paris, read from a cell, with rain (cell reference)

Practice with exercises

COUNTIFS wildcards — Weather log
🔒 Members only

COUNTIFS wildcards — Weather log
Count with wildcards (*) to match partial text in your weather data.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *