LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 353
Default calculating time

If your regional settings for time are set to am/pm, 12:05:10 AM is the
actual time associated with the 24 hour version of 00:05:10 - if you change
the regional setting for your computer, it will change the way it looks in
the formula bar, but also for anywhere else time is displayed.

If the times to average were in the range B1:B5 the following formaula would
display the seconds in an average time as a decimal number:
=MINUTE(AVERAGE(B1:B5))+SECOND(AVERAGE(B1:B5))/60
Adjust as necessary and format the cell to numeric.

"maryj" wrote:

This is a 2 part question.

I have cells formatted as [hh]:mm:ss. I enter a time of 5 minutes and 10
seconds as 0:05:10. The cell displays the same as I typed it. In the formula
bar it displays as 12:05:10 AM. Am I correct that there is no way to have the
formula bar only display 05:10?

2nd question:
I want to find the average of times and have them display as a decimal.
The times I am averaging are (all min:sec): 5:00, 10:10, 5:10, 5:00, 5:13.
The result I get when formatted as [hh]:mm:ss is 00:06:07. How do I have this
show as a decimal? Do I just multiply by 24 for the result of .10183? That
just doesn't seem quite right.

Thanks for your help!
--
maryj

 
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 time and negative time Josh UK Excel Worksheet Functions 3 February 8th 07 04:48 PM
calculating time tom ossieur Excel Worksheet Functions 3 December 5th 06 12:40 PM
calculating timesheet, time-in/time-out = total hours & minutes, . Steve Lindsay Excel Worksheet Functions 13 November 8th 06 03:45 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Calculating effective time from start/end date+time Stefan Stridh Excel Worksheet Functions 8 November 27th 04 03:50 PM


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