#1   Report Post  
Posted to microsoft.public.excel.misc
Sanch
 
Posts: n/a
Default Time rounding help

I am working on a time sheet that I need to tweak slightly, currently
I have a time in and time out log:

In: 6:58
Out 17:36

I am trying to round these numbers to the nearest hour 6:58 to 7am,
however 17:36 needs to round down to 17:00. The formula I am curently
using is: =TIME(HOUR(B9),MROUND(MINUTE(B9),$M$1),0) The M references
the rounding #. It is currently set at 60.

Scott

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Time rounding help

=ROUND(A1*24,0)/24

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Sanch" wrote in message
oups.com...
I am working on a time sheet that I need to tweak slightly, currently
I have a time in and time out log:

In: 6:58
Out 17:36

I am trying to round these numbers to the nearest hour 6:58 to 7am,
however 17:36 needs to round down to 17:00. The formula I am curently
using is: =TIME(HOUR(B9),MROUND(MINUTE(B9),$M$1),0) The M references
the rounding #. It is currently set at 60.

Scott



  #3   Report Post  
Posted to microsoft.public.excel.misc
Sanch
 
Posts: n/a
Default Time rounding help

This works on the first portion of the formula, but I need to orund
down the second #, Do you know how I can accomplish this?

I need to turn 17:36 into 17:00.

Do you know why when I use the following formula
=TIME(HOUR(B9),MROUND(MINUTE(B9),$M$1),0) it does not orund to the
nearest zero. 17:15 become 17:00, but 6:58 become 6:00.

Thanks,


Scott

Bob Phillips wrote:
=ROUND(A1*24,0)/24

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Sanch" wrote in message
oups.com...
I am working on a time sheet that I need to tweak slightly, currently
I have a time in and time out log:

In: 6:58
Out 17:36

I am trying to round these numbers to the nearest hour 6:58 to 7am,
however 17:36 needs to round down to 17:00. The formula I am curently
using is: =TIME(HOUR(B9),MROUND(MINUTE(B9),$M$1),0) The M references
the rounding #. It is currently set at 60.

Scott


  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Time rounding help

Why, you originally said ROUND not ROUNDDOWN.

=ROUNDDOWN(A1*24,0)/24

or

=FLOOR(A1,1/24)

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Sanch" wrote in message
oups.com...
This works on the first portion of the formula, but I need to orund
down the second #, Do you know how I can accomplish this?

I need to turn 17:36 into 17:00.

Do you know why when I use the following formula
=TIME(HOUR(B9),MROUND(MINUTE(B9),$M$1),0) it does not orund to the
nearest zero. 17:15 become 17:00, but 6:58 become 6:00.

Thanks,


Scott

Bob Phillips wrote:
=ROUND(A1*24,0)/24

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Sanch" wrote in message
oups.com...
I am working on a time sheet that I need to tweak slightly, currently
I have a time in and time out log:

In: 6:58
Out 17:36

I am trying to round these numbers to the nearest hour 6:58 to 7am,
however 17:36 needs to round down to 17:00. The formula I am curently
using is: =TIME(HOUR(B9),MROUND(MINUTE(B9),$M$1),0) The M references
the rounding #. It is currently set at 60.

Scott




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
time sheet to calculate 2 different columns John Sullivan Excel Worksheet Functions 1 October 21st 05 06:48 AM
Excel Time Sheet - Rounding To Quarter Hours C A Excel Worksheet Functions 2 October 18th 05 07:21 PM
Rounding Time? ChrisW Charts and Charting in Excel 2 October 12th 05 12:55 PM
rounding time question lbfries Excel Worksheet Functions 3 April 6th 05 08:23 PM
Rounding time in excel (2003) Alan Excel Discussion (Misc queries) 3 January 11th 05 04:44 PM


All times are GMT +1. The time now is 01:06 AM.

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"