Populating number of weeks days across multiple weeks between a date range

ExcelNovice2017

New Member
Joined
Nov 29, 2017
Messages
17
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Afternoon all

The issue I'm having is populating the correct number of day under a working week especially when start / end date goes across months
1672930309024.png


What I'm looking to do is, add the number of days the data range covers and input that number in week 1,2,3 etc. each date range is a task and it can be owner by the same user or different user - I will then look to put this in a pivot chart to show where people within the team are under or over utilize per month

Thank you in advance for any help, would be massively appreciate
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
You could also through in a list of holidays somewhere.

MrExcelPlayground15.xlsx
ABCDEFGHIJKLMNO
11/2/20231/9/20231/16/20231/23/20231/30/20232/6/20232/13/20232/20/20232/27/20233/6/20233/13/20233/20/2023
2StartEnd123456789101112Duration
31/2/20231/6/20235000000000005
42/1/20232/1/20230000100000001
51/2/20231/17/202355200000000012
61/2/20232/3/202355555000000025
71/2/20231/20/202355500000000015
81/2/20231/9/20235100000000006
91/9/20231/15/20230500000000005
101/3/20231/30/202345551000000020
111/18/20231/30/20230035100000009
121/21/20231/25/20230003000000003
131/16/20232/10/202300555500000020
Sheet7
Cell Formulas
RangeFormula
D1:N1D1=C1+7
C3:N13C3=MAX(0,NETWORKDAYS.INTL(MAX(C$1,$A3),MIN(C$1+6,$B3),1))
O3:O13O3=NETWORKDAYS.INTL(A3,B3,1)
 
Upvote 0
Solution
Last edited:
Upvote 0
Thank you both very much, both ways work a treat, I do have NETWORK.INTL - so I have prompted for that option

I do already have a holiday list as well, at the moment only includes this years bank holidays, I have added the list to define Name and also added this formula as a define name to shorten it and avoid error. As the data entry sheet will be used for the team to hopefully manage their selves and input there own start/end dates

Many thanks

Ian
 
Upvote 0
Defining a Name range for holidays is exactly the way to go for that.
Cheers James - It all came good and glad to say, just starting to us excel again after many years away due to a change of career and I forgotten how much I actually enjoyed using excel but also how frustrating it can also me lol
 
Upvote 0

Forum statistics

Threads
1,214,821
Messages
6,121,755
Members
449,049
Latest member
excelknuckles

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