vlookup first value based on two criteria without changing column order

jwolf16

New Member
Joined
Feb 13, 2018
Messages
2
Hi There,

I'm having some real trouble with what is the best way to do this:

In column J I want to return the value in column C based upon criteria in B and D.

This is the formula I have been using in J1:

Code:
=(IF(D:D = "filling",VLOOKUP(I4,B:D,2,0),""))


BCDEFGHIJ
b10050fillingfillingb10050
b100100fillingb10050
b10150pre compb101
b101100fillingb10250
b10250fillingb10350
b102100fillingb10450
b10350pre compb105
b103100fillingb10650

<colgroup><col width="64" span="9" style="width:48pt"> </colgroup><tbody>
</tbody>

I have tried using index/match and sumproduct but cannot quite nail it. :( Any help would be much appreciated.

Thanks,
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
See if this works:

=INDEX($C$1:$C$8,MATCH(1,INDEX(($D$1:$D$8=$G$1)*($B$1:$B$8=I1),0),0))
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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