Excel 函数
Excel 中的 ROUND 函数
了解如何在 Excel 中使用 ROUND 函数,理解其语法、常见用法,以及如何让 ExcelGPT 按你的真实工作簿结构生成或调整公式。
语法
ROUND(number, num_digits)参数
公式各部分的作用说明。
number必填用于 ROUND 的参数 number。说明(原文):The number you want to round.
num_digits必填用于 ROUND 的参数 num_digits。说明(原文):The number of digits to round to, including negative values for tens or hundreds.
示例
示例 1:ROUND 用法
=ROUND(F2, 2)展示 ROUND 的常见用法。说明(原文):Rounds the value in F2 to two decimal places for currency display.
示例 2:ROUND 用法
=ROUND(B2, -2)展示 ROUND 的常见用法。说明(原文):Rounds the number in B2 to the nearest hundred for higher-level summaries.
常见错误
确认 ROUND 的参数顺序、数据类型和引用方向是否正确。
检查引用范围、空值、错误值或数组溢出是否会影响结果。
先在小范围样例上验证,再扩展到完整工作簿。