round off upwards


Posted by DANNY DEWILDE on January 06, 2002 3:22 AM

Hello,
Can somebody tell me if its possible to round off upwards time notifications in excel XP ?
example:
16:34 most be 17:00
134:07 most be 135:00
Thanks
Danny DEWILDE - BELGIUM

Posted by Aladin Akyurek on January 06, 2002 4:13 AM

Danny --

I guess you meant 134:07 ===> 134:00, not 135:00.

=ROUND(A1*24,0)/24

Aladin

========

Posted by Aladin Akyurek on January 06, 2002 4:30 AM

Otherwise:

=IF(MINUTE(A1)>0,(A1*1440+60-(MINUTE(A1)))/1440,A1)

Posted by Tom Urtis on January 06, 2002 4:36 AM

If you mean 16 hours and 34 minutes rounded up to 17 hours, or one hundred thirty four hours and seven minutes rounded up to one hundred thirty five minutes, format your cells as [hhh:mm] (or [hh:mm] or [h:mm]) and employ the formula
=CEILING(A1,60/(60*24))

Tom Urtis



Posted by Aladin Akyurek on January 06, 2002 4:49 AM

Did not remember CEILING... Need more morning coffee, I guess.

Aladin

======