LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 160
Default Time within time

Hi Joeu,


It turned out that under some conditions the functions, I got from Claus
gave the wrong results...

So, I gave your functions a test-drive, and they worked under every
conditions :-)

So, once again thank you for your time and effort...


CE


Den 26.01.2013 21:06, joeu2004 skrev:
Clarification....
I wrote:
"Charlotte E." wrote:
Now I would like to know (in 3 other cells):
- How many hours are within these clock intervals:
21-23
23-00
00-03

[....]
How to calculate how much time (hours and minutes)
is within each of these 3 intervals???


It is not clear whether you mean only 21:00 to 23:00 and 23:00 to 00:00
on the start day and 00:00 to 00:03 on the end day, or you mean the sum
of time in those intervals on each day.

I interpreted the requirement as the latter.

For example, if the start time is 22:00 and the end time is 21:59 (the
next day implicitly), I count the amount of time between 21:00 to 23:00
as follows:

1h between 21:00 to 23:00 on the start day
plus
59m between 21:00 and 23:00 on the end day

Is that what you want?



 
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
Time calculations for Scheduled Time vs. Actual Time Worked The Caterer Excel Discussion (Misc queries) 1 November 29th 09 08:08 AM
straight time, time and a half, and double time Jeremy Excel Discussion (Misc queries) 3 September 23rd 08 09:03 PM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
Comparing 2 files on date/time stamp, and based time difference do a subroutine [email protected] Excel Programming 1 September 28th 07 03:53 AM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM


All times are GMT +1. The time now is 10:35 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"