#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default round up

I am using this formula to rond up times, in order to caclculate

=ROUNDUP((C28-B28)*24,0)

the only thing is sometimes it is best to rounddown,

for example, numbers under a quarter hour should go down, an numbers, or
times over a quarter hour should go up

If i only want to do the follwoing is there a formula for this

3:50 = 4:00
3:10 = 3:00
any number ending with :10 round down
any numaber ending with :50 round up?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default round up

If you only need to differentiate between :10 and :50, just use ROUND instead
of ROUNDUP.
To address the initial question, where anything under :15 rounds down and
anything :15 or over rounds up, you can still use round, but add a few
minutes to bias the rounding. In particular, :15 is 1/4 hour; rounding
normally goes up beginning with 1/2. So you need to add (1/2 - 1/4) to the
elapsed hours:
=round(((c28-b28)*24)+1/4,0)

"Siteman" wrote:

I am using this formula to rond up times, in order to caclculate

=ROUNDUP((C28-B28)*24,0)

the only thing is sometimes it is best to rounddown,

for example, numbers under a quarter hour should go down, an numbers, or
times over a quarter hour should go up

If i only want to do the follwoing is there a formula for this

3:50 = 4:00
3:10 = 3:00
any number ending with :10 round down
any numaber ending with :50 round up?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default round up


RoundUp does exactly what is says. Try Round instead (check out the
Help file for detailed explanations)


--
mdmackillop
------------------------------------------------------------------------
mdmackillop's Profile: http://www.thecodecage.com/forumz/member.php?userid=113
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=57731

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
Round then round? pgarcia Excel Discussion (Misc queries) 5 September 8th 08 07:30 PM
Don't Round... Michael Miazga Excel Discussion (Misc queries) 7 July 20th 07 11:47 PM
Round up rexmann Excel Discussion (Misc queries) 7 April 13th 06 01:48 PM
Round up to 100? Fred Holmes Excel Worksheet Functions 1 February 21st 05 02:40 PM
How do I ROUND() round off decimals of a column dataset? Højrup Excel Worksheet Functions 2 January 12th 05 10:50 AM


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