Skip to content
AICPA-CIMA
  • AICPA & CIMA:
  • Home
  • Engage 365 Communities
  • CPE & Learning
  • My Account
Journal of Accountancy
  • TECH & AI
    • All articles
    • Artificial Intelligence (AI)
    • Microsoft Excel
    • Information Security & Privacy

    Latest Stories

    • AICPA partners on new offering that assures AI systems and agents
    • AI and the audit: AICPA publishes practice aid to assist auditors
    • Recasting retirement: 3 ways AI is changing client-adviser conversations

  • TAX
    • All articles
    • Corporations
    • Employee benefits
    • Individuals
    • IRS procedure

    Latest Stories

    • Final regulations clear path for direct IRS card payments
    • IRS urged by national taxpayer advocate to pause Kwong claims denials
    • IRS proposes regulations implementing premium tax credit changes
  • PRACTICE MANAGEMENT
    • All articles
    • Diversity, equity & inclusion
    • Human capital
    • Firm operations
    • Practice growth & client service

    Latest Stories

    • Problem solved: A math example of CPA-led assurance using AI agents
    • AICPA partners on new offering that assures AI systems and agents
    • Final regulations clear path for direct IRS card payments
  • FINANCIAL REPORTING
    • All articles
    • FASB reporting
    • IFRS
    • Private company reporting
    • SEC compliance and reporting

    Latest Stories

    • SEC proposal aims to clarify securities rules for crypto assets
    • SEC eyes e-delivery as the default over paper
    • SEC shares 3 goals in proposed 2026–2030 strategic plan
  • AUDIT
    • All articles
    • Attestation
    • Audit
    • Compilation and review
    • Peer review
    • Quality Management

    Latest Stories

    • Problem solved: A math example of CPA-led assurance using AI agents
    • AI and the audit: AICPA publishes practice aid to assist auditors
    • PCAOB shares agendas for rulemaking, research
  • MANAGEMENT ACCOUNTING
    • All articles
    • Business planning
    • Human resources
    • Risk management
    • Strategy

    Latest Stories

    • Risk response often doesn’t match the threat or the opportunity
    • Confidence in U.S. economy rises despite inflation concerns
    • Data governance: How finance builds trust in the numbers
  • 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

October 19, 2026

Problem solved: A math example of CPA-led assurance using AI agents

October 19, 2026

AICPA partners on new offering that assures AI systems and agents

October 16, 2026

Final regulations clear path for direct IRS card payments

October 15, 2026

IRS urged by national taxpayer advocate to pause Kwong claims denials

October 15, 2026

IRS proposes regulations implementing premium tax credit changes

Advertisement

Most Read

IRS raises per diem rates for business travel effective Oct. 1
Social Security wage base and COLA announced for 2027
AI and the audit: AICPA publishes practice aid to assist auditors
AICPA reminds states of disaster-relief process with filing deadline near
IRS changes course to allow automatic Trump account enrollment
Advertisement

Podcast

October 15, 2026

A Raven’s-eye view on interest rates, jobs, and the U.S. economy

October 8, 2026

Accounting’s future: Embrace change and build on trust

October 1, 2026

Tweak the message, prep for pushback, succeed in the boardroom

Features

New checklist helps CPAs manage AI cyber risks
New checklist helps CPAs manage AI cyber risks

New checklist helps CPAs manage AI cyber risks

Using an Excel agent to clean, validate, and reconcile data
Using an Excel agent to clean, validate, and reconcile data

Using an Excel agent to clean, validate, and reconcile data

Going concern: What CPAs in audit and finance should know
Going concern: What CPAs in audit and finance should know

Going concern: What CPAs in audit and finance should know

Liquidation accounting: When a going concern dissolves
Liquidation accounting: When a going concern dissolves

Liquidation accounting: When a going concern dissolves

SPONSORED REPORT

Get your clients ready for tax season

Help clients avoid surprises with year-end planning strategies for managing taxable income, maximizing deductions, and adjusting to OBBBA changes affecting individuals and businesses.

From The Tax Adviser

September 30, 2026

Navigating the QSBS rules in pass-through structures

September 30, 2026

Sec. 338(h)(10) elections in business acquisitions

August 31, 2026

What today’s clients expect from their CPA and how firms are responding

August 31, 2026

2026 tax software survey

MAGAZINE

October 2026

October 2026

October 2026
September 2026

September 2026

September 2026
August 2026

August 2026

August 2026
July 2026

July 2026

July 2026
June 2026

June 2026

June 2026
May 2026

May 2026

May 2026
April 2026

April 2026

April 2026
March 2026

March 2026

March 2026
February 2026

February 2026

February 2026
January 2026

January 2026

January 2026
December 2025

December 2025

December 2025
November 2025

November 2025

November 2025
view all

View All

http://JofA_Default_Mag_cover_small_official_blue

PUSH NOTIFICATIONS

Learn about important news

This quick guide walks you through the process of enabling and troubleshooting push notifications from the JofA on your computer or phone.

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

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

Reliable. Resourceful. Respected.