I have the following data:
I want to know the median for days from submission to PRD based on request types and the year. For example, the median for days from submission to PRD for the edit (and other types) in years 2016,2017,2018,2019, and so on in a pivot table.
However, it seems pivot table does not have the median function. I was wondering if there is any workaround for this.
so far, I was able to come up with this formula:
{=MEDIAN(IF($D$2:$D$3650=D2,IF($B$2:$B$3650=B2,$E$2:$E$3650)))}
but, it does not give me correct value. For example, I want media for the "EDIT" request type in year 2016, or median for amendment for year 2019, or median for all request types for all years.
Thank you for your time.
xx.png
Bookmarks