XL: Rounding a Number to a Set LimitID: Q24720
|
To round a number to a set limit, use one of the following formulas.
=CEILING(<value>,<limit>)Where <value> is either a cell reference to the actual value to be rounded or a number to be rounded, and <limit> is the number to be rounded to.
=CEILING(A1,.05)
=ROUND(<value>/<limit>,0)*<limit>Where <value> is either a cell reference to the actual value to be rounded or a number to be rounded, and <limit> is the number to be rounded to.
=ROUND(A1/.05,0)*.05
For more information about the ROUND and CEILING functions, see the
appropriate source below.
If you are using Microsoft Excel for Windows 95, version 7.0, click the
Index tab in Help, type the following text
ROUND
-or-
CEILING
ROUND
-or-
CEILING
Additional query words: fraction integer how to nearest
Keywords :
Version : MACINTOSH:1.x,2.x,3.0,4.0,5.0,5.0a; WINDOWS:3.x,4.0,5.0,5.0c,7.0
Platform : MACINTOSH WINDOWS
Issue type : kbhowto
Last Reviewed: March 11, 1999