Apr 21 2021 06:31 AM
Hi - I have a vendor spendsheet on Sheet1. On Sheet1 I have just the vendor number but would like the vendor name as well - taken from Sheet2. I have very basic Vlookup skills and its just returning #na in column B on sheet1.
Apr 21 2021 06:46 AM
Solution@helsbrooks1981 The vendor number on Sheet1 are in fact texts, whereas they are real numbers on Sheet. On top of that, you switched some of the arguments in the VLOOKUP formula.
Fixed that in the attached file. See if this is what you expect.
Apr 21 2021 06:53 AM - edited Apr 21 2021 06:54 AM
Apr 21 2021 06:53 AM - edited Apr 21 2021 06:54 AM
Or if you don't want to change the data type of the column A on Sheet1 for some reason, you may simply try the following formula....
On Sheet1
In B2
=VLOOKUP(A2+0,Sheet2!A:B,2,0)
and then copy it down.
Apr 21 2021 06:46 AM
Solution@helsbrooks1981 The vendor number on Sheet1 are in fact texts, whereas they are real numbers on Sheet. On top of that, you switched some of the arguments in the VLOOKUP formula.
Fixed that in the attached file. See if this is what you expect.