I am trying to use a formula to determine if the current time is between two set times (6:30 AM & 3:30 PM), if it is I would like the cell to display "1st" else I would like it to display "2nd". I have the following formula in cell C1 and I have the Now() function in cell K1 with the format of h:mm AM/PM.
Formula: =IF(AND(K1>"6:30 AM",K1<"3:30 PM"),"1st","2nd")
Any/All help would be greatly appreciated, thanks for looking.
I am using MS Office 2007 on XP Professional.
Formula: =IF(AND(K1>"6:30 AM",K1<"3:30 PM"),"1st","2nd")
Any/All help would be greatly appreciated, thanks for looking.
I am using MS Office 2007 on XP Professional.