SOLVED

If/Or functions

Copper Contributor

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,

Hannah

2 Replies
best response confirmed by HannahKing (Copper Contributor)
Solution

@HannahKing 

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

Perhaps this formula returns the intended result.

if or function.png

Thanks, just what I needed :)
1 best response

Accepted Solutions
best response confirmed by HannahKing (Copper Contributor)
Solution

@HannahKing 

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

Perhaps this formula returns the intended result.

if or function.png

View solution in original post