excel - How To Calculate The Average Of Unique Values In One Column Using DAX Query? -
i want calculate average of distinct values in 1 column. have column having sales values . 2 2 3 3 4 4 5 5 want distinct value average ((2+3+4+5)/8 ) . distinct values divided total number of values . result should 1.8 . in advance .
you have "excel" tag, want in excel? if data in a1:a10
can use array formula
=sum(if(match(a1:a10,a1:a10,0)=row(a1:a10)-min(row(a1:a10))+1,a1:a10))/count(a1:a10)
confirmed ctrl+shift+enter
Comments
Post a Comment