ROUND function

J

Jason O

Hi,

Just a quick question. I was wanting to round cells to the nearest 25 (i.e
0,25,50,75 etc..), and thought that the ROUND function may incorporate the
ability to specify the 'nearest factor' in this case, 25. It wouldn't seem
that it can. What I used in the end to give cell A7 rounded to the nearest
25 was:

=ROUND((A7/25),0)*25

Is this how to best do it? And then just replace the 25 for any other
integer which you want to round to? It just seemed a bit long-winded.

Cheers

Jason
____
 
J

JE McGimpsey

Jason O said:
Hi,

Just a quick question. I was wanting to round cells to the nearest 25 (i.e
0,25,50,75 etc..), and thought that the ROUND function may incorporate the
ability to specify the 'nearest factor' in this case, 25. It wouldn't seem
that it can. What I used in the end to give cell A7 rounded to the nearest
25 was:

=ROUND((A7/25),0)*25

Is this how to best do it? And then just replace the 25 for any other
integer which you want to round to? It just seemed a bit long-winded.

That's the best way, IMO, though the internal parens aren't strictly
necessary. Jim's given you another: MROUND, though that needs the
Analysis Toolpak Add-in (Tools/Add-ins..., check the appropriate
checkbox). As long as anyone who uses your spreadsheet has the ATP,
MROUND is easier, but there are some workplaces where the ATP isn't
installed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top