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

    • AI-driven spreadsheet tools — what CPAs need to know
    • Is spending on technology spinning out of control?
    • Using 3 Excel View tools to manage large spreadsheets
  • TAX
    • All articles
    • Corporations
    • Employee benefits
    • Individuals
    • IRS procedure

    Latest Stories

    • Annual inflation adjustments announced for tax year 2026
    • IRS furloughs nearly half its workers, closes most operations
    • Social Security Administration head to also serve in new IRS role
  • PRACTICE MANAGEMENT
    • All articles
    • Diversity, equity & inclusion
    • Human capital
    • Firm operations
    • Practice growth & client service

    Latest Stories

    • JofA editorial team wins two awards
    • Promotion opportunities abound for CFO hopefuls
    • Right-size your quality management documentation for SQMS No. 1
  • 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

    • Right-size your quality management documentation for SQMS No. 1
    • PCAOB publishes guidance related to Audit Evidence amendments
    • AICPA unveils new QM resources to help firms meet Dec. 15 deadline
  • MANAGEMENT ACCOUNTING
    • All articles
    • Business planning
    • Human resources
    • Risk management
    • Strategy

    Latest Stories

    • Promotion opportunities abound for CFO hopefuls
    • Business outlook brightens somewhat despite trade, inflation concerns
    • AICPA & CIMA Business Resilience Toolkit — levers for action
  • Home
  • News
  • Magazine
  • Podcast
  • Topics
Advertisement
  1. newsletter
  2. Extra Credit
Extra Credit Cover

Use VLOOKUP to help manage your gradebook

By Wendy Tietz, CPA, Ph.D.; Jennifer Cainas, CPA, DBA; and Tracie Miller-Nobles, CPA
December 8, 2020

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

Related

November 10, 2020

Use the Quick Access Toolbar to increase your efficiency in Excel

July 14, 2020

Use Excel’s sparklines to quickly show trends in data

TOPICS

  • Technology
    • Microsoft Excel
  • Accounting Education

VLOOKUP is a formula that allows you to “look up” certain data and retrieve it into another table, by row. This function can be especially useful when you have a well-structured table with information organized by rows (such as a gradebook)!

Here’s an example of how we use VLOOKUP for grading: We currently use a classroom response system in our mass lecture classes to encourage attendance. Each class has over 450 students responding to questions throughout the class period, and we award points based on correct answers. At the end of each class period, we download the classroom response system results into an Excel spreadsheet, but need to bring these grades into our gradebooks, which are set up with 12 sections of 40–50 students. We can easily sort out student grades by section using the VLOOKUP function.   

Below are two screenshots, one showing the grades for the entire class (from the response system) and the other showing part of a gradebook for one section. Say that you need to move the data in the Totals column from the class response system file to the Points column in the section’s gradebook. Here’s how you’d use VLOOKUP to do that:

vlookup-0


Step 1: Highlight the cell to start the formula.
Put your cursor in the “Points” column in the first student’s row (cell D2).

Step 2: Build the first VLOOKUP formula. All formulas begin with an equal sign ( = ).  These are the components of the VLOOKUP formula:

VLOOKUP(lookup_value, table_array, col_index_num, [range-lookup])

  • Lookup_value: The value you want to look up; this is the student’s email address in Column C (cell C2)
  • Table_array: Where to look for the data; this is the entire listing (or export file) of student grades from the response system (cells A2-B21)
  • Col_index_num: This indicates the column number containing the value to retrieve. In this example, enter 2 or column B.
  • Range_lookup (optional): This returns either an approximate match (true) or exact match (false).

Keep in mind one limitation of VLOOKUP: the column being searched needs to be to the left of the column with the data being returned.

Advertisement

Below are the steps to complete the formula.

Step 2.1: With the cursor in cell D2, type =VLOOKUP(

vlookup-1


Step 2.2:
With the mouse, click on the first email address (cell C2). Add a comma after the C2 in the formula: VLOOKUP(C2

vlookup-2


Step 2.3:
Go to the export file and with the mouse highlight the entire area. Before you enter a comma to move on, you will need to “lock” the values (A2:B21) in place. Otherwise, when you copy the formula down in the gradebook, these values will change. To lock these values in place, use a “$” sign in front of each variable. Add a comma at the end. Your formula will look like the one below.

=VLOOKUP(C2,ExportFile!$A$2:$B$21,

vlookup-3


Step 2.4:
Enter “2” because you want to look up data in column 1 (email) and bring back the grade (in column 2). Add a comma.

=VLOOKUP(C2,ExportFile!$A$2:$B$21,2,

Advertisement

Step 2.5: Type “true” if you need an approximate match. Type “false” if you want an exact match. In this case you’d want an exact email match, so type in “false.” Then type a closed parenthesis.

=VLOOKUP(C2,ExportFile!$A$2:$B$21,2,false)

Step 2.6: Hit enter and the formula is set.

Step 3: From here your cursor is still in cell D2. Copy the formula all the way down your list by double clicking on the little green square on the lower right-hand corner of the cell.

vlookup-4


Below is how your file should look, with all of the grades for this section inputted from the other sheet:

vlookup-5


VLOOKUP is an excellent, time-saving function that can help you manage your gradebook quickly and efficiently, especially for larger classes. It’s is also an excellent function to teach your students, if they need to bring information from one Excel file to another. The VLOOKUP function works on both Windows and Mac.

Editor’s note: If you have Excel 365, you may want to try the new XLOOKUP function as well. Learn more in this article.

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 17, 2025

JofA editorial team wins two awards

October 16, 2025

Promotion opportunities abound for CFO hopefuls

October 9, 2025

IRS furloughs nearly half its workers, closes most operations

October 9, 2025

Annual inflation adjustments announced for tax year 2026

October 7, 2025

Social Security Administration head to also serve in new IRS role

Advertisement

Most Read

Why accountants need to master the art of reading the room
Using 3 Excel View tools to manage large spreadsheets
IRS furloughs nearly half its workers, closes most operations
Annual inflation adjustments announced for tax year 2026
Paper tax refund checks on the way out as IRS shifts to electronic payments
Advertisement

Podcast

October 16, 2025

AI, succession, the talent pipeline, and defining ‘unapologetic’ ambition

October 8, 2025

Shutdown concerns, the quest for tax guidance, the future of IRS service

October 2, 2025

Car talk: M&A, AI and EVs changing the dealership landscape

Features

AI-powered hacking in accounting: ‘No one is safe’
AI-powered hacking in accounting: ‘No one is safe’

AI-powered hacking in accounting: ‘No one is safe’

Building a better firm: How to pick the proper technology
Building a better firm: How to pick the proper technology

Building a better firm: How to pick the proper technology

Why accountants need to master the art of reading the room
Why accountants need to master the art of reading the room

Why accountants need to master the art of reading the room

How BI and analytics enhance management accountants’ partnering role
How BI and analytics enhance management accountants’ partnering role

How BI and analytics enhance management accountants’ partnering role

SPONSORED REPORT

Preparing clients for new provisions next tax season

Preparing clients for new provisions next tax season

As the 2025 filing season approaches, H.R. 1 introduces significant tax reforms that CPAs must be prepared to navigate. These legislative changes represent some of the most comprehensive tax updates in recent years, affecting both individual and corporate taxpayers. This report provides in-depth analysis and guidance on H.R. 1.

From The Tax Adviser

September 30, 2025

Current developments in taxation of individuals: Part 1

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

MAGAZINE

October 2025

October 2025

October 2025
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
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.