ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   rounding function (https://www.excelbanter.com/excel-discussion-misc-queries/104133-rounding-function.html)

rcc

rounding function
 
I'm trying to round numbers to the nearest 10, but when I enter something
like =mround(16,10) into the cell, I just get a formula error. Do I have
some kind of seeting not working somewhere, or something?

Thanks.

bpeltzer

rounding function
 
From the mround function help:

If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in.

How?

On the Tools menu, click Add-Ins.
In the Add-Ins available list, select the Analysis ToolPak box, and then
click OK.
If necessary, follow the instructions in the setup program.


"rcc" wrote:

I'm trying to round numbers to the nearest 10, but when I enter something
like =mround(16,10) into the cell, I just get a formula error. Do I have
some kind of seeting not working somewhere, or something?

Thanks.


Gary''s Student

rounding function
 
Make sure the Analysis ToolPak addin is loaded
--
Gary's Student


"rcc" wrote:

I'm trying to round numbers to the nearest 10, but when I enter something
like =mround(16,10) into the cell, I just get a formula error. Do I have
some kind of seeting not working somewhere, or something?

Thanks.


rcc

rounding function
 
Thanks, easy enough.

"rcc" wrote:

I'm trying to round numbers to the nearest 10, but when I enter something
like =mround(16,10) into the cell, I just get a formula error. Do I have
some kind of seeting not working somewhere, or something?

Thanks.


Alan

rounding function
 
Try,
=MROUND(16,"10")
Or with the value in A1,
=MROUND(A1,"10")
Regards,
Alan.
"rcc" wrote in message
...
I'm trying to round numbers to the nearest 10, but when I enter something
like =mround(16,10) into the cell, I just get a formula error. Do I have
some kind of seeting not working somewhere, or something?

Thanks.




David Biddulph

rounding function
 
"Gary''s Student" wrote in message
...
"rcc" wrote:

I'm trying to round numbers to the nearest 10, but when I enter something
like =mround(16,10) into the cell, I just get a formula error. Do I have
some kind of seeting not working somewhere, or something?


Make sure the Analysis ToolPak addin is loaded


Or an alternative is
=ROUND(16,-1)
--
David Biddulph




All times are GMT +1. The time now is 05:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com