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

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -