Forum Discussion
HannahKing
Feb 21, 2024Copper Contributor
If/Or functions
Hi. I am trying to write a formulae which will return me "yes" if a date in column a is between 6 months before or after another date in column b. Any thoughts on how to do this? Thanks, Ha...
- Feb 21, 2024
=IF((A1>=EDATE(B1,-6))*(A1<=EDATE(B1,6)),"yes","")
Perhaps this formula returns the intended result.
OliverScheurich
Feb 21, 2024Gold Contributor
=IF((A1>=EDATE(B1,-6))*(A1<=EDATE(B1,6)),"yes","")
Perhaps this formula returns the intended result.
- HannahKingFeb 21, 2024Copper ContributorThanks, just what I needed 🙂