Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 358
Default How do I round off times in Excel?

I am calculating times by dividing a distance by a speed. The results are in
cells formatted hh:mm but always seem to be rounded down so that the sum of
the column may be several minutes out, compared to the times displayed.

If I reformat the cells hh:mm:ss then I can see for example what was 01:32
displayed as 01:32:57. I want this to appear as 01:33.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I round off times in Excel?


Try this

=ROUND(A18*1440,0)/1440

Rounds down if 29 sec and rounds up 31 sec

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=562623

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default How do I round off times in Excel?

Hi!

So you want to round to the nearest minute?

=ROUND(A1/(1/1440),0)*1/1440

Or:

=ROUND(A1/TIME(0,1,0),0)*TIME(0,1,0)

Biff

"Andrew" wrote in message
...
I am calculating times by dividing a distance by a speed. The results are
in
cells formatted hh:mm but always seem to be rounded down so that the sum
of
the column may be several minutes out, compared to the times displayed.

If I reformat the cells hh:mm:ss then I can see for example what was 01:32
displayed as 01:32:57. I want this to appear as 01:33.

Any ideas?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 358
Default How do I round off times in Excel?

Thanks very much

"Biff" wrote:

Hi!

So you want to round to the nearest minute?

=ROUND(A1/(1/1440),0)*1/1440

Or:

=ROUND(A1/TIME(0,1,0),0)*TIME(0,1,0)

Biff

"Andrew" wrote in message
...
I am calculating times by dividing a distance by a speed. The results are
in
cells formatted hh:mm but always seem to be rounded down so that the sum
of
the column may be several minutes out, compared to the times displayed.

If I reformat the cells hh:mm:ss then I can see for example what was 01:32
displayed as 01:32:57. I want this to appear as 01:33.

Any ideas?




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 358
Default How do I round off times in Excel?

Thanks very much

"VBA Noob" wrote:


Try this

=ROUND(A18*1440,0)/1440

Rounds down if 29 sec and rounds up 31 sec

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=562623




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default How do I round off times in Excel?

You're welcome!

Biff

"Andrew" wrote in message
...
Thanks very much

"Biff" wrote:

Hi!

So you want to round to the nearest minute?

=ROUND(A1/(1/1440),0)*1/1440

Or:

=ROUND(A1/TIME(0,1,0),0)*TIME(0,1,0)

Biff

"Andrew" wrote in message
...
I am calculating times by dividing a distance by a speed. The results
are
in
cells formatted hh:mm but always seem to be rounded down so that the
sum
of
the column may be several minutes out, compared to the times displayed.

If I reformat the cells hh:mm:ss then I can see for example what was
01:32
displayed as 01:32:57. I want this to appear as 01:33.

Any ideas?






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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I nest a ROUND within a IF in Excel? TC 3266 Excel Worksheet Functions 2 March 23rd 06 12:26 AM
How can i add times in Excel? Excel>Me [email protected]> Excel Discussion (Misc queries) 5 January 8th 05 05:21 PM
Adding/Averaging Times in Excel JD Excel Discussion (Misc queries) 2 January 5th 05 05:07 PM
How do I duplicate a sheet 20 times in an excel spreadsheet danzil Excel Worksheet Functions 4 December 17th 04 09:23 PM


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