Formula Errors

Fix VLOOKUP in Excel Online and Use Lookup Alternatives

Jason MillerJason Miller Nov 14, 2026 870 views

Question details

The user needs to troubleshoot a VLOOKUP formula in Excel Online or use an alternative for a cross-sheet lookup.

Fix VLOOKUP in Excel Online and Use Lookup Alternatives
Product
Microsoft Excel Online
Device & OS
not provided
Scenario
Looking up a value in a range on another worksheet and returning a matching result.
Observed behavior
VLOOKUP may fail when the formula, sheet reference, lookup range, match type, or data format is incorrect.
Before you start

Open the workbook in Excel for the web and identify the lookup value, source sheet, and column containing the result. Check the formula in the formula bar so you can compare its references with the actual worksheet names and data.

Solution 1Recommended

Check the VLOOKUP Formula and Source Data

Use these checks when VLOOKUP returns an error or an unexpected result in Excel Online.

1
Review the formula

Select the result cell and inspect the formula bar. For a value in A2, use =VLOOKUP(A2,Sheet2!A:B,2,FALSE) to find an exact match in Sheet2 column A and return the value from column B.

2
Check the sheet and range

Open the source sheet and confirm that its name and columns match the formula. If the sheet name contains spaces, put it in single quotes, as in =VLOOKUP(A2,'Sales Data'!A:B,2,FALSE).

3
Verify the lookup columns

Check the source range: VLOOKUP searches its first column, and the column index must point to a column within that range. In A:B, an index of 2 returns a value from column B.

4
Compare the values

Select the lookup cell and matching source cells to check for differences such as numbers stored as text or extra spaces. Correct the values or their data types, then recalculate the formula.

5
Check the match type

In the formula bar, use FALSE as the fourth argument when you need an exact match. An #N/A result can mean that no exact match was found.

Check the VLOOKUP Formula and Source Data
Formula separators: Depending on your regional settings, Excel may require semicolons instead of commas between formula arguments.
Free Microsoft Office alternative

Work With Lookup Formulas in WPS Spreadsheet

WPS Office is a free, lightweight Office alternative with a familiar interface. Open compatible Excel workbooks in WPS Spreadsheet to work with lookup formulas and move between office suites.

Work with VLOOKUP and INDEX/MATCH formulas in spreadsheetsOpen and save compatible Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for an easier transition from ExcelGet a free, lightweight office suite for everyday documents
microsoft office alternative - wps office

Frequently Asked Questions

Does Excel Online support VLOOKUP?

Yes. Enter a VLOOKUP formula in a worksheet cell or the formula bar. If it fails, check the sheet name, lookup range, column index, match type, and source values.

Why does my VLOOKUP return #N/A?

With FALSE as the fourth argument, #N/A can mean Excel did not find an exact match. Compare the lookup cell with the first column of the source range for extra spaces or numbers stored as text.

How do I reference a sheet with spaces in its name?

Enclose the sheet name in single quotes in the formula, for example: =VLOOKUP(A2,'Sales Data'!A:B,2,FALSE).

Can VLOOKUP return a value from a column to the left?

VLOOKUP searches the first column of its selected range and returns from a column to its right. Use INDEX and MATCH or, if available, XLOOKUP to return a value from a column to the left.