I have added column E in sheet Data and here calculated the median using a formula similar to your own.
Note that the median in Pivot_2 is exactly 32 while =AVERAGE(Data!C2:C100) is 32,8484848484849.
Please note that the data source of Pivot_2 is Data!A1:E100.
|