VLOOKUP

Looking up from another sheet

Spreadsheet in your browser
Lesson concept What you'll do
1 / 8

Look up prices kept on another sheet.

The table range gets the sheet name in front: Prices!$A$2:$C$11. Click the tab while typing.

Typing formulas is easiest on a computer with a keyboard.

A1
ABCDE
1OrderProductQuantityPrice
2#1657Wireless Mouse7
3#1658Bookshelf4
4#1659Filing Cabinet8
5#1666USB-C Hub3
6#1673Desk Organiser9
7#1676Monitor Stand4
8
9
10
11
12
13
14
15
Type to enter a value or a formula starting with =. F2 edits, F4 adds $ to a reference.
Study notes

How VLOOKUP and XLOOKUP works

  • How do I point at another sheet?

    Put the sheet name and an exclamation mark in front of the cells: Prices!A2:C11 means cells A2 to C11 on the Prices sheet. A reference without a sheet name always means the sheet the formula is on.

  • Do I have to type the sheet name?

    No. While typing the formula, click the sheet's tab at the bottom and select the cells. Excel writes Prices!A2:C11 for you. Press Enter to finish, and you're taken back to the sheet you started on.

  • What if the sheet name has spaces?

    Wrap it in single quotes: 'Price List'!A2:C11. Clicking the tab adds the quotes for you.

  • Why lock the range with $?

    Filling down moves the cells, even on another sheet: Prices!A2:C11 becomes Prices!A3:C12 one row down. Prices!$A$2:$C$11 stays put. Press F4 while the cursor is on the range.

  • Does XLOOKUP work the same way?

    Yes. Both arrays need the sheet name: =XLOOKUP(B2,Prices!$A$2:$A$11,Prices!$C$2:$C$11). To bring whole columns across from another file, see how to merge two Excel files on a common column.

Know someone fighting with a spreadsheet? Send them this page.