Bird
Raised Fist0
Google Sheetsspreadsheet~15 mins

VLOOKUP function in Google Sheets - Real Business Scenario

Choose your learning style10 modes available
Scenario Mode
👤 Your Role: You are a sales assistant at a retail company.
📋 Request: Your manager wants a quick way to find product prices by entering the product ID.
📊 Data: You have a product list with columns: Product ID, Product Name, and Price.
🎯 Deliverable: Create a lookup table where entering a Product ID shows the product name and price using VLOOKUP.
Progress0 / 5 steps
Sample Data
Product IDProduct NamePrice
P001Notebook2.50
P002Pen1.20
P003Stapler5.00
P004Marker1.75
P005Folder3.00
P006Glue1.00
P007Scissors4.50
P008Ruler1.30
1
Step 1: Create a new sheet or area for the lookup table. In cell A2, type a product ID to search, for example, 'P003'.
Expected Result
Cell A2 contains 'P003'.
2
Step 2: In cell B2, use VLOOKUP to find the product name for the ID in A2. Enter the formula: =VLOOKUP(A2, A5:C12, 2, FALSE)
=VLOOKUP(A2, A5:C12, 2, FALSE)
Expected Result
Cell B2 shows 'Stapler'.
3
Step 3: In cell C2, use VLOOKUP to find the price for the product ID in A2. Enter the formula: =VLOOKUP(A2, A5:C12, 3, FALSE)
=VLOOKUP(A2, A5:C12, 3, FALSE)
Expected Result
Cell C2 shows 5.00.
4
Step 4: Test by changing the product ID in A2 to 'P007'. The product name and price should update automatically.
Expected Result
B2 shows 'Scissors' and C2 shows 4.50.
5
Step 5: Format the price column (C2) as currency for better readability.
Select C2, Format > Number > Currency
Expected Result
Price in C2 displays as $5.00 or local currency format.
Final Result
Product Lookup Table
+------------+--------------+-------+
| Product ID | Product Name | Price |
+------------+--------------+-------+
| P003       | Stapler      | $5.00 |
+------------+--------------+-------+
✓VLOOKUP helps find product details quickly by product ID.
✓Changing the product ID updates the product name and price automatically.
✓Using FALSE in VLOOKUP ensures exact match lookup.
Bonus Challenge

Modify the lookup to show 'Not Found' if the product ID does not exist in the list.

Show Hint
Use IFERROR around the VLOOKUP formula, like =IFERROR(VLOOKUP(...), "Not Found")

Practice

(1/5)
1.

What does the VLOOKUP function do in Google Sheets?

easy
A. It looks for a value in the first column of a range and returns a value from another column in the same row.
B. It adds all numbers in a column.
C. It sorts data alphabetically.
D. It counts the number of cells with numbers.

Solution

  1. Step 1: Understand the purpose of VLOOKUP

    VLOOKUP searches for a value in the first column of a given range.
  2. Step 2: Identify what it returns

    It returns a value from another column in the same row where the match is found.
  3. Final Answer:

    It looks for a value in the first column of a range and returns a value from another column in the same row. -> Option A
  4. Quick Check:

    VLOOKUP finds and returns matching row data [OK]
Hint: Remember: VLOOKUP searches first column, returns from another [OK]
Common Mistakes:
  • Thinking VLOOKUP sums or counts data
  • Confusing VLOOKUP with sorting functions
  • Assuming it searches all columns, not just the first
2.

Which of the following is the correct syntax for an exact match VLOOKUP in Google Sheets?

=VLOOKUP(lookup_value, range, col_index, FALSE)

easy
A. =VLOOKUP(range, lookup_value, col_index, FALSE)
B. =VLOOKUP(lookup_value, range, col_index, TRUE)
C. =VLOOKUP(lookup_value, range, col_index, FALSE)
D. =VLOOKUP(lookup_value, col_index, range, FALSE)

Solution

  1. Step 1: Recall VLOOKUP syntax order

    The correct order is lookup_value, range, column index, and match type.
  2. Step 2: Identify exact match parameter

    FALSE is used for exact match, TRUE for approximate.
  3. Final Answer:

    =VLOOKUP(lookup_value, range, col_index, FALSE) -> Option C
  4. Quick Check:

    Exact match uses FALSE as last argument [OK]
Hint: Exact match always ends with FALSE in VLOOKUP [OK]
Common Mistakes:
  • Swapping lookup_value and range
  • Using TRUE instead of FALSE for exact match
  • Mixing order of parameters
3.

Given this table in cells A1:B4:

A1: Product  B1: Price
A2: Apple    B2: 1.5
A3: Banana   B3: 0.75
A4: Cherry   B4: 2.0

What will =VLOOKUP("Banana", A1:B4, 2, FALSE) return?

medium
A. Banana
B. 0.75
C. 1.5
D. 2.0

Solution

  1. Step 1: Locate "Banana" in first column

    Banana is found in cell A3.
  2. Step 2: Return value from second column same row

    The second column in row 3 is B3, which is 0.75.
  3. Final Answer:

    0.75 -> Option B
  4. Quick Check:

    VLOOKUP returns price 0.75 for Banana [OK]
Hint: Find lookup in first column, return from given column index [OK]
Common Mistakes:
  • Returning the lookup value instead of the result column
  • Using approximate match causing wrong results
  • Confusing column index numbers
4.

What is wrong with this formula if you want an exact match lookup?

=VLOOKUP("Orange", A2:B5, 2)

medium
A. Using quotes around Orange
B. Missing the column index parameter
C. Missing the range parameter
D. Missing the FALSE parameter for exact match

Solution

  1. Step 1: Check parameters in formula

    The formula has lookup_value, range, and column index but no match type.
  2. Step 2: Identify default match behavior

    Without FALSE, VLOOKUP uses approximate match (TRUE) by default, which may give wrong results.
  3. Final Answer:

    Missing the FALSE parameter for exact match -> Option D
  4. Quick Check:

    Exact match requires FALSE as last argument [OK]
Hint: Always add FALSE for exact match in VLOOKUP [OK]
Common Mistakes:
  • Assuming exact match is default
  • Forgetting to add FALSE parameter
  • Thinking quotes cause error
5.

You have a product list in A2:C6 with columns: Product, Category, Price.

You want to find the category of "Mango" using VLOOKUP. Which formula correctly returns the category?

hard
A. =VLOOKUP("Mango", A2:C6, 2, FALSE)
B. =VLOOKUP("Mango", B2:C6, 2, FALSE)
C. =VLOOKUP("Mango", A2:C6, 1, FALSE)
D. =VLOOKUP("Mango", A2:C6, 3, FALSE)

Solution

  1. Step 1: Identify the column index for Category

    Columns are: 1=Product, 2=Category, 3=Price. Category is column 2.
  2. Step 2: Check the range and lookup value

    Range A2:C6 includes Product in first column, so lookup works correctly.
  3. Final Answer:

    =VLOOKUP("Mango", A2:C6, 2, FALSE) -> Option A
  4. Quick Check:

    Category is column 2, so col_index=2 [OK]
Hint: Match column index to desired return column in VLOOKUP [OK]
Common Mistakes:
  • Using wrong column index for category
  • Using a range that does not start with lookup column
  • Confusing column numbers with letters
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard