Stop calculating NETWORKDAYS.INTL at the endo of the month

dheads

New Member
Joined
Sep 4, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I am currently using NETWORKDAYS.INTL in a workbook to calculate the current workday of the month for the purpose of tracking projected sales & gross. Is there a way to have it stop the calculations at the end of the month? We use a different workbook for each month, and, if I open last months workbook, the tracking numbers are off because the current day shows negative because we are past the last day of the month.
 
Last edited by a moderator:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Sorry, it is not posting a negative number, it just continues climb each day. My company has downloads restricted, so I am unable to download XL2BB.
1725652094075.png
 
Upvote 0
What exactly are the formula you are using the cells B4 and E4?
Can you post them here?
 
Upvote 0
Does this do what you want?
Excel Formula:
=NETWORKDAYS.INTL(A2,MAX(MIN(A4,TODAY()),B1),11)
(not sure what the reference is to to cell B1, as it is currently blank)

1725653216705.png
 
Upvote 0
Solution
Does this do what you want?
Excel Formula:
=NETWORKDAYS.INTL(A2,MAX(MIN(A4,TODAY()),B1),11)
(not sure what the reference is to to cell B1, as it is currently blank)

View attachment 116527
Yes, that does exactly what I need it to do. Also, I am not sure why B1 is referenced either. I removed it, and everything still works as intended. Thank you for your assistance.
 
Upvote 0
You are welcome.
Glad I was able to help!
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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