我需要一个公式,根据数字是数十,数百,数千,数十,数百万等不同来对数字进行舍入.我知道Excel中的基本舍入函数但不确定如何准确地执行此操作.
例子:
1 - 999 need to be rounded up to the nearest 10.
1.000 - 99.999 need to be rounded up to the nearest 100.
100.000 - 999.999 need to be rounded up to the nearest 1.000.
1.000.000 - 999.999.999 need to be rounded up to the nearest 100.000.
1.000.000.000 - 999.999.999.999 need to be rounded up to the nearest 1.000.000
Run Code Online (Sandbox Code Playgroud)
所有这一切都在单一的公式中,可以很容易地被复制下来.
任何帮助将不胜感激!