I'm trying to find if C2, which contains a month (e.g., "September"), occurs after D1 (D1 is a full date, so I just extract the month; e.g., "June") AND before H1 (e.g., October). Here's my formula:
IF(AND(C2>TEXT(D1,"mmmm"),C2<TEXT(H1,"mmmm")),"Yes","No")
When I evaluate the formula, it says the first statement is true (September > June) but that the second statement is false (September < October). This makes no sense to me. Any help?
Bookmarks