Work Week and Weekdays starts at different time

munra6

New Member
Joined
Feb 14, 2018
Messages
2
Hello,
I have been looking through different posts but I am still not able to find quite the solution.
Basically my problem is that I need to obtain the week number of the year and the number of day of the week from a column that I have with dates in the following format: 1/29/2018 7:08:17 AM. This may sound easy with the WEEKDAY and WEEKNUM functions but the twist here is that my work days starts at 7:00:00 AM. My week starts in Monday at 7:00:00AM and finish next Monday at 6:59:59 AM.

Example:
Since 01/01/2018 8:00:00 AM was a Monday, this date for me is Week 1, Day 1 (WW1.1).
01/02/2018 9:00:00 AM was a Tuesday so this date would be Week 1, Day 2 (WW1.2)
But the date 01/02/2018 3:40:00 AM is still considered Week 1, Day 1 because it is before 7:00:00 AM.

I would appreciate any help or recommendation on this topic. Also let me know any other clarification needed.

Best regards.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top