Forum Discussion

christye1979410's avatar
christye1979410
Copper Contributor
Mar 30, 2023
Solved

Need Help-Excel formula for date exceptions

I have a formula that mostly works to find the most recent date in a group of cells. I need the formula to ignore the future dates within those cells and just list the most recent date before today. ...
  • mathetes's avatar
    mathetes
    Mar 30, 2023

    christye1979410 

     

    Then see how this works

    =IFS(C6="","",MAX(C6:AZ6)>=TODAY(),INDEX(C6:Z6,,MATCH(TODAY(),C6:Z6,1)),MAX(C6:AZ6)<=TODAY(),MAX(C6:AZ6))

     

    That one will return today's date if today's date is in the range. If that's not what you want, you can tweak the MATCH section of the formula

Resources