So for 212, will the average be Average(0,0,3,4) or Average(3,4)
EDIT: For the former, use D2=IF(COUNTIF(B$2:B2,B2)=1,AVERAGEIF($B$2:$B$17,B2,$ C$2:$C$17),"") and drag down
For the latter, use D2=IF(COUNTIF(B$2:B2,B2)=1,AVERAGE(IF(($B$2:$B$17=B2 )*($C$2:$C$17<>0),$C$2:$C$17,"")),"") as CSE (Array) formula




Reply With Quote
Bookmarks