Excel: 如何对 B 列中与 A 列中具有相同数字的所有数字进行平均?

Excel: How to average all numbers in column B that have the same number in Column A?

如何计算在 C 列中具有相同数字的 H 列中所有数字的平均值。

例如,如何输出 C 值为 2 的所有 H 值的平均值?

非常感谢!

使用 AVERAGEIF,例如

=AVERAGEIF(C:C,2,H:H)