Excel:如何将数字四舍五入到最接近的 ten2?
可能的重复:
Excel:如何将数字四舍五入到最接近的十位?
我几个小时前提出了这个问题,但我不是很具体:
也许标题并没有太多暗示。让我用一个 例子。我有:
<前><代码>12345.6 2345.1 12345.00000001
我希望这些数字向上舍入为 12350。我该怎么做?如果 如果可能的话,我宁愿使用公式而不是VBA。
这是最初的问题,但同时,我想要相同的结果: 12340.0001
将在 12350
中修改。不知怎的,我不知道这是否仍然是一个回合操作。 :)
我很抱歉重复了这个问题,但是在第一个问题上发表评论没有引起足够的关注。 :)
Possible Duplicate:
Excel: How to roundup a number to the closest ten?
I made this question a few hours ago, but I wasn't very specific:
How to roundup a number to the closest ten?
Probably the title is not very suggestive. Let me explain you with an
example. I have:
12345.6 2345.1 12345.00000001
I want those numbers to be roundup to 12350. How can I do this? If
possible, I would rather use formulas instead of VBA.
This is the original question, but at the same time, I want the same result for:12340.0001
to be modified in 12350
. Somehow I don't know if this is still a round operation. :)
I'm sorry for duplicating the question, but posting a comment at the first question, didn't draw enough attention. :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除以 10,用常规函数舍入 (Round x,0),然后再次乘以 10...
Divide by 10, round with the regular function (Round x,0) and multiply by 10 again...