I am trying to determine if a date falls between two dates. I am using the following formula:
=IF(AND(A2>=$D$1,A2<=$E$1),"T","F") with D1=8/27/2018 and E1=8/27/2018
I get the right answer. However, if I change the formula and replace the absolute reference dates with actual dates as shown here, I do not get the right answer.
=IF(AND(A2>=8/27/2018,A2<=8/27/2019),"T","F")
Any ideas why?
Additionally, if anyone has a better formula, I need a formula to review over several years.
Thanks
=IF(AND(A2>=$D$1,A2<=$E$1),"T","F") with D1=8/27/2018 and E1=8/27/2018
I get the right answer. However, if I change the formula and replace the absolute reference dates with actual dates as shown here, I do not get the right answer.
=IF(AND(A2>=8/27/2018,A2<=8/27/2019),"T","F")
Any ideas why?
Additionally, if anyone has a better formula, I need a formula to review over several years.
Thanks