Ok, I have some code written that uses vlookup. Now, I am having a type conversion problem. To take care of text to numbers, I have:
=VLOOKUP(--A1, data, 2, false)
But I also have text in my "data" and using this VLOOKUP gives the error:
#VALUE!
Now, if I switch back to
=VLOOKUP(A1, ...
I get the #NA error in the cells that need to lookup a number and the correct values in the cells that lookup text.
I have numbers and text sprawled throughout the column A in the workbook. So, I can't run one down so many rows and then run the other.
Any help would be greatly appreciated
=VLOOKUP(--A1, data, 2, false)
But I also have text in my "data" and using this VLOOKUP gives the error:
#VALUE!
Now, if I switch back to
=VLOOKUP(A1, ...
I get the #NA error in the cells that need to lookup a number and the correct values in the cells that lookup text.
I have numbers and text sprawled throughout the column A in the workbook. So, I can't run one down so many rows and then run the other.
Any help would be greatly appreciated