Calculate date/time excluding weekends and Holidays

beerw0lf

Board Regular
Joined
Mar 7, 2006
Messages
103
Hello All,
I'm stuck triyng to figure this out and could use your help. I am trying to calculate the total number of days excluding weekends and holidays. In column A I have the start date (1/2/2008 9:00 am), in column B I have the End date (1/8/2008 4:33 pm). In column C I would like to display the total number of days ( to 2 places (6.45)) excluding weekends and holidays. I tried networkdays but that only gives me whole numbers. Any help will be greatly appreciated.

Thanks
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try this in C2, with times in A2 and B2... Format C2 to Number, 2 decimals (it may need "tweaking") - Larry
and now,the formula! =NETWORKDAYS(A2,B2)+MOD(A2,1)-MOD(B2,1)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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