Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
VLOOKUP found a row and returned a value, but it is not the value you expected. This happens when the formula is technically valid but one of its arguments is logically wrong — most often the wrong column index number, or approximate-match mode accidentally matching the wrong row in unsorted data.
=VLOOKUP(A2,$D$2:$G$100,2,TRUE)=VLOOKUP(A2,$D$2:$G$100,3,0)Changed the fourth argument from TRUE (approximate match on potentially unsorted data) to 0 (exact match), and corrected the column index from 2 to 3.
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Stop hunting errors by hand.
Upload your spreadsheet and the Auditor flags every Wrong value and broken formula at once — or paste this one formula and get the fix explained.
You almost certainly have approximate match mode on (TRUE or omitted). On unsorted data, approximate match does a binary search and can land on any row. Set the last argument to 0 or FALSE.
VLOOKUP cannot do this natively. Use INDEX/MATCH with a helper column or, in Excel 365/Google Sheets, use FILTER or XLOOKUP which support returning multiple or last matches.
Switch to XLOOKUP or INDEX/MATCH. Both reference the return column by cell reference rather than a count, so inserting columns into the table does not break the formula.
Look up a value in the first column of a range and return a value from another column in the same row.
How-toPull a value from a different tab with VLOOKUP by prefixing the range with the sheet name. Works in Excel and Google Sheets.
Error fixFix #N/A errors in VLOOKUP in Excel and Google Sheets — covers missing matches, extra spaces, data-type mismatches, and range mistakes.
How-toLook up a value that matches two or more conditions using INDEX/MATCH with joined keys. Works in Excel 365 and Google Sheets.
Error fixVLOOKUP not working in Excel and Google Sheets — diagnose formula errors, wrong syntax, range issues, and when to switch to a better alternative.
How-toVLOOKUP shows #N/A when it can’t find a match. Here are the real causes — exact-match, spaces, text-vs-number — and how to fix each.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: