COUNTIF Exercise: Weather Analysis (Simple Criteria)

Reading time: 3 minutes

A weather log is full of numbers, and COUNTIF turns them into answers. How many days of frost? How many days without rain? Each question is a single criterion with a comparison operator: greater than, less than or equal to. Writing the operator inside quotes is the detail that many users miss.

The following exercise shows you how to count with every comparison operator on real weather readings.

What you will practice in this exercise

You work on a weather log with temperatures, rainfall and weather type. You answer 8 questions, one formula per question:

  • Positive temperatures (operator >)
  • Negative temperatures (operator <)
  • Days without rain (equal to 0)
  • At least 5 mm of rain (operator >=)
  • Snow days (text criterion)
  • Readings at 5°C or more (operator >=)
  • More than 10 mm of rain (operator >)
  • Readings at -2°C or less (operator <= with a negative number)

Practice with exercises

COUNTIF operators — Weather log
🔒 Members only

COUNTIF operators — Weather log
Count rainy days, frosts and negative temperatures in a weather log.

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 *

COUNTIF Exercise: Weather Analysis (Simple Criteria)

Reading time: 3 minutes

A weather log is full of numbers, and COUNTIF turns them into answers. How many days of frost? How many days without rain? Each question is a single criterion with a comparison operator: greater than, less than or equal to. Writing the operator inside quotes is the detail that many users miss.

The following exercise shows you how to count with every comparison operator on real weather readings.

What you will practice in this exercise

You work on a weather log with temperatures, rainfall and weather type. You answer 8 questions, one formula per question:

  • Positive temperatures (operator >)
  • Negative temperatures (operator <)
  • Days without rain (equal to 0)
  • At least 5 mm of rain (operator >=)
  • Snow days (text criterion)
  • Readings at 5°C or more (operator >=)
  • More than 10 mm of rain (operator >)
  • Readings at -2°C or less (operator <= with a negative number)

Practice with exercises

COUNTIF operators — Weather log
🔒 Members only

COUNTIF operators — Weather log
Count rainy days, frosts and negative temperatures in a weather log.

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 *