SOLVED

MEDIANIFS

Copper Contributor

I want to use MEDIAN with multiple conditions, but not found MEDIANIFS function like AVERAGEIFS function. Is there any way? 

 

MedianIFs.jpg

 

 

6 Replies
Hello,

There is no function called MEDIANIFS. There are only SUMIFS, COUNTIFS, AVERAGEIFS, MINIFS and MAXIFS
Thanks for your response. But how can I solve it, is there any VBA code or any other way?

@Sanowar 

You can get a MEDIANIFS with Power Query's grouping feature.

 

best response confirmed by Sanowar (Copper Contributor)
Solution

@Sanowar 

You may use MEDIAN with nested IF() on the range taking into account all FALSE will be ignored. Please check https://exceljet.net/formula/conditional-median-with-criteria

@Sergei Baklan Thank you so much!

@Sanowar , glad to help

1 best response

Accepted Solutions
best response confirmed by Sanowar (Copper Contributor)
Solution

@Sanowar 

You may use MEDIAN with nested IF() on the range taking into account all FALSE will be ignored. Please check https://exceljet.net/formula/conditional-median-with-criteria

View solution in original post