Chapter 20

The COUNTIF, COUNTIFS, COUNT, COUNTA, and COUNTBLANK functions

Questions answered in this chapter:

Suppose I have a list of songs that were played on the radio. For each song, I know the singer, the date the song was played, and the length of the song. How can I answer questions such as these about the songs in the list?

  • How many songs were sung by each singer?

  • How many songs were not sung by Eminem?

  • How many songs were at least four minutes long?

  • How many songs were longer than the average length of all songs on the list?

  • How many songs were sung by singers whose last names begin with S?

  • How many songs were sung by singers whose last names contain exactly six letters?

  • How many songs were played after June 15, 2005?

  • How many songs ...

Get Microsoft Excel Data Analysis and Business Modeling (Office 2021 and Microsoft 365), 7th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.