Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
When someone says VLOOKUP 'is not working', the formula is either returning an error (#N/A, #VALUE!, #REF!), returning a wrong result, or the cell is displaying the formula text instead of a result. Each symptom has a different root cause and requires a different fix.
=VLOOKUP(A2,$D$2:$F$100,5,0)=VLOOKUP(A2,$D$2:$F$100,2,0)The table range D:F has only 3 columns, so col_index_num 5 caused #REF!. Corrected to 2 to return the second column.
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 VLOOKUP and broken formula at once — or paste this one formula and get the fix explained.
Someone likely inserted or deleted a column inside table_array, shifting all column positions. The col_index_num no longer points to the right column. Audit the source table and update the index, or switch to XLOOKUP/INDEX+MATCH.
No. VLOOKUP can only return values from columns to the right of the search column. To look left, use INDEX/MATCH or XLOOKUP, which have no such restriction.
Yes. XLOOKUP is available in Excel 365 and Google Sheets and handles left-lookups, multiple return columns, and custom not-found values natively. INDEX/MATCH is a universally available alternative with similar flexibility.
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 returns an incorrect value in Excel and Google Sheets — fix wrong column index, approximate match mode, unsorted data, and duplicate lookup keys.
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: