Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 13
Default Computing Elapsed Time

I am working with W XP and Excel 2003.

Column A contains a start date
Column C contains an end date
The date columns are in the mm/dd/yy format
The end date will either be equal to the start date or greater than the start date

Column B contains a start time
Column D contains an end time
The time columns are in the hh:mm format and the hh portion is in 24 hour format
The end time will always be later than the start time IF the start Date and End Date are the same. If the end date is after the start date the end time can be anything.

What I need is a formula to compute the hours and minutes between the combined start date and time and the combined end date and time.

Thanks for any and all help.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 829
Default Computing Elapsed Time

wrote:
Column A contains a start date
Column C contains an end date

[....]
Column B contains a start time
Column D contains an end time
What I need is a formula to compute the hours and minutes
between the combined start date and time and the combined
end date and time.


=(C2+D2)-(A2+B2)

formatted as Custom [h]:mm .

The [h] form displays hours greater than 24, if appropriate.
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 13
Default Computing Elapsed Time

On Monday, November 12, 2012 11:42:05 PM UTC-5, wrote:
I am working with W XP and Excel 2003.



Column A contains a start date

Column C contains an end date

The date columns are in the mm/dd/yy format

The end date will either be equal to the start date or greater than the start date



Column B contains a start time

Column D contains an end time

The time columns are in the hh:mm format and the hh portion is in 24 hour format

The end time will always be later than the start time IF the start Date and End Date are the same. If the end date is after the start date the end time can be anything.



What I need is a formula to compute the hours and minutes between the combined start date and time and the combined end date and time.



Thanks for any and all help.


Thanks for your reply.
Your solution works for those situations that occur over a short period, say 1 day.
Over a multiple day situation it is giving me a problem. The period between 10/29/12 19:33 and 11/8/12 15:40 gives me an elapsed time of 20:07.
Also when I sum up the elapsed time column I do not get a meaningful value.
  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 13
Default Computing Elapsed Time

On Monday, November 12, 2012 11:42:05 PM UTC-5, wrote:
I am working with W XP and Excel 2003.



Column A contains a start date

Column C contains an end date

The date columns are in the mm/dd/yy format

The end date will either be equal to the start date or greater than the start date



Column B contains a start time

Column D contains an end time

The time columns are in the hh:mm format and the hh portion is in 24 hour format

The end time will always be later than the start time IF the start Date and End Date are the same. If the end date is after the start date the end time can be anything.



What I need is a formula to compute the hours and minutes between the combined start date and time and the combined end date and time.



Thanks for any and all help.


Claus & Joel,
Thanks for your help.
I'm in good shape thanks to you.
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
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
Computing Time from One Day to Another Wendy Excel Discussion (Misc queries) 1 July 25th 07 02:34 PM
Macro elapsed time bar (same as download time elapsed bar) klysell Excel Programming 2 April 26th 07 04:58 PM
Formula for computing day of the week and time [email protected] Excel Worksheet Functions 4 June 15th 06 06:45 PM
Computing Date n time Yinka Oyeks Excel Programming 2 February 14th 04 10:17 AM


All times are GMT +1. The time now is 06:02 PM.

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"