Re-posted due to unanswered question

quigley

New Member
Joined
Apr 9, 2002
Messages
3
Dear Mr Excel

I have created a Gantt chart in Excel as indicated in ‘tip of the week’ however I have utilised days instead of years as my unit of measure. I have also included an extra column which shows the number of days between the start and end date and an extra row which displays the approprite day.

However I wish to exclude certain days of the week in this calculation i.e. Saturdays and Sundays (Non Working days). Therefore how can this be achieved?

I presume the conditional formating will not help in this situation and the weekday function only provides numbers 1 to 7.

Is there a formula that can do this, failing that will, a macro be required?

Regards

Anthony Quigley
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Use the NETWORKDAYS worksheet function. Take a look at the help topic for this function.
 
Upvote 0

Forum statistics

Threads
1,214,528
Messages
6,120,064
Members
448,941
Latest member
AlphaRino

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