Index Match formula for date range and other criteria

TruffleOil

New Member
Joined
Sep 9, 2022
Messages
18
Office Version
  1. 2016
Platform
  1. Windows
Hi everyone

I have a set of data with different notification dates for several projects (some different projects have the same notification date) and different owners (table in A7 column, as a Source).
My goal is to filter and list all the projects that fall within a certain date range (column D3 and E3), and that belong to a specific owner (column E4, which is a dropdown menu for all owners).

Right now I have a formula that works for the date range criteria, which is show in column G6 and H6:
G6: =IFERROR(INDEX($B$8:$B$11, AGGREGATE(15,6,(ROW($B$8:$B$11)-ROW($B$8)+1)/($B$8:$B$11>=$D$3)/($B$8:$B$11<=$E$3),ROWS($G$6:G6))),"")

H6: =IFERROR(INDEX($A$8:$A$11, AGGREGATE(15,6,(ROW($B$8:$B$11)-ROW($B$8)+1)/($B$8:$B$11>=$D$3)/($B$8:$B$11<=$E$3),ROWS($G$6:H6))),"")

My problem is I don't know how to also add the criteria for owner filter. So, in this case it shows Projects A and C that fall within the April 2022 range. But Project A is owned by John and Project C is owned by Jeff. Now I only want to see the projects owned by John (column E4), so Project A in this case.
Could you please support and advice how to tweak the formula to include the owner criteria?

Thank you in advance!
 

Attachments

  • Excel question.PNG
    Excel question.PNG
    31 KB · Views: 18

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
How about
Excel Formula:
=IFERROR(INDEX($B$8:$B$11, AGGREGATE(15,6,(ROW($B$8:$B$11)-ROW($B$8)+1)/($B$8:$B$11>=$D$3)/($B$8:$B$11<=$E$3)/($C$8:$C$11=$E$4),ROWS($G$6:G6))),"")
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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