Forum Discussion
BarbO404717
Aug 19, 2022Copper Contributor
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)...
- Aug 19, 2022
SergeiBaklan
Aug 19, 2022MVP
BarbO404717
Aug 19, 2022Copper Contributor
OMG! It worked! Thank you so much. Is there any chance you can describe what you did in prose/text? Thanks, Barb
- SergeiBaklanAug 19, 2022MVP
Not sure I understood the question. We add to the date 6 months or 6+6 months depends on condition returns TRUE or FALSE, which are in arithmetic calculations equivalent to 1 and 0 accordingly.
- BarbO404717Aug 19, 2022Copper ContributorThank you!!