Excel: round currency to even cents
I need to round currency to the nearest even cent.
Can I use either the round or even paste functions & if so what is the syntax?
Software
I need to round currency to the nearest even cent.
Can I use either the round or even paste functions & if so what is the syntax?
by dklippert
by dklippert
http://www.j-walk.com/ss/excel/eee/eee011.txt
POWER FORMULA TECHNIQUE
by Stephen Bullen
This formula perform 'bankers rounding' for a number (Num) to a given number
(Plc) of significant digits.
=MROUND(Num,IF(VALUE(RIGHT(Num/10^(INT(LOG(ABS(Num)))-Plc+1),2))=0.5,2,1)*
SIGN(Num)*10^(INT(LOG(ABS(Num)))-Plc+1))
If you define 'Fact' as =10^(INT(LOG(ABS(Num)))-Plc+1), this reduces to:
=MROUND(Num,IF(VALUE(RIGHT(Num/Fact,2))=0.5,2,1)*SIGN(Num)*Fact
******
This has also been suggested, but I haven't tried it.
Function RoundEven(num, Optional digits)
If IsMissing(digits) Then digits = 0
RoundEven = Round(CDbl(CStr(num)), digits)
End Function
by kspugh
This discussion is closed to new replies.
Sort by Trending