Skip to content
GridBelt
  • Excel Test
  • Practice
  • Programs
  • Pricing
Sign in
Start the free test
  • Excel Test
  • Practice
  • Programs
  • Pricing
Sign inCreate account
Start the free test
GridBelt

Practice Excel in your browser.

Excel Test

  • Level 1: Beginner
  • Level 2: Intermediate
  • Level 3: Expert
  • Excel test in 7 days
  • Leaderboard
  • Excel test for interview
  • Indeed Excel assessment

Practice

  • All exercises
  • Programs
  • For beginners

Guides

  • Excel formulas
  • Excel shortcuts

Company

  • About
  • Pricing
  • How we grade

© GridBelt. All rights reserved.

  • Privacy Policy
  • Terms of Use
  • Refund Policy

Excel is a trademark of Microsoft Corporation. Indeed, TestGorilla, SHL and other marks are the property of their owners. GridBelt is an independent practice site and is not affiliated with, endorsed by or sponsored by Microsoft, TestGorilla, SHL or Indeed.

  1. Practice
  2. /
  3. VLOOKUP

VLOOKUP from another sheet: add the customer tier to every order

  • Beginner
  • ~5 min
  • VLOOKUP

The Orders sheet lists 80 orders from Q3 2026 with the customer name in column C. Loyalty tiers (Gold, Silver, Bronze) live on a separate Customers sheet: 30 accounts, one row each, with the tier in column D. Customer service wants the tier next to every order so they can prioritize Gold accounts — write one lookup on Orders that reaches into the Customers sheet, then fill it down.

What you need to do

  1. 1On the Orders sheet, click E2 and type =VLOOKUP(C2, — the customer name is the value to find.
  2. 2Click the Customers tab, select A2:D31, and press F4 (Windows) or ⌘T (Mac): the formula bar now shows Customers!$A$2:$D$31.
  3. 3Type ,4,FALSE) and press Enter. Excel jumps back to Orders; the tier is the 4th column of the Customers table and FALSE means exact name match.
  4. 4Fill E2 down to E81. Then change a tier on the Customers sheet and watch the matching orders update.

Answer cells

Feedback

Type your formula in the grid, press Enter, then Check. We grade the value in each answer cell and the formula behind it.

Tasks

  1. Not checkedOn the Orders sheet, in E2, look up the tier of the customer in C2 from the Customers sheet (A2:D31, exact match) and fill the formula down to E81.

Desktop recommended for spreadsheet tasks. The sheet scrolls inside this box.

StartInsertFormulasDataView
A1fxPreparing your workbook…
A
B
C
D
E
F
G
H
I
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Sheet1

Enter your formula in the sheet, then check.

About this exercise

A 110-row dataset on 2 sheets, one answer cell, about 5 minutes. Graded in your browser: the value and the formula behind it, with feedback that names the fix.

How to solve it

  • Orders!E2=VLOOKUP(C2,Customers!$A$2:$D$31,4,FALSE)

A reference to another sheet is the sheet name, an exclamation mark and the range: Customers!$A$2:$D$31. VLOOKUP searches the first column of that table for the customer name in C2 and returns the 4th column of the same row, the tier. Nothing is copied: when a customer is upgraded on the Customers sheet, every one of their orders shows the new tier the moment you press Enter.

Pitfall 1: typing the sheet prefix by hand is where errors creep in — click the tab instead; names with spaces need single quotes ('Key accounts'!A2:D31) and Excel adds them for you. Pitfall 2: an exact match is only as good as the spelling. "Summit Foods " with a trailing space or "Summit foods" in a different case: VLOOKUP ignores case, but not spaces — wrap the lookup value in TRIM when exports are messy. Pitfall 3: the customer name is a weak key; two accounts with the same name return the first one found. Real systems look up a customer ID. Alternatives: =XLOOKUP(C2,Customers!$A$2:$A$31,Customers!$D$2:$D$31) (365) or =INDEX(Customers!$D$2:$D$31,MATCH(C2,Customers!$A$2:$A$31,0)); both keep working when a column is inserted into the Customers sheet, VLOOKUP's hard-coded 4 does not. Design note: a lookup column like this is the usual first step before a pivot or a COUNTIF by tier — the tier becomes an attribute of each order row.

Other ways that work

  • =XLOOKUP(C2,Customers!$A$2:$A$31,Customers!$D$2:$D$31) — Excel 365, no column counting
  • =INDEX(Customers!$D$2:$D$31,MATCH(C2,Customers!$A$2:$A$31,0)) — INDEX/MATCH, any Excel version
  • =VLOOKUP(C2,Customers!A:D,4,FALSE) — whole-column reference; fine here because the Customers sheet holds nothing else

Common mistakes

Typing =VLOOKUP(C2,$A$2:$D$31,4,FALSE) while still on the Orders sheet: without the Customers! prefix the formula searches the orders themselves and returns #N/A. The sheet prefix is what sends the lookup to the right table.

How we grade

Any formula that produces the right result is accepted, unless the task names a function: then another function earns half credit. We compare values with a small tolerance and ignore case and spaces in text. A correct number typed by hand instead of a formula earns half credit. Multi-cell tasks earn full credit at 100% of cells, half credit from 50%. Where it matters, we also change an input cell on a copy of your sheet and check that your formula follows.

Answers computed with Excel 365 rules and checked in our grading engine on November 16, 2026. Author: GridBelt team.

In these programs

  • Excel test in 7 days, Level 2 planDay 2
  • Excel for Administrative AssistantsDay 6
  • Excel for Sales and MarketingDay 2

Related exercises

  • Pull the unit price with VLOOKUP (exact match)Beginner, ~5 min
  • Show "Not found" instead of #N/AIntermediate, ~7 min
  • Shipping cost bands with approximate VLOOKUPIntermediate, ~7 min
  • Look left: employee ID by emailExpert, ~6 min

Function reference

Official documentation

Next exercise

Shipping cost bands with approximate VLOOKUP