Workday Function - How to change to a 6 day workweek

dgbear

New Member
Joined
May 17, 2005
Messages
1
Excel 2002 seems to default to a 5 day workweek (Monday to Friday).

How do you change excel to base workday calculations on a 6 day work week (Monday to Saturday) ?

Thanks in advance,

DG
 
Hello all: Here is what I am trying to do.
Lets say:
A1= 12/24/06
B1= A.Z.
Now I would like C1 to equal something like ( If B1 equals A.Z. then minus 8 days from A1, using a 6 day work week

Does that make any sense? Hope someone can help. Thanks
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Barry's formula seems to work fine "backwards" so:

=IF(A2="A.Z.",INT(-8/6)*7+A1+MOD(-8,6)+INT((WEEKDAY(INT(-8/6)*7+A1)-2+MOD(-8,6))/6),"")
 
Upvote 0
this is the best I could come up with - B1 should be bigger than 0

=INT(B1/6)*7+A1+MOD(B1,6)+INT((WEEKDAY(INT(B1/6)*7+A1)-2+MOD(B1,6))/6)

Just for the record - an improvement on the above formula - adds number of "business days" in B1 to date in A1 where "business days" are all days except Sundays. B1 can be negative or positive

=A1-WEEKDAY(A1,3)+INT(7/6*(B1+MIN(5,WEEKDAY(A1,3))))
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,393
Members
449,446
Latest member
CodeCybear

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