Working days auto updating based on start of month

Tam12

New Member
Joined
Mar 12, 2024
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hello,

i would like to add a formula to the attached that allows the working dates of the month to auto update once i change the full month in bold at the top.

i would like to do this for all days of the month, only working days.

hope this makes sense,

thanks:)
 

Attachments

  • Screenshot 2024-06-03 163638.png
    Screenshot 2024-06-03 163638.png
    2.5 KB · Views: 6

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
how about
in 1st cell put
=IF(WEEKDAY(Sheet1!B1,2)<6,Sheet1!B1,WORKDAY(Sheet1!B1,1))
then in 2nd cell put
=IF(A2="","",IF(MONTH(WORKDAY(A2,1))<>MONTH(A2),"",WORKDAY(A2,1)))

probably a single formula can be setup in 365 version

Cell Formulas
RangeFormula
A2A2=IF(WEEKDAY(Sheet1!B1,2)<6,Sheet1!B1,WORKDAY(Sheet1!B1,1))
A3:A28A3=IF(A2="","",IF(MONTH(WORKDAY(A2,1))<>MONTH(A2),"",WORKDAY(A2,1)))
 
Upvote 0
I believe this should work starting from any date within the month...
Excel Formula:
=LET(s,SEQUENCE(DAY(EOMONTH(B1,0)),,B1),u,UNIQUE(WORKDAY(s,1)),FILTER(u,MONTH(u)=MONTH(B1)))
 
Upvote 0
Do you want to ignore holidays?

Dates Time.xlsb
AB
1Sat 1-06-24
2Mon 3-06-24
3Tue 4-06-24
4Wed 5-06-24
5Thu 6-06-24
6Fri 7-06-24
7Mon 10-06-24
8Tue 11-06-24
9Wed 12-06-24
10Thu 13-06-24
11Fri 14-06-24
12Mon 17-06-24
13Tue 18-06-24
14Wed 19-06-24
15Thu 20-06-24
16Fri 21-06-24
17Mon 24-06-24
18Tue 25-06-24
19Wed 26-06-24
20Thu 27-06-24
21Fri 28-06-24
5f
Cell Formulas
RangeFormula
A2:A21A2=WORKDAY(B1-1,SEQUENCE(NETWORKDAYS(B1,EOMONTH(B1,0))))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,638
Members
452,663
Latest member
MEMEH

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