Hey all!
Thanks for taking the time to read this. I am pretty good at excel, but this one is stumping me. I think it might ultimately be a compatibility issue, as I run Mac Excel 2011. I have a column (let's say A) of times properly formatted, so 2pm is 14:00:00. In the column next to it (let's say B) I am writing a logic equation to determine if the value in column A is between a certain time... in this case between 10 and 14. If it is, simply say so; otherwise, tell me it's not.
This is my code:
=IF(AND(A1>=TIME(10,0,0),A1<=TIME(14,0,0)),"between 10 and 14","not between 10 and 14")
It always comes up with the null, or "not between 10 and 14". I have back tested simpler logic and it works fine, but for some reason it breaks once I put the range of times in there. Can someone run this in a different version of Excel, or tell me what is broken here?
Bookmarks