ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   a query for pivot table (https://www.excelbanter.com/excel-discussion-misc-queries/174400-query-pivot-table.html)

Arvind

a query for pivot table
 
Is it possible to have a median in pivot table for data. same as we are
having count or Sum function. i didnt find it in options any where.

Bernie Deitrick

a query for pivot table
 
Arvind,

No, you need to use worksheet functions to calculate median - you can array enter (using
Ctrl-Shift-Enter) a formula like:

=MEDIAN(IF($B$2:$B$200="NE", $C$2*:$C$200))

That will return the median of numbers in C2:C200 where B2:B200 is NE. (or use a cell reference)

HTH,
Bernie
MS Excel MVP


"Arvind" wrote in message
...
Is it possible to have a median in pivot table for data. same as we are
having count or Sum function. i didnt find it in options any where.





All times are GMT +1. The time now is 02:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com