I have time in this - > 05/21/16 15:44
I'm not bothered about the date part, I want to see if the time falls between 10 AM to 8 PM or not. For this record it is 3 PM so its good.
I have tried extracting time out, tryin Median, Mod functions but nothing seems to work.
Two offers from Comments:
=AND(MOD(A1,1)>=TIME(10,0,0),MOD(A1,1)<=TIME(20,0,0))
=MOD(A1-5/12,1)<=5/12
They differ according to treatment of time at the cusp.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.