[Excel] Text Search with VLOOKUP
Solved
Mafia06
-
P-A -
P-A -
Hello,
I would like my VLOOKUP formula to search for text instead of a value, is that possible?
I would like my VLOOKUP formula to search for text instead of a value, is that possible?
2 answers
-
Hello
The sought value does exist in the reference table
Probably not if you are getting "#N/A": your data likely contains trailing spaces and you should do an F2 on the cell to see that they are indeed present.
--
Always zen-
Hello,
Thank you for your help.
Actually, the mistake is silly... instead of naming the reference table, it was selected as follows =VLOOKUP(M3, table!A130:B494, 2, FALSE); consequently, when extending the selection, the reference table moved as well!
Conclusion: =VLOOKUP(M3, table!$A$130:$B$494, 2, FALSE). -
-