Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello
Is there a formula that can be used to return a "true" or "out of hours" value if the date/ time of a particulr cell is outside of (my) business hours please? (say 7am to 5:30pm). Does the date/ time need to be entered in a certain way ? (currently date is in one column and time is in another - in h:mm:ss AM/PM format. Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Give this formula a try...
=IF(AND(B1=TIME(7,0,0),B1<=TIME(17,30,0)),"In time","Out of time") Rick "Rhiannon" wrote in message ... Hello Is there a formula that can be used to return a "true" or "out of hours" value if the date/ time of a particulr cell is outside of (my) business hours please? (say 7am to 5:30pm). Does the date/ time need to be entered in a certain way ? (currently date is in one column and time is in another - in h:mm:ss AM/PM format. Thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks; that worked perfectly! (very speedy answer too - thanks)
"Rick Rothstein (MVP - VB)" wrote: Give this formula a try... =IF(AND(B1=TIME(7,0,0),B1<=TIME(17,30,0)),"In time","Out of time") Rick "Rhiannon" wrote in message ... Hello Is there a formula that can be used to return a "true" or "out of hours" value if the date/ time of a particulr cell is outside of (my) business hours please? (say 7am to 5:30pm). Does the date/ time need to be entered in a certain way ? (currently date is in one column and time is in another - in h:mm:ss AM/PM format. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I subtract 8 business hours from a date/time value? | Excel Discussion (Misc queries) | |||
Date and Time Response- before/during/after Business hours | Excel Discussion (Misc queries) | |||
How do I add 12 business hours to the current date/time? | Excel Worksheet Functions | |||
How do I add 12 business hours to the current date/time? | Excel Worksheet Functions | |||
Time and Business Hours | Excel Worksheet Functions |