Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Round Down to the nearest multiple

could anyone help me out with a formula similar to MROUND but that always
rounds down? for example I have in cell A1 5.99 and I want to round this to
the nearest LOWER 1/8th. So as where MROUND would give me 6.00, i need this
formula to round to 5.875.

any help is greatly appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Round Down to the nearest multiple

Maybe this...

=FLOOR(A1,0.125)

--
Biff
Microsoft Excel MVP


"Xhawk57" wrote in message
...
could anyone help me out with a formula similar to MROUND but that always
rounds down? for example I have in cell A1 5.99 and I want to round this
to
the nearest LOWER 1/8th. So as where MROUND would give me 6.00, i need
this
formula to round to 5.875.

any help is greatly appreciated!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Round Down to the nearest multiple

But with the warning that with Biff's formula you'll get a #NUM! error if A1
is negative.

=FLOOR(A1,0.125*SIGN(A1)) will work, if rounding "down" is regarded as
towards zero.
=IF(A10,FLOOR(A1,0.125),CEILING(A1,-0.125)) if "down" is towards minus
infinity.
--
David Biddulph

"T. Valko" wrote in message
...
Maybe this...

=FLOOR(A1,0.125)

--
Biff
Microsoft Excel MVP


"Xhawk57" wrote in message
...
could anyone help me out with a formula similar to MROUND but that always
rounds down? for example I have in cell A1 5.99 and I want to round this
to
the nearest LOWER 1/8th. So as where MROUND would give me 6.00, i need
this
formula to round to 5.875.

any help is greatly appreciated!





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Round Down to the nearest multiple

On Tue, 26 Jan 2010 18:25:01 -0800, Xhawk57
wrote:

could anyone help me out with a formula similar to MROUND but that always
rounds down? for example I have in cell A1 5.99 and I want to round this to
the nearest LOWER 1/8th. So as where MROUND would give me 6.00, i need this
formula to round to 5.875.

any help is greatly appreciated!


If by "ROUNDDOWN" you mean round closer to zero, then:

=ROUNDDOWN(A1*8,0)/8

--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 do I round numbers to the nearest multiple of 10 or 5? Wasatch Excel Worksheet Functions 5 May 3rd 23 08:43 PM
How can I Round up to the nearest .25 Shane Devenshire[_2_] Excel Discussion (Misc queries) 0 December 30th 08 10:19 PM
How can I Round up to the nearest .25 T. Valko Excel Discussion (Misc queries) 0 December 30th 08 08:57 PM
Round to nearest multiple James M Excel Discussion (Misc queries) 4 June 11th 08 11:13 PM
Can you round up numbers to the nearest multiple of ten? Tilly Excel Worksheet Functions 3 June 5th 06 04:52 PM


All times are GMT +1. The time now is 10:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"