Forum Discussion

BarbO404717's avatar
BarbO404717
Copper Contributor
Aug 19, 2022
Solved

EDATE WITH CONDITIONS

Need help with this type of formula:   If M21 (a date cell) is blank, then evaluate D21 (length of stay).  If D21 (length of stay) is less than or equal to 730, then add 6 months to C21(admit date)...
  • SergeiBaklan's avatar
    Aug 19, 2022

    BarbO404717 

    Literally

    =IF( M21="",
         EDATE( C21, 6 + 6*(D21>730) ),
         EDATE( M21, 6 + 6*(D21>730) )
    )
    

Resources