Vlookup help

ubaps

New Member
Joined
Jan 25, 2017
Messages
8
Hello All,

I'm trying to work on a formula regarding vlookup.

there are basically 3 column.

Column A's data corresponds to the data in column B. (basically, they are partners)

I need to find (using vlookup) the values from Column C that are in Column A together with Column B.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A
[/TD]
[TD]Column B
[/TD]
[TD]Column C
[/TD]
[/TR]
[TR]
[TD]Apple
[/TD]
[TD]3
[/TD]
[TD]Orange
[/TD]
[/TR]
[TR]
[TD]Orange
[/TD]
[TD]5
[/TD]
[TD]Banana
[/TD]
[/TR]
[TR]
[TD]Banana
[/TD]
[TD]3
[/TD]
[TD]Apple
[/TD]
[/TR]
</tbody>[/TABLE]

The the formula should be:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A
[/TD]
[TD]Column B
[/TD]
[TD]Column C
[/TD]
[TD]OUTPUT
[/TD]
[TD]OUTPUT
[/TD]
[/TR]
[TR]
[TD]Apple
[/TD]
[TD]3
[/TD]
[TD]Orange
[/TD]
[TD]Orange
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Orange
[/TD]
[TD]5
[/TD]
[TD]Banana
[/TD]
[TD]Banana
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Banana
[/TD]
[TD]3
[/TD]
[TD]Apple
[/TD]
[TD]Apple
[/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]

Apologies for my bad explanation in English.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Column "D":

Code:
=VLOOKUP(A2,$A$2:$C$4,3,FALSE)

Column "E":

Code:
=VLOOKUP(D2,$A$2:$B$4,2,FALSE)
 
Upvote 0
Worked like a charm, I was thinking of compressing into 1 long formula. Thanks Beyond_avarice.
 
Upvote 0

Forum statistics

Threads
1,225,747
Messages
6,186,792
Members
453,371
Latest member
HMX180

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