index match all/nth within date range

H2G2

New Member
Joined
Nov 15, 2023
Messages
3
Office Version
  1. 2010
Platform
  1. Windows
Self-taught Excel user, First-time post: I am trying to use index match to return product serial numbers ($AH$2:$AH$157) based on inspection due dates ($AK$2:$AK$157) (i.e., all products due in 2024). Date array is in dd/mm/yyyy format, with some zeros. Have done SUMPRODUCT for the year 2024 with return of 7, need to know which 7 products are due without sorting as the sheet is source to others.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
I have the following that returns the 1st match:
{=INDEX($AE$2:$AE$157,MATCH(1,(($AK$2:$AK$157<=$AQ$161)*($AK$2:$AK$157>=$AQ$160)),0))} where $AQ$160/$AQ$161 refers to dates 1/1/2024 & 12/31/2024 respectively.
 
Upvote 0
How about
Excel Formula:
=IFERROR(INDEX($AE:$AE,AGGREGATE(15,6,ROW($AE$2:$AE$157)/(($AK$2:$AK$157<=$AQ$161)*($AK$2:$AK$157>=$AQ$160)),ROWS(A$2:A2))),"")
 
Upvote 0
Solution
How about
Excel Formula:
=IFERROR(INDEX($AE:$AE,AGGREGATE(15,6,ROW($AE$2:$AE$157)/(($AK$2:$AK$157<=$AQ$161)*($AK$2:$AK$157>=$AQ$160)),ROWS(A$2:A2))),"")
That did it! Thanks. Working in MS 2010 -vs- 365 is a challenge (reverse engineering formulas).
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,067
Members
449,090
Latest member
fragment

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