vlookup on 2 columns

D

dk

We want to make a vlookup on 2 columns ex;if a :b match with other woorksheet
the contents of c:d shall be updated from second c:d
explanation
a: john b:Doe c;(address) d:(city) the c d shall get filled from other
worksheet only when a:is john & b:is Doe
 
M

Max

Just create a concat helper col & then use that as the new lookup col for
your vlookup, eg insert a new, "leftmost" col A, then place in A2, copy down:
=IF(COUNTA(A2:B2)<2,"",B2&"#"&C2)
(Do likewise for the other sheet)
 
M

Max

Typo, the suggested concat formula should read as:
=IF(COUNTA(B2:C2)<2,"",B2&"#"&C2)
 
D

dk

We have to do this in both workbook?

Max said:
Just create a concat helper col & then use that as the new lookup col for
your vlookup, eg insert a new, "leftmost" col A, then place in A2, copy down:
=IF(COUNTA(A2:B2)<2,"",B2&"#"&C2)
(Do likewise for the other sheet)
 
M

Max

We have to do this in both workbook?

To keep it simple to understand what's happening, Yes. By that I mean you
can then simply vlookup the new concat col A in Sheet1 vs the source in
Sheet2 (with the new concat col A).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top