I keep getting a return of NA when trying to accomplish the following: formula:
=vlookup(left(Q2,3),A2:C20,3,false)
Definitions:
Q2
is a cell that is populated from a formula. Its calculated value is 111-0021-12345
Column A is a part list which includes the value 111
Column C is a list that associates the column A numbers to supplier names.
If I just manually enter 111
in any cell and use that cell as my "lookup value" the formula returns the correct supplier name. But, when the "Lookup Value" is from a cell that is populated from a formula I get #NA
. The lookup value cell IS being populated correctly.
Is there a way to overcome this problem? I am using Windows 7 and Excel 2010.