Hello,
I am having a really difficult time trying to figure out a formula for the following.
I have a Received Date as 2014-10-01 16:04:43. My works business hours are 8am to 6pm Mon to Fri. If the receive time is after 6pm I would like the date to show as the next day with a time of 8am. If the time is prior to 8am, so between midnight and 7:59am I'd like it to show as 8am same day.
So
2014-10-01 19:04:43 would be 2014-10-02 08:00:00 and
2014-10-01 06:04:43 would be 2014-10-01 08:00:00
To top if off if it's Friday after 6pm, the date should roll to the Monday so
2014-11-14 19:04:43 would be 2014-11-17 19:04:43
I figured out the followwing for the time =IF(HOUR(B2)>18,"08:00:00 AM",IF(HOUR(B2)<8,"08:00:00 AM",B2)) but it then involves adding in multiple columns with multiple other formulas.
I was curious if there's a way to have it all in one formula or at most two?
Any help would be appreciated!
Bookmarks