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

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
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,223,981
Messages
6,175,767
Members
452,668
Latest member
mrider123

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