Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 257
Default Calculating Elapsed Time

The key to Dave's answer, Rosemary, is that Excel displays times and dates as
numbers that express days and fractions of days. A date and time is
expressed as the number of days since, um, I think it's 1900-01-01, with Jan
1, 1900 being the zero day and noon of 19000-01-02 being equal to 1.5, that
is, one and a half days since the beginning of Time.

So by taking the same time expressed in days, and multiplying it by 24, you
get the same amount of time in hours; that 1.5 days in the above example
would become 36 hours after multiplying it by 24. If you want to express
elapsed time in minutes just multiply it by 1440, and so on.

--- "Rosemary" wrote:
I have a worksheet that calculates time elapsed. Currently, the result is
displayed as hours and minutes. I would like it displayed as a decimal value
instead.

For example, here are my columns --

Date/Time Started
1/5/09 4:50 PM

Date/Time Ended
1/5/09 6:05 PM

Time Elapsed:
1:15

Formula for Time Elapsed column:
=TEXT(C30-B30,"h:mm")

As you can see, time elapsed is displayed as 1 hour 15 minutes. Instead, I
would like it displayed as a decimal value: 1.25

How can I adjust my formula to do this?

Note: Time elapsed will never exceed 12 hours. Our workday starts at 8am
and ends at 9pm (2 shifts), so all results would be within one 24-hour period.

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
Calculating/displaying elapsed time TOTALS USAOz Excel Worksheet Functions 3 October 31st 07 06:10 AM
Calculating elapsed time tele2002 Excel Discussion (Misc queries) 2 December 22nd 05 05:47 PM
Calculating Time elapsed bhomer Excel Worksheet Functions 1 November 21st 05 01:16 PM
Calculating elapsed time andoh Excel Worksheet Functions 5 November 17th 05 11:31 AM
Calculating a rate for elapsed time? Keith Excel Discussion (Misc queries) 8 May 18th 05 09:14 PM


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