Excel 函数
Excel 中的 AVERAGEIFS 函数
了解如何在 Excel 中使用 AVERAGEIFS 函数,理解其语法、常见用法,以及如何让 ExcelGPT 按你的真实工作簿结构生成或调整公式。
语法
AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)参数
公式各部分的作用说明。
average_range必填用于 AVERAGEIFS 的参数 average_range。说明(原文):The cells to average.
criteria_range1必填用于 AVERAGEIFS 的参数 criteria_range1。说明(原文):The first range to test.
criteria1必填用于 AVERAGEIFS 的参数 criteria1。说明(原文):The first condition to apply.
criteria_range2+可选用于 AVERAGEIFS 的参数 criteria_range2+。说明(原文):Additional range and criteria pairs.
示例
示例 1:AVERAGEIFS 用法
=AVERAGEIFS(F:F, B:B, "West", C:C, "Active")展示 AVERAGEIFS 的常见用法。说明(原文):Returns the average amount where region is West and status is Active.
示例 2:AVERAGEIFS 用法
=AVERAGEIFS(E:E, B:B, "Support", C:C, "Q1")展示 AVERAGEIFS 的常见用法。说明(原文):Calculates the average score for Support team entries in Q1.
常见错误
确认 AVERAGEIFS 的参数顺序、数据类型和引用方向是否正确。
检查引用范围、空值、错误值或数组溢出是否会影响结果。
先在小范围样例上验证,再扩展到完整工作簿。