Calculating time in an Excel formula [Closed]

Report
Posts
1
Registration date
Monday January 3, 2011
Status
Member
Last seen
January 3, 2011
-
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
-
Hello,

I have an Excel formula that works:

=WORKDAY(A2-13.5/24,1)+IF(NETWORKDAYS(A2,A2), IF(MOD(A2,1)*24<=13.5,MAX(MOD(A2,1)*24+4,12.5), MIN(MOD(A2,1)*24-5,12.5)),12.5)/24

If a job comes in over the 'weekend' the clock does not start ticking until 08:00am Monday morning.

If a weekend date is in A2, the formula calculates the next working day (Monday) in B2, between 08:00 & 17:00

Please help me adapt the formula to work between 07:00am & 19:00

Many, many thanks

Treehouse

1 reply

Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
Could you please upload a sample EXCEL file WITH sample data, macro, formula , conditional formatting etc on some shared site like https://authentification.site , http://docs.google.com, http://wikisend.com/ , http://www.editgrid.com etc
AND post back here the link to allow better understanding of how it is now and how you foresee. Based on the sample book, could you re-explain your problem too.


Note:
your data need not be to be real data but a good representative of how data looks like

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!