Changing a formula to weekdays only

RosieG1991

New Member
Joined
Feb 23, 2017
Messages
21
Hey there

I'm working in a Gantt Chart (Timeline) and it has the formula:

=$D$5-WEEKDAY($D$5,1)+INDEX({1;2;3;4;5;6;7},MATCH($D$4,{"Sunday";"Monday";"Tuesday";"Wednesday";"Thursday";"Friday";"Saturday"},0))+D6


I would like to only see Monday - Friday (not weekends: Saturday/Sunday)

What changes do I need to make to the above formula to only see week days?

Any help is much appreciated!!! :)
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi,

If the formula is calculating the finish date of a task and assuming D4 and D5 are related (D4 = Wednesday, D5 = 08/02/17) and D6 is the number of days forward to finish the task.
Change the formula to this: =WORKDAY($D$5,D6)
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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