Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Subtracting Dates to get total time work time excluding weekends

I have two date columns formated like this:

1/22/08 2:19 PM

I need to subract them to get the total time but I need to exclude weekends
and hours not in the normal working day. If the start of the day is 8:30AM
and ends at 5:00PM, how do I get the total work time between the two dates?

Thanks, Jon
  #2   Report Post  
Posted to microsoft.public.excel.misc
Red Red is offline
external usenet poster
 
Posts: 48
Default Subtracting Dates to get total time work time excluding weekends

Hey there.

I think you can get what you want by using an add-in. If you go to Tools
and then select Add-in, you will see another window in which you need to
check the box next to Analysis ToolPak. After this installs, you can go to
the formula function button and pick NetWorkDays when you are in the cell you
want to start the calculation. The formula wizard will help you input the
correct data. It should only consider business days, and then help you
eliminate holidays.

hope this helps

"Jon Ratzel" wrote:

I have two date columns formated like this:

1/22/08 2:19 PM

I need to subract them to get the total time but I need to exclude weekends
and hours not in the normal working day. If the start of the day is 8:30AM
and ends at 5:00PM, how do I get the total work time between the two dates?

Thanks, Jon

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Subtracting Dates to get total time work time excluding weeken

I think that'll work to exlude the weekend properly but there's also the
issue of non-working hours during the week. For instance if my time is 4:59PM
on a Tues and the next time is 8:30AM on Wed I would want it to calculate a
difference of 1 minutes or 00:01:00 (HH:MM:SS format.) Or if my first time is
4:59PM on a Tues and 8:30AM on the next Thur I'd like it to calculate
08:31:00. Does that make sense?

Thanks again for the help, Jon


"Red" wrote:

Hey there.

I think you can get what you want by using an add-in. If you go to Tools
and then select Add-in, you will see another window in which you need to
check the box next to Analysis ToolPak. After this installs, you can go to
the formula function button and pick NetWorkDays when you are in the cell you
want to start the calculation. The formula wizard will help you input the
correct data. It should only consider business days, and then help you
eliminate holidays.

hope this helps

"Jon Ratzel" wrote:

I have two date columns formated like this:

1/22/08 2:19 PM

I need to subract them to get the total time but I need to exclude weekends
and hours not in the normal working day. If the start of the day is 8:30AM
and ends at 5:00PM, how do I get the total work time between the two dates?

Thanks, Jon

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date/Time Difference Excluding Weekends & Holidays Paula D Excel Worksheet Functions 3 June 29th 12 11:15 PM
subtracting date and time formats excluding weekends Diane13 Excel Worksheet Functions 15 September 1st 09 03:07 AM
time interval between dates incl weekends excl holidays douwe Excel Discussion (Misc queries) 7 August 10th 07 06:06 AM
Time between two dates (Excluding Non-bus Hrs) lnapier Excel Worksheet Functions 0 July 13th 05 02:15 PM
How do you count work days excluding weekends and holidays? Hausma Excel Discussion (Misc queries) 2 April 8th 05 07:39 PM


All times are GMT +1. The time now is 12:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"