How-to · Google Sheets for Mac
How to use VLOOKUP in Google Sheets on Mac: a browser walkthrough with fixes
In a cell in Google Sheets on a Mac, type =VLOOKUP, then the value to find, the range, the column number, and FALSE. The formula searches the first column of the range, returns the value from the column you name, and shows #N/A when nothing matches.
Quick answer
- Type =VLOOKUP(search key, range, column number, FALSE) in the cell where the answer should appear.
- The lookup value must sit in the first column of the range. VLOOKUP never looks to the left.
- Press Fn+F4 to lock the range with dollar signs, then fill the formula down with ⌘D.
- If you see #N/A, no match was found. Check for extra spaces and numbers stored as text.
What you need
- A Mac with Chrome or Safari, and a Google account with edit access to the sheet
- Lookup data in columns, with the lookup values in the first column of the range
- A plan for duplicate codes, since VLOOKUP only returns the first match
How to Use VLOOKUP in Google Sheets on a Mac in Google Sheets on a Mac
Open your data in Chrome or Safari
Open the spreadsheet in Chrome or Safari on your Mac. Put the lookup codes in one sheet and the table to search in another. Confirm that the codes sit in the first column of the range.
Click the result cell and open the function
Click the cell where the answer should appear. You can type =VLOOKUP and an opening bracket, or use the menu path shown here.
Tip: That menu path comes from a third-party guide, not Google's help pages. Match the labels you see on your screen.
Type the search key
Type the cell that holds the code to find, such as A2, then a comma. Use a cell reference, not a typed value, so the formula can copy down.
Tip: A cell reference lets the formula change with each row.
Select the range on the other sheet
F2 or CtrlE
Type Prices!A2:C5, or click the Prices sheet and drag across the table. Then type a comma. The first column of this range holds the codes.
Tip: F2 or Ctrl+E turns on range selection while you write a formula, so you can click cells on another sheet.
Enter the column number
Count the columns in the range, starting at 1 for the lookup column. In Prices!A2:C5, the product name sits in column 2. Type 2, then a comma.
Tip: If the result comes from the wrong column, recount. The number is relative to the range, not to the sheet.
Type FALSE and press Return
Return
Type FALSE, close the bracket, and press Return. FALSE asks for an exact match, which Google recommends. The cell now shows the matching name.
Tip: Leave out FALSE and Sheets uses TRUE, which can return a close but wrong row without warning.
Lock the range with dollar signs
FnF4
Click inside Prices!A2:C5 in the formula. Press Fn+F4 until the range reads Prices!$A$2:$C$5. Leave A2 without dollar signs so it moves with each row.
Tip: The top row on a Mac keyboard may need Fn. If nothing happens, hold Fn and press F4 again.
Fill the formula down the column
⌘D
Select cell B2 and the cells below it, down to the last product code. Press ⌘D to fill the formula down. Each row now looks up its own code.
Tip: Check the last row first. If it shows #N/A, that code is missing from the product list.
Wrap the formula to handle gaps
If some codes will not be in the list, wrap the formula in IFNA with a message such as Not found. Google's help page suggests IFNA for this case.
Tip: IFNA changes how the gap looks. It does not find the missing code.
What VLOOKUP does in Google Sheets
VLOOKUP does one job. You give it a value, and it finds that value in a list. Then it returns a related value from the same row. Think of a product code on one sheet and the product name you want on another.
The function searches the first column of the range you select. It moves down the rows until it finds a match. Then it returns the value from the column number you chose. Google's help page says VLOOKUP only returns the first match, so duplicates matter.
Google's help page lists the syntax as VLOOKUP(search_key, range, index, is_sorted). The table below explains each part in plain words.
| Argument | What it means | Value in this guide |
|---|---|---|
| search_key | The value to find, usually a cell such as A2 | A2 |
| range | The block to search. Its first column holds the lookup values | Prices!A2:C5 |
| index | Which column of the range to return. The first column is 1 | 2 |
| is_sorted | FALSE for an exact match, which Google recommends. TRUE if you leave it out | FALSE |
Set up your data before you type
Your lookup column must be the first column of the range. VLOOKUP never looks left. If product codes sit in column C and names sit in column A, the formula cannot find the codes. Move the column first, or use a different formula.
Keep the data clean. Google's help page says wildcards need an exact match, and it advises trimming extra spaces. It also says to store numbers and dates as numbers, not text. A code stored as text will not match the same code stored as a number.
For this guide, the product list sits on a sheet named Prices. Column A holds the product code, column B holds the product name, and column C holds the supplier. The Orders sheet has product codes in column A.

A worked example you can copy
On the Orders sheet, put a product code in cell A2. Then click cell B2 and type this formula:
=VLOOKUP(A2, Prices!A2:C5, 2, FALSE)
Read it in plain words. Take the code in A2. Find it in the first column of Prices, from row 2 to row 5. Return the value from the second column of that range, using an exact match.
Google's own example works the same way. The help page shows =VLOOKUP("Orange", B4:D8, 3, FALSE) returning $1.01 from its sample table. Your numbers will differ, but the logic is the same.
When B2 shows the right name, the formula works. The next sections make it safe to copy down the column.
Why FALSE matters for exact matches
The fourth argument controls how the search works. FALSE means exact match, and Google's help page recommends it. If you leave the argument out, Sheets uses TRUE. TRUE expects the lookup column sorted in ascending order.
A sorted search can return a wrong answer with no error. It stops on a row that looks close enough. That is the mistake that hurts most, because the result looks normal. Type FALSE every time unless you have a clear reason not to.
Lock the range so the formula copies correctly
Copy the formula down and the range moves with it. Row 3 would search Prices!A3:C6, and the match would miss. Lock the range with dollar signs so it stays fixed.
The formula becomes =VLOOKUP(A2, Prices!$A$2:$C$5, 2, FALSE). The search key A2 stays relative, so it moves down one row at a time.
On a Mac, click inside the range in the formula and press Fn+F4. Each press cycles the dollar signs. Then select B2 and the cells below it, and press ⌘D to fill down.
When you cannot find the menu item
You can insert the function from the menu. Click the result cell, then choose Insert > Function > Lookup > VLOOKUP. The Google help pages I checked do not show this exact path, so treat it as a guide, not a guarantee.
Menu labels change between Sheets updates. If you cannot find the item, press Option+/ to open the Tool finder. Type VLOOKUP, then pick the function from the results.
Keyboard shortcuts for VLOOKUP on Mac
Google lists these shortcuts for Sheets on a Mac. Some keys need the Fn key, because the top row of a Mac keyboard controls brightness and volume by default.
Google's list shows Show all formulas as Ctrl+~ on Mac. That is unusual, so press it once on your own keyboard before you rely on it.
Fix the #N/A error in VLOOKUP
The most common result is #N/A. It means the formula found no match. Google's help page says so, and it suggests wrapping the formula in IFNA.
This version shows a readable message instead: =IFNA(VLOOKUP(A2, Prices!$A$2:$C$5, 2, FALSE), "Not found"). The lookup still fails. The message just makes the gaps easy to spot.

Mistakes that give wrong answers without errors
- Missing FALSE. Sheets assumes TRUE, and the formula may return a close but wrong row.
- Extra spaces. A code with a trailing space will not match the same code without one. Trim the search key or clean the column.
- Numbers stored as text. Numbers that sit left-aligned in a cell are often text. Convert them before you search.
- Duplicate codes. VLOOKUP only returns the first match. A second row with the same code never appears.
- Wildcards without FALSE. Google's help page says wildcards need an exact match. Keep FALSE if you use * or ?.
- Ranges that shift. A range without dollar signs moves when you copy, and the lookup reads the wrong rows.
Duplicates are the hardest mistake to spot, because nothing looks broken. Check the lookup column for repeats first. Then read how to remove duplicate rows in Google Sheets on Mac before you trust the results.
Test the formula before you copy it
Pick three codes whose answers you already know. Type them into the search cells and check each result by eye. If all three match, you can copy the formula down with confidence.
If one fails, check the spacing first. Then check whether the code is text or a number. Only after that should you look at FALSE, the range, or the column number.

When VLOOKUP is the wrong tool
VLOOKUP cannot look left, and it returns only one match. If you need the value on the left, or every match, you need a different formula. Google's product page says Gemini in Sheets can write and explain formulas, and help fix formula errors.
Gemini is a useful second opinion. Ask it to explain your error, then check any formula it suggests against your own sheet before you paste it in.
Where to go next
Sort the lookup table if you use TRUE. Freeze the top row so headers stay visible when the table is long. Read how to sort data by column in Google Sheets on Mac and how to freeze the top row in Google Sheets on Mac.
If your data comes from a file, read how to import a CSV file in Google Sheets on Mac. The formula steps here stay the same once the data is in.
Lazur runs on macOS, on both Apple silicon and Intel Macs. Hold ⌥ ⌘ and ask where the Insert menu is, and Lazur circles it. Pricing starts with a free trial that needs no credit card, see pricing.
Google Sheets shortcuts for this on Mac
| To do this | Press |
|---|---|
| Fill down | ⌘D |
| Paste values only | ⌘⇧V |
| Toggle absolute and relative references | FnF4 |
| Toggle range selection in a formula | F2 or CtrlE |
| Toggle formula result previews | FnF9 |
| Show formula help | ShiftFnF1 |
| Resize the formula bar | CtrlOption↑ or ↓ |
| Open Tool finder | Option/ |
| Show all formulas (check on your keyboard) | Ctrl~ |
If it does not work
- The cell shows #N/A
- No match was found. Check the search key against the first column of the range. Look for extra spaces and numbers stored as text. If gaps are expected, wrap the formula in IFNA.
- The result comes from the wrong row
- Check that FALSE is the fourth argument. Without it, Sheets assumes TRUE and may stop on a close match. Then check for duplicate codes.
- The result comes from the wrong column
- Recount the index from the first column of the range. The first column is 1, whatever letter it has on the sheet.
- The formula changes when I copy it down
- Add dollar signs to the range, for example Prices!$A$2:$C$5. Press Fn+F4 on the reference to cycle the signs, then fill down with ⌘D.
- The formula appears as plain text
- The formula did not start with an equals sign. Click the cell, type = at the start, and press Return again.
- The lookup value sits to the right of the answer
- VLOOKUP cannot look left. Move the lookup column to the front of the range, or use a different formula.
Faster with Lazur
Do it faster: ask Lazur while you are in Google Sheets
Hold ⌥ ⌘ and say what you want. Lazur sees your Google Sheets window. Lazur guides you one click at a time and waits for each click.
- 1
Hold ⌥⌘ and talk
- 2
Lazur guides you one click at a time and waits for each click.
- 3
You stay in Google Sheets. Nothing to copy into a chat window.
Free for 3 days, then $18/month. Download for Mac
You say“Walk me through VLOOKUP, one click at a time.”
Lazur · walks you through itLazur guides you one click at a time. It waits for each click, and circles the next menu or button you need.
Questions people ask
Do I use VLOOKUP in an app or a browser on a Mac?
On a Mac you open Google Sheets in a browser, such as Chrome or Safari. The formula and the steps on this page stay the same in either browser.
What does FALSE mean in a VLOOKUP formula?
FALSE tells VLOOKUP to look for an exact match, and Google's help page recommends it. If you leave the argument out, Sheets uses TRUE, which expects the lookup column sorted in ascending order.
Why does my VLOOKUP show #N/A?
#N/A means no match was found. Check for extra spaces, numbers stored as text, and a missing FALSE. If a gap is expected, wrap the formula in IFNA so the cell shows a message instead.
Can VLOOKUP look to the left?
No. The lookup value must sit in the first column of the range. If your key is on the right, move the column or use a different formula.
Does VLOOKUP return every match?
No. VLOOKUP only returns the first match. If a code appears twice, the second row is ignored, so check for duplicates first.
How do I copy a VLOOKUP formula down a column on Mac?
Lock the table range with dollar signs. Press Fn+F4 on a reference to cycle the signs. Select the formula cell and the cells below it, then press ⌘D to fill down.
Can Lazur write the VLOOKUP for me?
Lazur can explain the formula out loud and point at menus while you work. It guides you one click at a time. It does not click buttons or operate Sheets for you, so you still type and press the keys.
What should I do if VLOOKUP returns the wrong column?
Recount the index from the first column of the range, not from column A of the sheet. The first column of your range is 1, whatever its letter. Then check that FALSE is the fourth argument.
Sources
- VLOOKUP - Google Docs Editors Help · Google · checked 2026-11-07
- Keyboard shortcuts - Google Docs Editors Help · Google · checked 2026-11-07
- Google Sheets - Google Workspace · Google · checked 2026-11-07
Try Lazur free for 3 days
Hold a key and ask. Lazur sees your screen, points at the button and talks you through it, in any Mac app. No credit card.