Forum Discussion

HannahKing's avatar
HannahKing
Copper Contributor
Feb 21, 2024
Solved

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...
  • OliverScheurich's avatar
    Feb 21, 2024

    HannahKing 

    =IF((A1>=EDATE(B1,-6))*(A1<=EDATE(B1,6)),"yes","")

    Perhaps this formula returns the intended result.

Resources