Finding Most Recent Date from Specific Date

Cartay81

New Member
Joined
Jun 4, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Recently new to excel and appreciate this forum very much. What I'm failing to do is find the most recent value compared to a date. So in the example below, I have a baseball schedule with both home and away. I want to be able to input a formula so it will populate a team's most recent home game date next to their name in the away column. If that makes any sense. Say in the example below, on 5/5/2024, I would like to know when the Reds last home date was. Thank you for any help you can provide.

1717554780438.png
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Try:
Book1
ABCD
1DateHomeAwayLast Home Game
25/1/24RedsBrewers5/6/24
35/1/24GiantsPadres5/2/24
45/1/24CubsCardinals5/5/24
55/2/24RedsCubs5/6/24
65/2/24GiantsBrewers5/2/24
75/2/24CardinalsPadres5/6/24
85/3/24CubsCardinals5/5/24
95/3/24CubsReds5/5/24
105/3/24CardinalsBrewers5/6/24
115/4/24PadresGiants5/6/24
125/4/24CubsReds5/5/24
135/4/24CardinalsBrewers5/6/24
145/5/24CubsReds5/5/24
155/5/24CardinalsGiants5/6/24
165/5/24PadresBrewers5/6/24
175/6/24RedsBrewers5/6/24
185/6/24CardinalsCubs5/6/24
195/6/24PadresGiants5/6/24
Sheet6
Cell Formulas
RangeFormula
D2:D19D2=MAXIFS($A$2:$A$19,$B$2:$B$19,B2)
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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