What you will build

Look up prices for multiple SKUs on Orders from a price table on Catalog while entering only one formula in anchor cell C2. The lesson uses fictional data so every step can be reproduced safely.

Learning objective

Use ARRAYFORMULA, IFNA, and VLOOKUP for exact-match lookup across two tabs, understand each parameter, how SKUs are evaluated row by row, and how a missing SKU is handled.

Prepare the sample data

Open the exact source workbook below or make your own copy. Orders contains SKU and Qty; Catalog contains SKU and Price. Keep the source workbook unchanged and practice on your copy.

HANDS-ON PRACTICE

Practice in your own copy

Make your own Google Sheets copy with the same data, formulas, formatting, filter and frozen header. The original remains unchanged.

Make a Google Sheets copy (access required) ↗View original

Sign in to Google. If the original is not publicly shared, download the full workbook and import it into Google Sheets, or paste the example data into your own sheet.

The practical-formulas-10 source workbook in Google Sheets with Orders selected, showing SKU, Qty, and an empty Price column.

Open the exact source workbook in Google Sheets ↗

Work through the example

Step 1: On your copy, open Catalog and confirm the lookup table is A1:B4 with three unique SKUs: P01 = 12, P02 = 35, and P03 = 22.

The _result workbook with Catalog selected, showing the exact SKU and Price table used by VLOOKUP.

Step 2: Open Orders, select C2, and enter the formula below once. The results spill through C2:C4 automatically; do not drag the fill handle or copy the formula down.

Formula to try

In Orders!C2, enter the formula below. Keep C2:C4 clear beforehand so the spill range is not blocked.

=ARRAYFORMULA(IF(A2:A4="","",IFNA(VLOOKUP(A2:A4,Catalog!$A$2:$B$4,2,FALSE),"Check SKU")))
The _result workbook with Orders!C2 selected; the formula bar shows the complete ARRAYFORMULA and the spill results are 35, 12, and 22.

Checkpoint

SKUQtyPrice
P02235
P01312
P03122

Expected result: Price spills through C2:C4 as 35, 12, and 22.

Common mistakes and fixes

If Check SKU appears, confirm the code in Orders exactly matches a SKU in Catalog. FALSE requires exact matching, so a different code or a missing SKU will not be approximately matched.

Independent practice

Temporarily change Orders!A2 from P02 to P99 and confirm C2 displays Check SKU; then restore P02 and confirm C2 returns to 35.

Key takeaways

  • ✓Catalog stores the SKU-to-Price lookup table; Orders uses it to retrieve prices.
  • ✓FALSE makes VLOOKUP require an exact SKU match.
  • ✓IFNA replaces only the not-found case with Check SKU.
  • ✓One ARRAYFORMULA in C2 produces all three results: 35, 12, and 22.
  • ✓Do not drag or copy the formula into C3:C4 because the results already spill.
QUICK CHECK

Check your understanding

Answer four questions about the practice sheet.

1. Why does VLOOKUP use FALSE?
2. Where is the formula entered?
3. What Price should P02 return?
4. What should C2 display if P02 is changed to P99?

Continue learning

Previous lesson: Compare two lists.