Formula to Obtain Number of Total Workings Days in a Month Based on a Single Date

clericalguy

New Member
Joined
Feb 14, 2024
Messages
17
Office Version
  1. 2016
Platform
  1. Windows
Hi

I am trying to obtain the number of workings days in a month based on any date.

For instance, date is 05/02/2024 = 19 workings days.

Thanks.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Book1
BC
205/02/202419
Sheet1
Cell Formulas
RangeFormula
C2C2=NETWORKDAYS(B2,EOMONTH(B2,0))
 
Upvote 0
Book1
BC
205/02/202419
Sheet1
Cell Formulas
RangeFormula
C2C2=NETWORKDAYS(B2,EOMONTH(B2,0))
Thanks, but I made a mistake.

I meant total number of working days in the month to be extracted from any given date. So, if I have the date 05/02/2024, the total number of working days in February 2024 is 21 days.
 
Upvote 0
Book1
BC
205/02/202421
Sheet1
Cell Formulas
RangeFormula
C2C2=NETWORKDAYS(EOMONTH(B2,-1)+1,EOMONTH(B2,0))
 
Upvote 0
Solution
This is perfect! Thank you!
The marked solution has been changed accordingly. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers. No further action is required for this thread.
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,977
Members
449,095
Latest member
Mr Hughes

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