WORKDAY.INTL Formula not working

falcios

Active Member
Joined
Aug 30, 2006
Messages
279
Office Version
  1. 2019
Platform
  1. Windows
Someone provided me the formula below and it worked great at one point and now it's not working

I only want dates for Tuesday, Wednesday, Friday, and Saturday

I entered 11/2/21 on A1 which is a Tuesday
I was told to enter the formula on A2
It returns the date as a Saturday, when it should be Wednesday 11/3/21.

Any idea what is happening or what am I doing wrong?

Thanks in advance.

=WORKDAY.INTL($A$1+7-WEEKDAY($A$1,1)-1,ROWS(A$2:A2),"1001001")
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Not a 100% on what you are trying to achieve but what happens if you just use this

Excel Formula:
=WORKDAY.INTL($A$1,ROWS(A$2:A2),"1001001")
 
Upvote 0
Solution
Thanks so much, that worked. You're a guru.

What is the difference between these formulas?
 
Upvote 0
Asssumptions:
- workdays Tuesday, Wednesday, Friday and Saturday
- you require 5 days

Review Excel's help for the function.

Networkdays.xlsm
ABC
1Tue 02-Nov-215Wed 10-Nov-21
2
1d
Cell Formulas
RangeFormula
C1C1=WORKDAY.INTL(A1,B1,"1001001")
 
Upvote 0
Thanks so much, that worked. You're a guru.

What is the difference between these formulas?

I can only assume that the formula was used for a slightly different requirement.

It looks like the starting date was not always the 1st row of the date range and perhaps somewhere else on the spreadsheet.
(Hence the hard coding of $A1$)
And that there was a requirement for the 1st date in the date range to be Saturday.
Is Saturday perhaps the official start date of the week ?
The extra part in the formula (+7-WEEKDAY($A$1,1)-1) only affects the first entry in the date range and forces to always to be Saturday, after that it just adds 1 workday for each additional row.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,764
Members
448,991
Latest member
Hanakoro

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