#1   Report Post  
heathcliff
 
Posts: n/a
Default show elapsed time ?


what formula do i have to use to get excel to calculate elapsed time if
i have the start and end times? i'm guessing end_time - start_time =
duration, but i can't figure out how to write the formula to calculate
the elapsed time. i tried b1-a1 but that didn't work...


--
heathcliff
------------------------------------------------------------------------
heathcliff's Profile: http://www.excelforum.com/member.php...o&userid=24305
View this thread: http://www.excelforum.com/showthread...hreadid=379131

  #2   Report Post  
PC
 
Posts: n/a
Default

Your formula is correct.

You need to change the format

Format/Cells/Number

Choose Custom and select [h]:mm:ss

HTH

PC
"heathcliff" wrote
in message ...

what formula do i have to use to get excel to calculate elapsed time if
i have the start and end times? i'm guessing end_time - start_time =
duration, but i can't figure out how to write the formula to calculate
the elapsed time. i tried b1-a1 but that didn't work...


--
heathcliff
------------------------------------------------------------------------
heathcliff's Profile:

http://www.excelforum.com/member.php...o&userid=24305
View this thread: http://www.excelforum.com/showthread...hreadid=379131



  #3   Report Post  
steve
 
Posts: n/a
Default

I have a further question: I want to use elapsed times in a conditional.
For example, if 25 minutes have elapsed, I want an output of 3, if between 25
and 30, an output of 4, if above 30, an output of 5. I am currently trying
to do this with nested IF's, but with no luck. Any ideas how I can compare
elapsed times, or convert them to some sort of decimal that I could use in a
comparison?

Thanks.

"PC" wrote:

Your formula is correct.

You need to change the format

Format/Cells/Number

Choose Custom and select [h]:mm:ss

HTH

PC
"heathcliff" wrote
in message ...

what formula do i have to use to get excel to calculate elapsed time if
i have the start and end times? i'm guessing end_time - start_time =
duration, but i can't figure out how to write the formula to calculate
the elapsed time. i tried b1-a1 but that didn't work...


--
heathcliff
------------------------------------------------------------------------
heathcliff's Profile:

http://www.excelforum.com/member.php...o&userid=24305
View this thread: http://www.excelforum.com/showthread...hreadid=379131




  #4   Report Post  
bj
 
Posts: n/a
Default

time is maintained as a one for one day
thus one minute is equivelant to 1/(60*24) 0.000694444

if a1 and a2 are you two times

try
=if(a1-a2<25/(60*24),3,if(a1-a2<30/(60*24),4,5))
you may have to play with < and <= to get the final "what you want"

"steve" wrote:

I have a further question: I want to use elapsed times in a conditional.
For example, if 25 minutes have elapsed, I want an output of 3, if between 25
and 30, an output of 4, if above 30, an output of 5. I am currently trying
to do this with nested IF's, but with no luck. Any ideas how I can compare
elapsed times, or convert them to some sort of decimal that I could use in a
comparison?

Thanks.

"PC" wrote:

Your formula is correct.

You need to change the format

Format/Cells/Number

Choose Custom and select [h]:mm:ss

HTH

PC
"heathcliff" wrote
in message ...

what formula do i have to use to get excel to calculate elapsed time if
i have the start and end times? i'm guessing end_time - start_time =
duration, but i can't figure out how to write the formula to calculate
the elapsed time. i tried b1-a1 but that didn't work...


--
heathcliff
------------------------------------------------------------------------
heathcliff's Profile:

http://www.excelforum.com/member.php...o&userid=24305
View this thread: http://www.excelforum.com/showthread...hreadid=379131




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
Change to show time M Jones Excel Discussion (Misc queries) 2 June 1st 05 11:16 PM
Calculating a rate for elapsed time? Keith Excel Discussion (Misc queries) 8 May 18th 05 09:14 PM
enter a time into a cell, have the cell show two times the entry johnp Excel Worksheet Functions 3 May 2nd 05 12:08 AM
How to format elapsed time for swimming scores T-mo Charts and Charting in Excel 1 April 21st 05 12:26 PM
elapsed time calculation rwf Excel Discussion (Misc queries) 1 January 21st 05 04:51 AM


All times are GMT +1. The time now is 05:16 PM.

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"