Bird
Raised Fist0
Excelspreadsheet~15 mins

Why lookups connect related data in Excel - Business Case Study

Choose your learning style10 modes available
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants a report that shows each sales order with the customer's name and region included.
📊 Data: You have two tables: one with sales orders including Order ID, Customer ID, and Sales Amount; another with customer details including Customer ID, Customer Name, and Region.
🎯 Deliverable: Create a combined table that shows Order ID, Customer Name, Region, and Sales Amount for each order.
Progress0 / 5 steps
Sample Data
Order IDCustomer IDSales Amount
1001C001250
1002C002450
1003C003300
1004C001150
1005C004500

Customer IDCustomer NameRegion
C001AliceNorth
C002BobSouth
C003CharlieEast
C004DianaWest
1
Step 1: Create a new table with columns: Order ID, Customer Name, Region, Sales Amount.
Set up headers in cells E1:H1 as 'Order ID', 'Customer Name', 'Region', 'Sales Amount'.
Expected Result
Headers appear in E1:H1.
2
Step 2: Copy Order ID from the sales orders table to the new table.
In cell E2, enter =A2 and drag down to E6.
Expected Result
Order IDs 1001, 1002, 1003, 1004, 1005 appear in E2:E6.
3
Step 3: Use VLOOKUP to find Customer Name for each order using Customer ID.
In F2, enter =VLOOKUP(B2,$F$10:$H$13,2,FALSE) and drag down to F6.
Expected Result
Customer names Alice, Bob, Charlie, Alice, Diana appear in F2:F6.
4
Step 4: Use VLOOKUP to find Region for each order using Customer ID.
In G2, enter =VLOOKUP(B2,$F$10:$H$13,3,FALSE) and drag down to G6.
Expected Result
Regions North, South, East, North, West appear in G2:G6.
5
Step 5: Copy Sales Amount from the sales orders table to the new table.
In H2, enter =C2 and drag down to H6.
Expected Result
Sales amounts 250, 450, 300, 150, 500 appear in H2:H6.
Final Result
Order ID | Customer Name | Region | Sales Amount
----------------------------------------------
1001     | Alice         | North  | 250
1002     | Bob           | South  | 450
1003     | Charlie       | East   | 300
1004     | Alice         | North  | 150
1005     | Diana         | West   | 500
✓VLOOKUP connects sales orders to customer details by matching Customer ID.
✓This combined table helps see who bought what and from which region.
✓Lookups make it easy to join related data from different tables.
Bonus Challenge

Create a total sales amount by region summary using SUMIF.

Show Hint
Use =SUMIF(range_of_regions, region_name, range_of_sales_amounts) to sum sales per region.

Practice

(1/5)
1. What is the main purpose of using a lookup function like VLOOKUP in Excel?
easy
A. To format cells with colors
B. To create charts and graphs automatically
C. To sort data alphabetically
D. To find and connect related data from different tables or lists

Solution

  1. Step 1: Understand what lookup functions do

    Lookup functions like VLOOKUP search for a value in one table and return related data from another table.
  2. Step 2: Identify the purpose of VLOOKUP

    VLOOKUP connects related data by matching values, making it easier to combine information from different places.
  3. Final Answer:

    To find and connect related data from different tables or lists -> Option D
  4. Quick Check:

    Lookup connects data = A [OK]
Hint: Lookups match values to connect data quickly [OK]
Common Mistakes:
  • Thinking VLOOKUP creates charts
  • Confusing lookup with sorting
  • Assuming lookup changes cell colors
2. Which of the following is the correct syntax for a basic VLOOKUP formula to find a value in column 2 of a table located in A1:C10?
easy
A. =VLOOKUP(lookup_value, A1:C10, 2, FALSE)
B. =VLOOKUP(A1:C10, lookup_value, 2, TRUE)
C. =VLOOKUP(2, lookup_value, A1:C10, FALSE)
D. =VLOOKUP(lookup_value, 2, A1:C10, TRUE)

Solution

  1. Step 1: Recall VLOOKUP syntax

    The correct syntax is VLOOKUP(lookup_value, table_array, col_index_num, range_lookup).
  2. Step 2: Match syntax to options

    =VLOOKUP(lookup_value, A1:C10, 2, FALSE) correctly places lookup_value first, then the table range, column number 2, and FALSE for exact match.
  3. Final Answer:

    =VLOOKUP(lookup_value, A1:C10, 2, FALSE) -> Option A
  4. Quick Check:

    Correct VLOOKUP syntax = C [OK]
Hint: Remember VLOOKUP order: value, table, column, exact match [OK]
Common Mistakes:
  • Swapping lookup_value and table range
  • Using TRUE instead of FALSE for exact match
  • Putting column number in wrong place
3. Given the table below in cells A2:B5:

Name | Score
John | 85
Mary | 90
Alex | 78
Sara | 92


What will be the result of the formula =VLOOKUP("Mary", A2:B5, 2, FALSE)?
medium
A. 90
B. Mary
C. 85
D. #N/A

Solution

  1. Step 1: Locate the lookup value in the table

    The formula looks for "Mary" in the first column (A2:A5). Mary is found in A3.
  2. Step 2: Return the value from the 2nd column in the same row

    The 2nd column value in row 3 is 90, so the formula returns 90.
  3. Final Answer:

    90 -> Option A
  4. Quick Check:

    Mary's score = 90 [OK]
Hint: VLOOKUP returns value from specified column in matched row [OK]
Common Mistakes:
  • Returning the lookup value instead of related data
  • Using wrong column number
  • Getting #N/A by using approximate match
4. You wrote the formula =VLOOKUP(B2, A2:C10, 3, TRUE) but it returns incorrect data. What is the most likely problem?
medium
A. The column index number 3 is too large
B. The lookup table is not sorted, causing approximate match errors
C. The lookup value is missing from B2
D. The formula should use FALSE instead of TRUE for exact match

Solution

  1. Step 1: Understand the effect of TRUE in VLOOKUP

    TRUE means approximate match, which requires the first column of the table to be sorted ascending.
  2. Step 2: Identify common cause of wrong results

    If the table is unsorted, approximate match can return wrong or unexpected data.
  3. Final Answer:

    The lookup table is not sorted, causing approximate match errors -> Option B
  4. Quick Check:

    Approximate match needs sorted table = B [OK]
Hint: Use FALSE for exact match to avoid sorting issues [OK]
Common Mistakes:
  • Assuming TRUE always works without sorting
  • Ignoring the need for sorted data with approximate match
  • Confusing column index errors with match type
5. You have two tables: one with product IDs and names, and another with product IDs and prices. How can you use VLOOKUP to create a list showing product names with their prices?
hard
A. Use VLOOKUP to sum prices for each product
B. Use VLOOKUP to find product names by matching prices
C. Use VLOOKUP to find prices by matching product IDs in the price table
D. Use VLOOKUP to sort product names alphabetically

Solution

  1. Step 1: Identify the common key between tables

    Product IDs appear in both tables and can be used to connect names and prices.
  2. Step 2: Use VLOOKUP with product ID to get prices

    Apply VLOOKUP on the product ID from the name table to find matching prices in the price table.
  3. Final Answer:

    Use VLOOKUP to find prices by matching product IDs in the price table -> Option C
  4. Quick Check:

    Lookup by product ID connects names and prices = D [OK]
Hint: Match on product ID to combine related data [OK]
Common Mistakes:
  • Trying to lookup prices by name instead of ID
  • Using VLOOKUP to sort or sum data incorrectly
  • Ignoring the need for a common key to connect tables
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