Generate Year 2016 Weekday/Weekend date with time

Onovo

New Member
Joined
Jul 27, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Please I want to generatedate data for weekdays and weekend respectively. The date starts from 01/01/2016 and ends on 31/12/2016. The weekday contains only weekdays date and the weekend contains weekend dates. each dates for weekdays/weekend should have time format such that the time begins at 0.00 and end at 23.00 (i.e. 24 data point for the time associated to each date. Also, I would like to know how to calculate sum and average for each date across the different weekdays and weekends. Such that on 01/01/2016 which is a Friday and a weekday of 2016 would have the following format, and so on, thank you:

01/01 00:00​
01/01 01:00​
01/01 02:00​
01/01 03:00​
01/01 04:00​
01/01 05:00​
01/01 06:00​
01/01 07:00​
01/01 08:00​
01/01 09:00​
01/01 10:00​
01/01 11:00​
01/01 12:00​
01/01 13:00​
01/01 14:00​
01/01 15:00​
01/01 16:00​
01/01 17:00​
01/01 18:00​
01/01 19:00​
01/01 20:00​
01/01 21:00​
01/01 22:00​
01/01 23:00​
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
67,892
Office Version
  1. 365
Platform
  1. Windows
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: 2016 Weekday/Weekend with time
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,697
Messages
5,765,977
Members
425,320
Latest member
Galin

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
Top