Lookup based 2 criteria

CakzPrimz

Board Regular
Joined
Oct 6, 2017
Messages
57
Dear Folks,

I need to lookup of a quantity plan value based on a Date and Area.
I have 5 columns from B to F

B = Date (is duplicate)
C = Area (is duplicate)
D = Scope of Work
E = Actual
F = Plan

H1 = Date - criteria 1
H2 = Area - criteria 2
H3 = Result

In H3, should be a formula to lookup based on H1 value and H2 value as criteria

Hope somebody could help me.
Thanks in advance.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
You didn't say what you wanted to return when you found the two match fields. Oh, you said PLAN which is F column

Try this (change accordingly if you want another column) using CTRL+Shift+Enter (array formula):

Code:
=INDEX(F2:F7,MATCH(1,(H1=B2:B7)*(H2=C2:C7),0))
 
Last edited:
Upvote 0
Given that you mention duplicates, it is unclear from your post if you want all of the results that meet both criteria listed out individually, or just a sum of those results.
Perhaps
Code:
=SUMIFS(F:F,B:B,H1,C:C,H2)
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,212
Members
452,618
Latest member
Tam84

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