Skip to main content

VLOOKUP practice: find prices by exact ID

About this lesson
Find & reference8 min·Growing

Practise VLOOKUP in a browser worksheet or game. Fill down exact-match formulas, check changed data and download blank practice sheets with separate answers.

Choose how to practise VLOOKUP

Play the game to identify matching records and build the formula, or open worksheet practice to write it directly. Both modes check your formulas against changed datasets.

  1. Find prices by product ID with an exact match.
  2. Fill down with a fixed source table on a changed catalogue.
  3. Keep the first duplicate, zero prices and typed IDs distinct.

The workbook download contains three blank Practice sheets and separate Answers sheets. In the worksheet, select a dataset to explore each case. Hints and worked formulas remain available below the exercise.

Task requirements

Fill G2:G4 with VLOOKUP formulas that find each ID in F2:F4, return the first exact price and show Not found for an absent ID. Lock the source table before filling down.

Teaching · read-only worksheet · Selected G2

Step 1 / 5Choose the lookup value

Inspect
More

Inspect the highlighted cells. This step has no automatic change to apply. Teaching is read-only; switch to Your turn to edit.

Loading your interactive spreadsheet…

Preparing the worksheet and formulas…

Follow the highlighted cells. Switch to Your turn to edit. Answer cells: G2, G3, G4. Browser calculations may differ from your Excel version.

Apply your first formula, then fill the answer range. Relative references move; $-locked references stay put.

Practice stays on this device. No worksheet data is uploaded.

THE QUICK ANSWER01

VLOOKUP searches the first table column and returns column 3 from the first exact matching row. FALSE requests exact matching; IFNA handles an absent ID. Fill G2:G4 with the table fixed.

ƒx=IFNA(VLOOKUP(F2,$A$2:$C$7,3,FALSE),"Not found")
For the example data
G2 18G3 24G4 Not found

The formula uses the interactive worksheet above. Adjust ranges and criteria for your own data.

UNDERSTAND THE IDEA

How it works

Practise on three datasets

Start with product prices, reuse the formula on a changed catalogue, then compare repeated IDs, a zero price and text 007 versus numeric 7. Each dataset uses the same exact-first lookup policy.

Use VLOOKUP for this task

The ID must be in the first column of the source table, and the return column must be to its right. This task asks for VLOOKUP in every answer cell. XLOOKUP is taught in a separate task.

Define identifier types

Text matching ignores letter case and preserves stored spaces. Numeric 7 and text 007 are different identifiers. This bounded task accepts nonempty text or finite numeric IDs; wildcard characters *, ? and ~ are outside its input rules.

Read the full step-by-step walkthrough
  1. Choose the lookup value

    F2 holds the product ID to find. Let its row move when copying the formula down.

    F2
  2. Select the complete source table

    VLOOKUP searches the first column of A2:C7. Include the Price column and lock both ends of the table before filling down.

    $A$2:$C$7
  3. Count the return column

    Count from the left edge of the selected table: ID is 1, Product is 2 and Price is 3. This is a relative table index, not a worksheet column letter.

    3
  4. Request exact matching

    FALSE requires an exact identifier match. The source IDs need not be sorted. An omitted fourth argument asks a different, approximate question.

    FALSE
  5. Handle missing IDs and fill down

    IFNA supplies Not found only when no ID matches. A real zero price stays numeric zero. Fill G2 down through G4; keep the source table fixed.

    "Not found"
WHEN SOMETHING LOOKS OFF

Things to watch

The result changes after filling down

A relative table such as A2:C7 can move and lose source rows. Lock both ends of the table before copying.

The wrong price is returned

FALSE requests exact matching. The return index is counted from the left edge of the selected table, not from column A of the worksheet.

Zero is replaced with Not found

A matched zero price is a valid number. Handle a missing match with IFNA rather than testing whether the result equals zero.

About this example

Original datasets and formulas. Browser calculation and assessment are checked separately from native Excel and Google Sheets recalculation; native application verification is pending.

Browser: validation in progressExcel: not verifiedGoogle Sheets: not verified

Content version 1. Practice checks compare calculated results across different datasets; they do not certify every possible formula.

Reference material