Hi Excel Gods
I have 2 formulae that work just fine
=AVERAGEIF($D$5:$D$340,">=150000")
=AVERAGEIF($D$5:$D$340,"<50000")
How do I get one to show the average of the values of the instances in between, ie <150000 AND >=50000?
=AVERAGEIF($D$5:$D$340,"<150000",$D$5:$D$340)*AND(AVERAGEIF($D$5:$D$340,">=50000",$D$5:$D$340)) returns an incorrect value
as does =SUMIF(D$5:D$340,"<150000")-(SUMIF(D$5:D$340,">=50000")))/(COUNTIF(D$5:D$340,"<150000")-COUNTIF(D$5:D$340,">=50000"))
What am I missing?
Bookmarks