vlookup in two paired columns

bulletproof

New Member
Joined
Jun 22, 2011
Messages
26
hi, me again.

please help...


Code:
  Column A | Column B | Column C | Column D | Column E
1 1a2b3c   | smith, jon| 2d3f4g    | cruz, tom |
2 2w3e4r   | tan, jim  | 5t6y7u   | wong, kim  |
3 2d3f4g   | cruz, tom | 7j8k9l    | lim, suzy |
4 4c5v6b   | dylan, bob| 1a2b3c   | smith, jon |
sorry for the presentation, can't download the tool to post an
image since im in the ofc and no priviledge to install add ins.

Im trying to see which ones from column C + D are in
columns A + B.

column A is the ID of the person name in column B.
column C is the ID of the person name in cloumn D.
so on, so forth...

im trying to figure out a lookup formula to find the values in
column C + D in column A + B, then show the result in column E.

the result should be the ID + name.

I'm not too literate in excel...
not quite sure if this is even possible.

thanks!
 
Last edited:

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Try...

E1, control+shift+enter, not just enter, and copy down:

=INDEX($A$1:$A$4&" | "&$B$1:$B$4,MATCH(1,IF($A$1:$A$4=C1,IF($B41:$B$4=D1,1)),0))
 
Upvote 0
sorry sir, here's what i did:

i went to cell E1, then ctrl+shift+enter..
how do I put in
=INDEX($A$1:$A$4&" | "&$B$1:$B$4,MATCH(1,IF($A$1:$A$4=C1,IF($B41:$B$4=D1,1)),0))

i feel so dumb...
 
Upvote 0
sorry sir, here's what i did:

i went to cell E1, then ctrl+shift+enter..
how do I put in
=INDEX($A$1:$A$4&" | "&$B$1:$B$4,MATCH(1,IF($A$1:$A$4=C1,IF($B41:$B$4=D1,1)),0))

i feel so dumb...

Type in E1 then hit the control+shift+enter keys at the same time:

=INDEX($A$1:$A$4&" | "&$B$1:$B$4,MATCH(1,IF($A$1:$A$4=C1,IF($B$1:$B$4=D1,1)),0))
 
Upvote 0
finally got it sir, sorry for being a dumb-a$$ :D
thank you.

can i drag those formula or how do I copy it
to function as the same to the entire list?
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,827
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top