XL: Rounding to a Number That Is Not a Multiple of 10Last reviewed: February 19, 1998Article ID: Q32378 |
The information in this article applies to:
SUMMARYThe MROUND worksheet function returns a number that is rounded to a specific multiple. However, MROUND requires the Analysis ToolPak add-in to be installed before the function is available. If you do not wish to install the Analysis ToolPak, you can use the ROUND worksheet function instead.
MORE INFORMATIONTo round a number to the nearest multiple of "x" by using ROUND in Microsoft Excel, use the following syntax:
=ROUND(<value or reference>/x,0)*xFor example, to round a number to the nearest multiple of 5, enter the following into a worksheet:
A1: 17 B1: =ROUND(A1/5,0)*5The resulting function returns 15.
REFERENCESFor more information about the ROUND function, click the Index tab in Microsoft Excel Help, type the following text
ROUND worksheet functionand then double-click the selected text to go to the "ROUND" topic.
|
Additional query words: XL97 nth
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |