Excel formula to calculate working days...

Ladynat999

New Member
Joined
Aug 26, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm trying to work out how to calculate working days (mon-fri) left in a month.
I'm using

=NETWORKDAYS(P3,EOMONTH(P5,0),P2)
1661526616029.png

but I can't get the days left to equal 3 (working days left in august including todays date and excluding the bank holiday on 29th aug.

HELP!!!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi & welcome to MrExcel.
Is this for Excel or for Google Sheets?
 
Upvote 0
Welcome to the Board!

That calculation looks correct to me.
There are 4 work days between 25-Aug and 31-Aug if 29-Aug is a holiday.
Those days are:
25-Aug
26-Aug
30-Aug
31-Aug


Note that today is 26-Aug, not 25-Aug.
So perhaps you need to update the value in cell P3 to get what you want.
If you use:
=TODAY()
it will automatically return today's date.
 
Upvote 0
...and don't forget that NETWORKDAYS include both the starting and the end date in the calculation; ie NETWORKDAY(Today(), Today()) will return 1
Maybe you need to subtract 1 to get what you need.
 
Upvote 0
Hi & welcome to MrExcel.
Is this for Excel or for Google Sheets?
Hi, It is google sheets, you're correct - however it's only the formula I need which is the same for excel and google sheets. I am good at adapting ;oD
 
Upvote 0
Welcome to the Board!

That calculation looks correct to me.
There are 4 work days between 25-Aug and 31-Aug if 29-Aug is a holiday.
Those days are:
25-Aug
26-Aug
30-Aug
31-Aug


Note that today is 26-Aug, not 25-Aug.
So perhaps you need to update the value in cell P3 to get what you want.
If you use:
=TODAY()
it will automatically return today's date.
Hi,
I don't want to count today in days worked, and I do want to count today in days remaining.
 
Upvote 0
...and don't forget that NETWORKDAYS include both the starting and the end date in the calculation; ie NETWORKDAY(Today(), Today()) will return 1
Maybe you need to subtract 1 to get what you need.
I didn't know that, but it will probably explain why I'm getting 1 too many days remaining. Can I use Today()-1?
 
Upvote 0
In that case you should make that clear in your op & all such questions should be posted in the General Discussion & Other Applications section of the board.
Not all functions work the same way in Sheets & Excel.
I know they don't but I just needed the formula - I am able to transfer across if I have the formula. I have been using excel to actually work it out first - I just happened to screenshot google sheets to give you an idea of what I'm using it for.
 
Upvote 0

Forum statistics

Threads
1,223,952
Messages
6,175,596
Members
452,658
Latest member
GStorm

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