Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
What is the formula to correct the decimal number to the nearest even (not
odd number)number |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=mround(A2,2).
Look at Excel help for the mround function. -- David Biddulph "santosh kutre" <santosh wrote in message ... What is the formula to correct the decimal number to the nearest even (not odd number)number |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How about
Even: =INT(A1)+ISODD(A1) Odd: =INT(A1)+ISEVEN(A1) -- __________________________________ HTH Bob "santosh kutre" <santosh wrote in message ... What is the formula to correct the decimal number to the nearest even (not odd number)number |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() =INT(A1) + ISODD(A1) =MROUND(A1, 2) If A1<0, the first formula returns an odd number and the second returns #NUM! If your data includes negative numbers, you could use either =INT(A1) + ISODD(INT(A1)) =MROUND(A1, 2*SIGN(A1)) MROUND requires the Analysis ToolPak add-in. -- shg ------------------------------------------------------------------------ shg's Profile: http://www.thecodecage.com/forumz/member.php?userid=13 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=24393 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Round a number to the Nearest .25 | Excel Worksheet Functions | |||
Excel. How to round a number to nearest half number? | Excel Discussion (Misc queries) | |||
Converting 2-place decimal value to floating point decimal number with leading zero | Excel Discussion (Misc queries) | |||
converting number string to number with decimal | Excel Worksheet Functions | |||
How to convert a decimal number to a non-decimal number? | Excel Worksheet Functions |