A search formula (like index match) that can pull the most recent date when multiple matches may occur based on the criteria figure.

Maverick007

New Member
Joined
Nov 12, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am trying to write a formula that will find the most recent date using the criteria of the Employee ID. Normally I would use an Index-Match function, but as there are multiple possible dates based on a singular ID I am unsure how to make a dynamic formula such it returns the most recent date as I believe it will check top to bottom and return the first date that matches the ID criteria. Note as well, in this case an Employee can have multiple IDs (I don't think that will impact the formula in question but wanted to point it out just in case). Thanks in advance for any help!

Formula Help.PNG
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Try:
Book1
ABCDEFG
1
2
3Employee IDNameDateEmployee IDDate
4ID-11/1/2019ID-112/31/2022
5ID-16/1/2020ID-24/15/2023
6ID-112/31/2022ID-39/1/2023
7ID-24/15/2023ID-412/31/2023
8ID-38/12/2022
9ID-39/1/2023
10ID-46/1/2021
11ID-48/15/2021
12ID-410/31/2023
13ID-412/31/2023
Sheet3
Cell Formulas
RangeFormula
G4:G7G4=MAXIFS(D4:D13,B4:B13,F4:F7)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,630
Messages
6,173,457
Members
452,516
Latest member
archcalx

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