Archive of Mr Excel Message Board


Back to Forms in Excel VBA archive index
Back to archive home

rounding to nearest 5

Posted by Samuel Neptune on October 18, 2001 3:21 PM
What formula can I use to get the resulting cell to round off the figure to the nearest 5 or 0. For example if a formula result is 22.23 I would like the result to show 22.25. And if the result is 22.22 I would like the result to show 22.20. Hope this is understandable.

Thanks again


Check out our Excel Resources

=MROUND("Your Formula",0.05) (NT)

Posted by Richard S on October 18, 2001 3:58 PM


Also...

Posted by Aladin Akyurek on October 18, 2001 8:46 PM

=ROUND(your-formula/0.05,0)*0.05

Aladin

==========


This archive is from the original message board at www.MrExcel.com.
All contents © 1998-2004 MrExcel.com.
Visit our online store to buy searchable CD's with thousands of VBA and Excel answers.
Microsoft Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.