Dashboard Mode - Why lookups connect datasets
Dashboard Goal
Understand how lookup formulas connect two datasets to show combined information in one place.
Understand how lookup formulas connect two datasets to show combined information in one place.
| Product ID | Product Name | Category |
|---|---|---|
| 101 | Notebook | Stationery |
| 102 | Pen | Stationery |
| 103 | Water Bottle | Accessories |
| 104 | Backpack | Accessories |
| 105 | Desk Lamp | Electronics |
| Order ID | Product ID | Quantity |
|---|---|---|
| 5001 | 101 | 2 |
| 5002 | 103 | 1 |
| 5003 | 105 | 4 |
| 5004 | 102 | 5 |
| 5005 | 104 | 3 |
=VLOOKUP(B2, $A$2:$C$6, 2, FALSE)=VLOOKUP(B2, $A$2:$C$6, 3, FALSE)=SUMIF(E$2:E$6, "Stationery", C$2:C$6)=COUNTA(A2:A6)=SUM(C2:C6)+----------------------+-----------------------+ | KPI Cards | Order Details | | +------------------+ | +-------------------+ | | | Total Orders | | | Order ID | Product | | | | Total Quantity | | | Product ID | Name | | | +------------------+ | | Quantity | | | | | +-------------------+ | +----------------------+-----------------------+ | Category Sales Summary (Table) | | +--------------------------------------------+ | | | Category | Total Quantity Sold | | | +--------------------------------------------+ | +------------------------------------------------+
Add a filter dropdown for Category. When you select a category, the Order Details Table and Category Sales Summary update to show only orders and totals for that category. The KPI cards update to reflect counts and sums for the filtered data.
If you add a filter to show only Accessories category, which orders appear in the Order Details Table? What is the total quantity sold for Accessories?
VLOOKUP in Google Sheets?VLOOKUP in Google Sheets?=VLOOKUP(search_key, range, index, [is_sorted]) matches this order exactly.A2:B5 where column A has product IDs and column B has prices:A2: 101 B2: 5.00 A3: 102 B3: 7.50 A4: 103 B4: 6.25 A5: 104 B5: 8.00
D2 contains 102, what will the formula =VLOOKUP(D2, A2:B5, 2, FALSE) return?=VLOOKUP(A2, B2:C10, 3, FALSE) but it returns an error. What is the most likely reason?A2:B6), and another with employee IDs and sales numbers (D2:E6). How can you create a new column next to the names that shows each employee's sales using VLOOKUP?=VLOOKUP(A2, D2:E6, 2, FALSE) looks up ID in D2:E6 and returns sales from column 2.Pass the test and this pattern moves unknown