Skip to content

This site uses cookies to store information on your computer. Some are essential to make our site work; others help us improve the user experience. By using the site, you consent to the placement of these cookies. Read our privacy policy to learn more.

Close
AICPA-CIMA
  • AICPA & CIMA:
  • Home
  • CPE & Learning
  • My Account
Journal of Accountancy
  • TECH & AI
    • All articles
    • Artificial Intelligence (AI)
    • Microsoft Excel
    • Information Security & Privacy

    Latest Stories

    • Incorporating prompt engineering into the accounting curriculum
    • Create a dynamic to-do list with Excel’s checkboxes
    • Another way to manage authentication texts
  • TAX
    • All articles
    • Corporations
    • Employee benefits
    • Individuals
    • IRS procedure

    Latest Stories

    • IRS finalizes regulations for Roth catch-up contributions under SECURE 2.0
    • PEEC seeks feedback on guidance for providing tax services to attest clients
    • IRS releases draft form for tip, overtime, car loan, and senior deductions
  • PRACTICE MANAGEMENT
    • All articles
    • Diversity, equity & inclusion
    • Human capital
    • Firm operations
    • Practice growth & client service

    Latest Stories

    • Private equity and peer review: Proposed change targets consistency
    • PEEC releases guidance on attest client association, simultaneous employment
    • IRS finalizes regulations for Roth catch-up contributions under SECURE 2.0
  • FINANCIAL REPORTING
    • All articles
    • FASB reporting
    • IFRS
    • Private company reporting
    • SEC compliance and reporting

    Latest Stories

    • SEC accepting Professional Accounting Fellow applications
    • SEC names new chief accountant
    • SEC ends legal defense of its climate rules
  • AUDIT
    • All articles
    • Attestation
    • Audit
    • Compilation and review
    • Peer review
    • Quality Management

    Latest Stories

    • AICPA unveils new QM resources to help firms meet Dec. 15 deadline
    • 8 steps to build your firm’s quality management system on time
    • Auditing Standards Board proposes a new fraud standard
  • MANAGEMENT ACCOUNTING
    • All articles
    • Business planning
    • Human resources
    • Risk management
    • Strategy

    Latest Stories

    • Business outlook brightens somewhat despite trade, inflation concerns
    • AICPA & CIMA Business Resilience Toolkit — levers for action
    • Economic pessimism grows, but CFOs have strategic responses
  • Home
  • News
  • Magazine
  • Podcast
  • Topics
Advertisement
  1. newsletter
  2. Extra Credit
Extra Credit Cover

How Excel COUNTIF function saves time when analyzing final grades

By Wendy Tietz, CPA, Ph.D.; Jennifer Cainas, CPA, DBA; and Tracie Miller-Nobles, CPA
September 14, 2021

Please note: This item is from our archives and was published in 2021. It is provided for historical reference. The content may be out of date and links may no longer function.

Related

May 11, 2021

Format column headings in Excel to make them easier to read

February 9, 2021

Various ways to display formulas in Excel

TOPICS

  • Technology
    • Microsoft Excel
  • Accounting Education

When analyzing grades (especially for a large class) the COUNTIF function in Excel can be extremely helpful.

For example, suppose you have entered your final letter grades, and you need to report how many students have earned a certain letter grade. You can easily determine this using the COUNTIF formula.

COUNTIF will count how many items (letters, numbers, or words) within the range you select meet the search criteria you set. Say, for example, you want to know how many students earned a final grade of F in your class, as illustrated in the example below. Begin by typing =COUNTIF( in an empty cell, followed by the range you want to search (C2:C18 in the example below) and the cell that contains that criteria you want to search for (D4 in the example below), and press Enter. (If you prefer, rather than typing the cell names in the formula, left-click on the start of the range and hold and drag to the end, type in a comma, click on the cell with the criteria, type in a close parenthesis, and press Enter.)

countif1


You will then see the total number of the criterion you searched for. In this example, we see the number 3, indicating that three students received a grade of F.

countif2


You can also manually input the range directly into the COUNTIF formula in the cell’s text input bar by placing it in quotation marks. In this example, for instance, you would type the formula COUNTIF(C2:C:18,“F”).

However, in this case, rather than specifying that the criteria was “F” within the COUNTIF formula, we had the formula reference the highlighted cell (D4) instead. When you use COUNTIF this way, you can easily change the letter grade and the count will automatically update, without needing to alter the formula. For example, if you now want to know how many students earned an A, you only need to change the letter grade in the highlighted cell and press Enter. The count automatically updates, as you can see in the screenshot below:

countif3


Although this technique might not seem as helpful with small amounts of data, using it with larger class sizes can be a huge time saver!

Advertisement

— Wendy Tietz, CPA, CGMA, Ph.D., is a professor of accounting at Kent State University in Kent, Ohio; Jennifer Cainas, CPA, DBA, is an instructor of accountancy at the University of South Florida in Tampa; and Tracie Miller-Nobles, CPA, is an associate professor of accounting at Austin Community College in Austin, Texas. See their site AccountingIsAnalytics.com for resources they have developed for teaching data analytics in introductory accounting. To comment on this article or to suggest an idea for another article, contact senior editor Courtney Vien at Courtney.Vien@aicpa-cima.com.

Advertisement

latest news

September 16, 2025

Private equity and peer review: Proposed change targets consistency

September 16, 2025

PEEC releases guidance on attest client association, simultaneous employment

September 15, 2025

IRS finalizes regulations for Roth catch-up contributions under SECURE 2.0

September 15, 2025

PEEC seeks feedback on guidance for providing tax services to attest clients

September 15, 2025

OMB announces plan to eliminate 60 accounting rules for federal contractors

Advertisement

Most Read

Calculating AI’s impact on CPAs: New study quantifies time savings
MAP Survey finds CPA firm starting pay on the rise
The No. 1 risk to retirement – and one way to guard against it
Tax provisions in the One Big Beautiful Bill Act
Congress passes act allowing tax relief when a state declares disaster
Advertisement

Podcast

September 11, 2025

Strong storytelling helps speakers deliver ‘medicine’ without the aftertaste

September 4, 2025

Summing up economic sentiment and concerns about inflation and tariffs

August 29, 2025

Take a bold leap instead of a tentative step

Features

Calming nervous clients nearing retirement
Calming nervous clients nearing retirement

Calming nervous clients nearing retirement

7 retirement tips for small firm CPAs
7 retirement tips for small firm CPAs

7 retirement tips for small firm CPAs

Building a better CPA firm: Stepping up service offerings
Multi-colored plus signs

Building a better CPA firm: Stepping up service offerings

2025 tax software survey
Smiley, frowney, and neutral faces for Tax Software Survey.

2025 tax software survey

FROM THIS MONTH'S ISSUE

Flip out with the latest Tech Q&A

The September Technology Q&A column shows how to create dynamic to-do lists with Excel's checkboxes and also how to set up multifactor authentication texts that don't rely on phones. Flip through both items and view a video walkthrough in our digital format. 

From The Tax Adviser

August 30, 2025

2025 tax software survey

August 30, 2025

Are you doing all you can to keep the cash method for your clients?

July 31, 2025

Current developments in S corporations

July 31, 2025

Paid student-athletes: Tax implications for universities and donors

MAGAZINE

September 2025

September 2025

September 2025
August 2025

August 2025

August 2025
July 2025

July 2025

July 2025
June 2025

June 2025

June 2025
May 2025

May 2025

May 2025
April 2025

April 2025

April 2025
March 2025

March 2025

March 2025
February 2025

February 2025

February 2025
January 2025

January 2025

January 2025
December 2024

December 2024

December 2024
November 2024

November 2024

November 2024
October 2024

October 2024

October 2024
view all

View All

http://JofA_Default_Mag_cover_small_official_blue

PUSH NOTIFICATIONS

Coming soon: Learn about important news

CPA LETTER DAILY EMAIL

CPA Letter Logo

Subscribe to the daily CPA Letter

Stay on top of the biggest news affecting the profession every business day. Follow this link to your marketing preferences on aicpa-cima.com to subscribe. If you don't already have an aicpa-cima.com account, create one for free and then navigate to your marketing preferences.

Connect

  • X Logo JofA on X
  • facebook JofA on Facebook

HOME

  • News
  • Monthly issues
  • Podcast
  • A&A Focus
  • PFP Digest
  • Academic Update
  • Topics
  • RSS feed rss feed
  • Site map

ABOUT

  • Contact us
  • Advertise
  • Submit an article
  • Editorial calendar
  • Privacy policy
  • Terms & conditions

SUBSCRIBE

  • Academic Update
  • CPE Express

AICPA & CIMA SITES

  • AICPA-CIMA.com
  • Global Engagement Center
  • Financial Management (FM)
  • The Tax Adviser
  • AICPA Insights
  • Global Career Hub
AICPA & CIMA

© 2025 Association of International Certified Professional Accountants. All rights reserved.

Reliable. Resourceful. Respected.