PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Discussion calculating elapsed time over a period of days

Reply

calculating elapsed time over a period of days

 
Thread Tools Rate Thread
Old 13-05-2006, 04:02 PM   #1
Jerome Ranch
Guest
 
Posts: n/a
Default calculating elapsed time over a period of days


I have data that I take over time (several days).
I want to calculate total elapsed time over all the days of the
experiment.

Time data may look like this

date time data elapsed time (min)
5/12/2006 09:10:00 1 0
5/12/2006 10:40:00 200 90
5/12/2006 12:30:00 etc 200
5/12/2006 15:30:00 380
5/12/2006 17:00:00 470
5/12/2006 20:45:00 695 ( I get this far with but
when a day changes, how might I calc this)
5/13/2006 07:30:00
5/13/2006 10:40:00
5/13/2006 12:30:00
5/13/2006 15:30:00
5/14/2006 10:40:00
5/14/2006 12:30:00
5/14/2006 15:30:00


Knowing elapsed hrs I can calc minutes by mutiplying hrs*24*60.
So how might I build the logic with formulas to accompish this?


Thanks
Jerry
  Reply With Quote
Old 13-05-2006, 04:18 PM   #2
Ardus Petus
Guest
 
Posts: n/a
Default Re: calculating elapsed time over a period of days

Assuming you have column headers (such as given in your example)
In column D1, enter formula:
=(A2+B2)-(A$2+B$2)
Drag down to fill column
Format Customized [mm]

HTH
--
AP

"Jerome Ranch" <ranchjp@mchsi.com> a écrit dans le message de news:
sbpb62ddoq5locvv2o7lm2gmvqp0o2l8fa@4ax.com...
>I have data that I take over time (several days).
> I want to calculate total elapsed time over all the days of the
> experiment.
>
> Time data may look like this
>
> date time data elapsed time (min)
> 5/12/2006 09:10:00 1 0
> 5/12/2006 10:40:00 200 90
> 5/12/2006 12:30:00 etc 200
> 5/12/2006 15:30:00 380
> 5/12/2006 17:00:00 470
> 5/12/2006 20:45:00 695 ( I get this far with but
> when a day changes, how might I calc this)
> 5/13/2006 07:30:00
> 5/13/2006 10:40:00
> 5/13/2006 12:30:00
> 5/13/2006 15:30:00
> 5/14/2006 10:40:00
> 5/14/2006 12:30:00
> 5/14/2006 15:30:00
>
>
> Knowing elapsed hrs I can calc minutes by mutiplying hrs*24*60.
> So how might I build the logic with formulas to accompish this?
>
>
> Thanks
> Jerry



  Reply With Quote
Old 13-05-2006, 06:26 PM   #3
jerry.ranch@pioneer.com
Guest
 
Posts: n/a
Default Re: calculating elapsed time over a period of days

Thanks
I made a couple of mods to fit some new criteria, but this works as
expected
I didn't know Excel would add date and time..makes sense since Excel
breaks the day into 1/24 increments

Cool


>Assuming you have column headers (such as given in your example)
>In column D1, enter formula:
>=(A2+B2)-(A$2+B$2)
>Drag down to fill column
>Format Customized [mm]
>
>HTH


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off