Astonishing that this functionality is not present in such an ancient application
Is there a known workaround?
I'm on about the part where you can change the aggregation type for a value field: It has sum, min, max, avg etc but not median
Astonishing that this functionality is not present in such an ancient application Is there a known workaround? I'm on about the part where you can change the aggregation type for a value field: It has sum, min, max, avg etc but not median 


For simple examples you can use array formulas instead of a PivotTable. If you have the source data in rows 10:1000, category designations of the source data in column A, the source data values in column C, and the category being considered in G3, the following array formula will find the median:
Commit the entry with Ctrl+Shift+Enter, and copy down for the categories in G4, G5 etc 


Unfortunately, there is nothing built in to excel's pivot table function that will do this. You could try this addon though. It claims to be able to do it, but I've never used it. You could do the median work with the data and then include it in pivot table data, but at that point.. you know.. what's the point of the table.. 


there's a way to do median (or any formula) if your pivot table is simple (does not have sub totals in the table). other than that, there's no other way to gracefully include median calcs in your pivot table. too bad can't include attachments... i'll do a snapshot of my example: i used the offset function described here: http://www.myonlinetraininghub.com/exceloffsetfunctionexplained also, download the workbook and go to the pivot table tab  that's where i did my example this is the end result  see image here: NOTE: you cannot put the median/offset formula cell in the same column that you are grabbing median value from. ALSO, the offset allows you to grab median value from the value of the column less the grand total row. unfortunately, there's no graceful way to do median (or any other) calc when you're working with a more complex pivot table (i.e., that has subtotals in the pivot table). 


You can actually use the



I have found a turnaround if you want to quickly obtain some specific median values in your pivot table: Not perfect, but it could help in some situations..


