Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Erik Millerd
 
Posts: n/a
Default How can I round up a fraction?

I have the following formula : =ROUND(D22/125*16,0)/16
How can I round this formula up?
Using =ROUND(D22/125*4,0)/4 has rounded to 1/4 in crements, but it rounds
down not up.

Thanks
  #2   Report Post  
David Billigmeier
 
Posts: n/a
Default

Check out ROUNDUP()


--
Regards,
Dave


"Erik Millerd" wrote:

I have the following formula : =ROUND(D22/125*16,0)/16
How can I round this formula up?
Using =ROUND(D22/125*4,0)/4 has rounded to 1/4 in crements, but it rounds
down not up.

Thanks

  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 28 Sep 2005 06:45:02 -0700, Erik Millerd
wrote:

I have the following formula : =ROUND(D22/125*16,0)/16
How can I round this formula up?
Using =ROUND(D22/125*4,0)/4 has rounded to 1/4 in crements, but it rounds
down not up.

Thanks


Your formula does arithmetic rounding: It will round up if the D22/125 is more
halfway or more between. Eg. 25.375 will round to 25 1/2 25.374 will round to
25 1/4.

If you always want to roundup to the next highest 1/4; merely substitute the
ROUNDUP function for the ROUND function in your formula.

=ROUNDUP(D22/125*4,0)/4


Or, a bit simpler if you are always dealing with positive numbers:

=CEILING(D22/125,0.25)



--ron
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
How to make excel not round real numbers when making a histogram? Leedawg Charts and Charting in Excel 1 September 21st 05 07:36 PM
Round a number in nested function kim Excel Worksheet Functions 1 July 6th 05 11:45 AM
Round whole numbers up and down JoeBed Excel Discussion (Misc queries) 4 July 5th 05 05:21 PM
How do I ROUND() round off decimals of a column dataset? Højrup Excel Worksheet Functions 2 January 12th 05 10:50 AM
Round Time cpme Excel Worksheet Functions 2 November 18th 04 07:09 PM


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