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 keeps per diem rates unchanged for business travel year starting Oct. 1
    • Details on IRS prop. regs. on tip income deduction
    • AICPA urges IRS to modernize estate and trust tax forms
  • PRACTICE MANAGEMENT
    • All articles
    • Diversity, equity & inclusion
    • Human capital
    • Firm operations
    • Practice growth & client service

    Latest Stories

    • IRS keeps per diem rates unchanged for business travel year starting Oct. 1
    • Managing teams, managing time: The importance of setting expectations
    • Details on IRS prop. regs. on tip income deduction
  • 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

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

September 23, 2025

IRS keeps per diem rates unchanged for business travel year starting Oct. 1

September 22, 2025

Managing teams, managing time: The importance of setting expectations

September 19, 2025

Details on IRS prop. regs. on tip income deduction

September 19, 2025

AICPA urges IRS to modernize estate and trust tax forms

September 19, 2025

Accounting for software: FASB issues improved guidance

Advertisement

Most Read

MAP Survey finds CPA firm starting pay on the rise
IRS finalizes regulations for Roth catch-up contributions under SECURE 2.0
NASBA, AICPA release proposed revisions to CPE standards
Congress passes act allowing tax relief when a state declares disaster
IRS seeks to fill ‘critical vacancies’ as workforce declines 25%
Advertisement

Podcast

September 18, 2025

‘We’re still the thinkers’ — a reminder for tax pros in the AI era

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

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.