Forum

Notifications
Clear all

Excel add hours to date

7 Posts
2 Users
0 Reactions
62 Views
(@idiotstudent)
Posts: 4
Active Member
Topic starter
 

hello, please use your talent to help solve the issue below. Thank you very much!

Excel add hours to date excluding weekends and holidays. start at 09:30 on the first working day every week, finish if less than 17 hours before 07:00 on Saturday. 

 
Posted : 06/11/2019 8:58 pm
(@catalinb)
Posts: 1937
Member Admin
 

Can you provide some examples?

"finish if less than 17 hours before 07:00 on Saturday" sounds strange, will be easier to understand you problem if you provide sample data with expected results.

 
Posted : 07/11/2019 12:59 am
(@idiotstudent)
Posts: 4
Active Member
Topic starter
 

Thanks Catalin!

there is the example.

A (date and time) B (hours between 2 time)
04/11/2019 09:30 (first day every week always 09:30, this example is November 04.) 17
05/11/2019 02:30 (given a date and time every 17 hours) 17
05/11/2019 19:30 (ditto) 17
06/11/2019 12:30 (ditto) 17
07/11/2019 05:30 (ditto) 17
07/11/2019 22:30 (ditto) 17
08/11/2019 15:30 ( It is 15.5 hours from Friday 15:30 to Saturday 07:00, less than 17 hours, then start 09:30 next work day.)  17
12/11/2019 09:30 (first day this week is Tuesday as Nov/11 is holiday.) 17
13/11/2019 02:30 ........................ 17
 
Posted : 07/11/2019 2:13 pm
(@catalinb)
Posts: 1937
Member Admin
 

And where is the expected result?

 
Posted : 07/11/2019 2:30 pm
(@idiotstudent)
Posts: 4
Active Member
Topic starter
 

date and time are the result. make a formula to calculate next date and time.

 
Posted : 07/11/2019 2:48 pm
(@catalinb)
Posts: 1937
Member Admin
 

It's obvious that you need a formula for that. I was talking about manual results, so we can see some example calculation results.

 
Posted : 07/11/2019 3:48 pm
(@idiotstudent)
Posts: 4
Active Member
Topic starter
 

Thank you.

 
Posted : 07/11/2019 8:11 pm
Share: