Workday alternative

chaboyski

Board Regular
Joined
Aug 18, 2020
Messages
57
Office Version
  1. 2016
Platform
  1. Windows
Hi Team,

currently i am using workday in a formula but it does not include counting the weekends. would there be another alternative formula for me to use? currently, instead of using -12 (which would be the count of days i should be using) i am using -8 to consider the 4 weekends (2 sat and 2 sun)

Book2
BC
212-Jul26-Jun
312-Jul30-Jun
Sheet1
Cell Formulas
RangeFormula
C2C2=WORKDAY(B2,-12)
C3C3=WORKDAY(B3,-8)


thank you in advance!
 

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
Hi @Tetra201 ,

my given is july 12. and what i can use for me to be able to get June 30 and still use -12
July 12 is the date in cell B2.
So Tetra's formula seems to do exactly what you want.
If there is still some issue, you are going to need to explain it in more detail, as it is not clear to us.
 
Upvote 0
July 12 is the date in cell B2.
So Tetra's formula seems to do exactly what you want.
If there is still some issue, you are going to need to explain it in more detail, as it is not clear to us.
i'm sorry about that. i'm too focused on the formula and i forgot the include why i need the workday formula. i would need it because i need to exclude holidays on the count as well.
 
Upvote 0
If you need to exclude holidays from the day count yet include the weekends, then try:
Excel Formula:
=WORKDAY.INTL(B2,-12,"0000000",Holidays)
 
Upvote 1
Solution
If you need to exclude holidays from the day count yet include the weekends, then try:
Excel Formula:
=WORKDAY.INTL(B2,-12,"0000000",Holidays)
Thank you for this, @Tetra201 . it worked for me!

just wanted to ask, what does the 7 zeroes means? would it be the days of the week to be counted?
 
Upvote 0
You are welcome.

The seven-zero string means that all seven weekdays have to be treated as work days.
 
Upvote 0

Forum statistics

Threads
1,217,394
Messages
6,136,341
Members
450,005
Latest member
BigPaws

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