Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Niklas
Excel has no function for this (and I've always wondered why), but try this: =ROUND(A1,2-INT(LOG(ABS(A1)))) The 2 is "significant digits minus 1", change to fit your needs or change it to a cell variable. HTH. best wishes Harald "Niklas" skrev i melding ... Hi Are their any worksheet function I can use to convert a value to the desiered significant values? At the moment I have created a UDF doing this, but I prefer to use worksheet function. Some examples Value Significant digits New value -0.001 3 -0.001 1.99999999 3 2.00 2.00000001 3 2.00 0.012345 3 0.0123 0.00010 3 0.00010 Regards /Niklas |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
significant digits | Excel Worksheet Functions | |||
Excel adds significant digits, resulting in errors in calculations | Excel Worksheet Functions | |||
Significant digits | Excel Worksheet Functions | |||
Calculations and significant digits | Excel Programming | |||
Calculations and significant digits | Excel Programming |