In excel there is way to round numbers to significant digit that adapts to the size of the number being rounded. The following is the formula for it
ROUND(number,digits-(1+INT(LOG10(ABS(number)))))
Here,
- ABS converts the value to an absolute (positive) value
- LOG10 gets the exponent, in this case 6 with a decimal value
- INT trims off the decimal part of the exponent
- The formula uses the exponent and the supplied significant digits to figure out the right number of digits to give ROUND
- ROUND rounds the number using the number of digits supplied
What is the survey 123 equivalent for ABS and INT in excel?
(Using formula explanation from this site >> https://exceljet.net/formula/round-a-number-to-n-significant-digits)