I am working on Top10 summary table where Top 10 summary is created based on value selected in $C$1. The problem is that i have multiple same entries in Column C, i am struggling to get multiple values. Any help would be appreciated :
=IF(COUNTIF(C:D,C2)<2,INDEX(R:R,MATCH(C2,INDIRECT(IF(OR($C$1=$F$1,$C$1=$G$1,$C$1=$H$1,$C$1=$I$1),CHAR(MATCH("Average of "&$C$1,$R$4:$Z$4,0)+17+64),CHAR(MATCH("Sum of "&$C$1,$R$4:$Z$4,0)+17+64))&":"&IF(OR($C$1=$F$1,$C$1=$G$1,$C$1=$H$1,$C$1=$I$1),CHAR(MATCH("Average of "&$C$1,$R$4:$Z$4,0)+17+64),CHAR(MATCH("Sum of "&$C$1,$R$4:$Z$4,0)+17+64))),0),1),What to put here):
=IF(COUNTIF(C:D,C2)<2,INDEX(R:R,MATCH(C2,INDIRECT(IF(OR($C$1=$F$1,$C$1=$G$1,$C$1=$H$1,$C$1=$I$1),CHAR(MATCH("Average of "&$C$1,$R$4:$Z$4,0)+17+64),CHAR(MATCH("Sum of "&$C$1,$R$4:$Z$4,0)+17+64))&":"&IF(OR($C$1=$F$1,$C$1=$G$1,$C$1=$H$1,$C$1=$I$1),CHAR(MATCH("Average of "&$C$1,$R$4:$Z$4,0)+17+64),CHAR(MATCH("Sum of "&$C$1,$R$4:$Z$4,0)+17+64))),0),1),What to put here):