charleyboy81
New Member
- Joined
- Jun 15, 2010
- Messages
- 4
Dear MrExcel-ers,
Thanks to this forum, I discovered how to Min-IF without arrays, see formula A below.
I tried to apply this method to create Median-IF without arrays, see formula B below.
So, two questions:
1) Can someone enlighten me why A works and B doesn't?
2) Is Median-IF possible without using arrays?
Note, when I say "arrays", I mean ctrl+shift+enter formulas.
Formula A: =LARGE(INDEX(([CriteriaRange]=[Criteria])*[ValueRange],0),COUNTIF([CriteriaRange],[Criteria]))
Formula B: =MEDIAN(INDEX(IF([CriteriaRange]=[Criteria],[ValueRange],""),0))
Thanks for your help, Charley.
Thanks to this forum, I discovered how to Min-IF without arrays, see formula A below.
I tried to apply this method to create Median-IF without arrays, see formula B below.
So, two questions:
1) Can someone enlighten me why A works and B doesn't?
2) Is Median-IF possible without using arrays?
Note, when I say "arrays", I mean ctrl+shift+enter formulas.
Formula A: =LARGE(INDEX(([CriteriaRange]=[Criteria])*[ValueRange],0),COUNTIF([CriteriaRange],[Criteria]))
Formula B: =MEDIAN(INDEX(IF([CriteriaRange]=[Criteria],[ValueRange],""),0))
Thanks for your help, Charley.