#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 86
Default MROUND time

I am using the formula MROUND to get a time hh:mm:ss to the nearest 30seconds.

Cell T2 shows 00:11:24 and U2 shows 30.

I have fomated cell T2 and the cell I want the answer in as hh:mm:ss.

However the answer cell shows 11:30:00. this seems to be taking the MM and
showing as HH and ss as MM.

=TIME(MINUTE(T3),MROUND(SECOND(T3),U3),0) is the formula and the cell is
formatted hh:mm:ss

Can anyone help me to rectify this?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default MROUND time

I used this formula:
=MROUND(T2,TIME(0,0,30))
and saw:
00:11:30
And if I had that 30 in U2, then this worked:
=MROUND(T2,TIME(0,0,U2))



Colin wrote:

I am using the formula MROUND to get a time hh:mm:ss to the nearest 30seconds.

Cell T2 shows 00:11:24 and U2 shows 30.

I have fomated cell T2 and the cell I want the answer in as hh:mm:ss.

However the answer cell shows 11:30:00. this seems to be taking the MM and
showing as HH and ss as MM.

=TIME(MINUTE(T3),MROUND(SECOND(T3),U3),0) is the formula and the cell is
formatted hh:mm:ss

Can anyone help me to rectify this?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default MROUND time

ps.

This formula worked ok, too:
=MROUND(T2,1/24/60/2)
but I find it less obvious than:
=MROUND(T2,time(0,0,30))


Colin wrote:

I am using the formula MROUND to get a time hh:mm:ss to the nearest 30seconds.

Cell T2 shows 00:11:24 and U2 shows 30.

I have fomated cell T2 and the cell I want the answer in as hh:mm:ss.

However the answer cell shows 11:30:00. this seems to be taking the MM and
showing as HH and ss as MM.

=TIME(MINUTE(T3),MROUND(SECOND(T3),U3),0) is the formula and the cell is
formatted hh:mm:ss

Can anyone help me to rectify this?


--

Dave Peterson
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
MROUND emz486 Excel Worksheet Functions 3 April 22nd 09 07:40 PM
MROUND Brewer Excel Discussion (Misc queries) 2 June 27th 08 09:44 AM
MROUND Rob Connolly Excel Discussion (Misc queries) 4 August 3rd 07 11:33 PM
MROUND(F2,TIME(0,0,5)) ditchy Excel Discussion (Misc queries) 2 April 4th 07 12:05 AM
Mround ynissel Excel Discussion (Misc queries) 1 June 2nd 05 05:32 PM


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