Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
In meteorology it is the custom to round decimal numbers ending in .5 to the odd. For instance 2.55 becomes 2.3, while 2.35 also becomes 2.3. In Excel they are always rounded up, does anyone know a formulae that will correct this so that they are 'thrown' to the odd.
TIA Lonnie --------------= Posted using GrabIt =---------------- ------= Binary Usenet downloading made easy =--------- -= Get GrabIt for free from http://www.shemes.com/ =- |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Rounding is a bit tricky. Computers do binary math which complicates
identifying numbers whose decimal fractions exactly end in 5, since most such decimal fractions have no exact binary representation and must be approximated. As a result, a single worksheet formula is unlikely to perform as expected in every instance. If you can deal with a user defined function written in VBA (you can call it from worksheet cells as though it was a worksheet function), then the one that I posted at http://groups.google.com/group/micro...2dc7c322cf4b3f should do the trick. Jerry "Lonnie" wrote: In meteorology it is the custom to round decimal numbers ending in .5 to the odd. For instance 2.55 becomes 2.3, while 2.35 also becomes 2.3. In Excel they are always rounded up, does anyone know a formulae that will correct this so that they are 'thrown' to the odd. TIA Lonnie --------------= Posted using GrabIt =---------------- ------= Binary Usenet downloading made easy =--------- -= Get GrabIt for free from http://www.shemes.com/ =- |
#3
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
This may point some direction.....
=IF(ISEVEN(MID(A1,FIND(".",A1,1)+1,1)),ROUNDUP(A1, 1),ROUNDDOWN(A1,1)) BTW, what criteria do you use to ROUND 2.55 to 2.3? Vaya con Dios, Chuck, CABGx3 "Lonnie" wrote: In meteorology it is the custom to round decimal numbers ending in .5 to the odd. For instance 2.55 becomes 2.3, while 2.35 also becomes 2.3. In Excel they are always rounded up, does anyone know a formulae that will correct this so that they are 'thrown' to the odd. TIA Lonnie --------------= Posted using GrabIt =---------------- ------= Binary Usenet downloading made easy =--------- -= Get GrabIt for free from http://www.shemes.com/ =- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I need a formula with rounding up & rounding down to the nearest . | Excel Worksheet Functions | |||
ROUNDING | New Users to Excel | |||
Rounding up or down | Excel Discussion (Misc queries) | |||
Rounding | Excel Worksheet Functions | |||
rounding up after SUM | Excel Worksheet Functions |