A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hello Yadav, Aashish
I can see that you are having issue with Excel VLOOKUP
From what you described, this usually happens when Excel does not recognize the lookup value and the source value as the same exact match, even if they appear identical on screen. This can happen because of hidden spaces or characters, text-versus-number formatting differences, a shifting lookup range, or the way the VLOOKUP formula is set up.
Since Q&A assist already provided several troubleshooting methods, I would like to add some troubleshooting method to assist you too:
- Confirm the formula is using
FALSEfor an exact match, and make sure the lookup value is in the first column of the selected lookup range. - Check whether the lookup values are stored as the same data type on both sides (for example, both as real numbers and not one as text).
- Clean the lookup column to remove extra spaces or hidden characters using
TRIMandCLEAN. - Lock the lookup range with absolute references, such as
$A$2:$C$100, so it does not shift when the formula is filled down. - If the return column is to the left of the lookup column, VLOOKUP will not work correctly in that layout. In that case,
XLOOKUPorINDEX/MATCHwould be a better option.
A couple of additional things to watch for: if the formula uses a full-column lookup value such as A:A, Excel can return #SPILL!, and if the lookup value is very long, VLOOKUP can also return #VALUE!.
Feel free reply back to this post if you need further assistance, I'll be happy to help.