Chapter 18. The COUNTIF, COUNTIFS, COUNT, COUNTA, and COUNTBLANK Functions

  • Suppose I have a list of songs that are 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 were sung by each singer?

    • How many were not sung by my favorite singer?

    • How many were at least four minutes long?

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

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

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

    • How many were played after June 15, 2005?

    • How many were played before 2009?

    • How many were exactly four minutes long?

    • How many were sung ...

Get Microsoft® Office Excel® 2007: Data Analysis and Business Modeling, Second 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.