Fix #REF!: the freight lookup points at a deleted sheet
Diagnose before you fix
#REF! even though the zone table is visible on the sheet. VLOOKUP names a sheet that was deleted, so the range it points at no longer exists. The problem
Problem statement
The freight cost in Freight cost cell F2 shows #REF! instead of a number. The zone table is right there in A2:C6 — a copy of the rates sheet that was deleted this morning. Diagnose the dead reference and aim the formula at the copy that survived.
Repair the formula only — the deleted sheet cannot be restored.
Problem data
Show the sheet as a table (selectable, copyable)
| A | B | C | E | F | |
|---|---|---|---|---|---|
| 1 | Zone | Region | Cost per shipment | Zone | Freight cost |
| 2 | N-1 | North | 45 | S-1 | |
| 3 | S-1 | South | 58 | ||
| 4 | E-1 | East | 62 | ||
| 5 | W-1 | West | 71 | ||
| 6 | C-1 | Central | 54 |
Notes
#REF! means a formula points at a range that no longer exists. This VLOOKUP still names Rates!$A$2:$C$6, a sheet that was deleted after the report was built, so the second argument is dead and the lookup never runs. The same table was pasted into A2:C6 of this sheet; aiming the range there revives the formula. The 3 in the third argument counts columns inside the new range: Zone → Region → Cost.
How to approach
Your answer goes in F2. On submit we re-run your formula against 3 different sets of input, so a hardcoded number will fail — the formula has to follow the cells.
- Target cell is F2 — the current formula returns
#REF! - A deleted reference means the range argument no longer exists
- The zone table survived on this sheet, even if the sheet the formula names did not
- Shape:
=VLOOKUP(E2, ?, 3, FALSE)
Official solutions
Show 2 solutions — try it yourself first
Approach 1: locked local range
=VLOOKUP(E2,$A$2:$C$6,3,FALSE)
The pasted copy covers A2:C6 on this sheet. Pointing the second argument at it revives the lookup; $ keeps the range fixed if the formula is copied down.
Approach 2: relative range
=VLOOKUP(E2,A2:C6,3,FALSE)
The same repair without $. Fine for a single cell; add the locks once you fill the formula down.
Function guide
FAQ
What does #REF! mean?
A reference in the formula points at something that no longer exists — a deleted column, row, sheet or range. The formula is structurally valid, but its target is gone.
Why not bring the deleted sheet back?
Sometimes you cannot: the sheet was deleted in a shared file and nobody kept a copy of its original layout. Re-aiming the range at the surviving table is the portable fix, and it is what this exercise asks for.