Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Guru as I am, I have been tasked with solving something, and I can't!

There is a sheet that requires look-up table values in a column.
It is in this format...

Col A - Col B - Vlookup()

The sheet the data for Column Vlookup() is in is in the format...

Col A - Col B - Col C

Column A holds the value I wish to put into the third column of the first sheet.

HOWEVER!

Whilst normally this would be easy, in this case I need to use 2 columns for the look up and the compare.

How?

I have tried Vlookup(A1&B1,[Datatable],1,T) but it doesn't work.
Posted
Updated 5-Oct-10 5:35am
v2
Comments
LittleYellowBird 5-Oct-10 11:37am    
Hehe, spotted spelling mistake and couldn't help myself but correct it! OK it was a typo really... but :)

1 solution

I'm not really understanding why you need to use both columns, but it still comes from one. However, you can always use an unused delimiter to concatenate the two columns and use that as a single lookup. Make sure it is sorted correctly though.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900