Excel Formula - Rank -
i trying figure out how rank values based on percentages. ever cell has highest percentage, should ranked 1st. ever has 2nd highest percentage, should ranked 2nd. same thing 3rd value.
however, comparing 12 different values (using cells a1 a12). how rank each value show first 3 highest percentages? have been using rank value, however, don't want 12 values shown..so values 4-12 should not display or should hidden.
also, need accurate within 0.1. example, if 1 value 18.5% , 18.7%, need 18.7% ranked higher, , not equal (which happens rank formula).
any idea how this?
thanks,
with data in a1 through a12, in c1 enter:
=large($a$1:$a$12,row())
and copy down through c4
to show fewer items, copy through c3, etc.
edit#1:
leave formulas in column c. in column d enter 1, 2, 3.
then in b1 enter:
=iferror(vlookup(a1,$c$1:$d$3,2,false),"")
and copy down. here example:
edit#2:
in b2 enter:
=if(rank(a1,$a$1:$a$12,0)<4,rank(a1,$a$1:$a$12,0),"")
and copy down:
Comments
Post a Comment