Counting down workdays - how to stop at one?

Avowil

New Member
Joined
Jan 13, 2017
Messages
4
I want excel to count down the remaining workdays I have, and so far it works like this:

=NET.WORKDAYS.INTL(TODAY()+1;A47;"0010011")

Green = returns the date today
Orange = the last date of work this month (I can a list of working hours on the same spreadsheet)
Blue = days at work is 0, days off (Wed, Sat, Sun) is 1.

Now, what happens everytime there is only one day left, meaning the last day at work, this formula naturally returns the value 0, because there are no more days remaining. This messes up the formula, showing me how many hours I have to work each day to reach my income goal. (You should see my spreadsheet, it's ridiculous.)

What I want to accomplish is for the formula to return the the value 1, even if there are 0 work days left. The formula =MAX should fix this, but for some reason it does not work.

My question: how should the formula look like to accomplish what I want.

Thank you!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Welcome to the Board!

I believe it should look like:
=MAX(NET.WORKDAYS.INTL(TODAY()+1;A47;"0010011");1)
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,603
Members
449,089
Latest member
Motoracer88

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