Excel - calculating the median without removing duplicates -
i have table looks this:
id  total 3   3 3   3 3   3 4   11 4   11 4   11 4   11 4   11 4   11 6   9 6   9 7   13 7   13 7   13 7   13 7   13 7   13 7   13 7   13 7   13 7   13 7   13 7   13 7   13   i calculate median of column b (total), excluding duplicate combinations of columns , b. achieved constructing table below, , calculating median table.
id  total 3   3 4   11 6   9 7   13   is there way of obtaining median without having go through process of manually deleting duplicates?
=median(if(frequency(match(a2:a25&"|"&b2:b25,a2:a25&"|"&b2:b25,0),row(a2:a25)-min(row(a2:a25))+1),b2:b25))      
Comments
Post a Comment