LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Difference between 2 dates, incl weekends, with variable work days


(I posted this in WS Fxns on July 7 & didn't get any response, so I'm
hoping to have better luck in this forum, as I really need an answer!
Thank you!!)

I am creating a problem report spreadsheet for work. In col C I have a
date/time that the problem started, eg, 23-Jun-2006 15:20 and in col D
I have a date/time for when the problem was resolved, eg, 26-Jun-2006
15:40.

I need to calculate the amount of hours that we were not available for
use (due to the problem). This is based on a list of available hours.
Eg, on Mondays we are available 19.5 hrs, T-F 22.5 hrs, Sa 14.5 hrs,
and Sun 0 hrs.

If I do a straight subtraction, it uses 24 hrs for each day - not
taking into account our available hrs. If I do NETWORKDAYS it
automatically doesn't consider Sat or Sun - and i need it to - and it
does have a DayEnd and DayStart but it assumes they are constants.

I found the day corresponding to the date and thought I could determine
the series of days between it, e.g., if the start day was Friday & the
end day Monday, the series in between is Sat & Sun. Then I could do a
lookup on all 4 days in a table & add them all together. But I can't
figure out how to do this!

Can anyone please PLEASE help!?

Thanks so much!


--
babryanton
------------------------------------------------------------------------
babryanton's Profile: http://www.excelforum.com/member.php...o&userid=36173
View this thread: http://www.excelforum.com/showthread...hreadid=559933

 
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
challenging formula(for me), counting days between dates for multipleyears TG Excel Worksheet Functions 5 April 19th 06 05:31 PM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
Return only work days mhart210 Excel Discussion (Misc queries) 1 August 18th 05 04:22 PM
Subracting Dates to come up with the # of days between them KimberlyC Excel Worksheet Functions 8 December 20th 04 09:46 PM
Difference between two dates in months with decimals effem Excel Worksheet Functions 3 November 5th 04 05:23 PM


All times are GMT +1. The time now is 06:26 AM.

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

About Us

"It's about Microsoft Excel"