ScottP4680
New Member
- Joined
- Feb 19, 2020
- Messages
- 6
- Office Version
- 365
- 2019
- 2016
- 2010
- Platform
- Windows
So I have a horizontal rolling calendar that has columns for the month, and in each column there's a date something happened (a calibration date) in a given month. I need a formula that can spit out the last 2 dates in a given row, and ignoring any date that's yet to come (the upcoming due date for the event to occur). Once cell will have the most recent date, prior to today, and another cell will have the SECOND most recent date.
My semi-excel algorithm looks like this in my head:
=#ROWLOOKUPIF(#REF<today(), #LASTCELLVALUE, #KEEPLOOKING)
My semi-excel algorithm looks like this in my head:
=#ROWLOOKUPIF(#REF<today(), #LASTCELLVALUE, #KEEPLOOKING)