How do you figure out the MEDIAN of a column taking into account filters?

后端 未结 2 1969
逝去的感伤
逝去的感伤 2021-02-19 14:07

I\'ve recently discovered that you can use SUBTOTAL for various functions which allow you to sum up or find totals of a column, even whilst there are filters being

2条回答
  •  -上瘾入骨i
    2021-02-19 14:35

    True, SUBTOTAL does not include MEDIAN but you can obtain it by first using the SUBTOTAL and then substituting a part of the Excel formula in several or more columns/cells where you need the MEDIAN.

    Imagine you used AVERAGE in the Excel subtotal function, then the formula would be for instance =SUBTOTAL(1;E10:E12) Now, replace all occurrences of "SUBTOTAL(1;" with "MEDIAN(" (without the quotes).

提交回复
热议问题