了解没有 "MedianIFs" 函数,是否有公式可以解决?

Understanding there is no "MedianIFs" function, is there a formula work around?

本质上,我需要像 "averageifs" 这样的公式来找到中位数

我需要 H:H if A:A="Example", if C:C = B1

的中位数

这是我的上下文平均数。

=AVERAGEIFS(Promo!$H:$H69,Promo!$A:$A69,PSheet!$B10,Promo!$C:$C69,PSheet!$B)

任何帮助将不胜感激!!

使用数组公式:

=MEDIAN(IF((Promo!$A:$A69=PSheet!$B10)*(Promo!$C:$C69=PSheet!$B),Promo!$H:$H69))

作为数组公式,退出编辑模式时必须使用 Ctrl-Shift-Enter 而非 Enter 确认。