I liked the simplicity =MATCH(A1,PERCENTILE(A$1:A$131,{5,4,3,2,1}/5),-1) . I compared the results with a two-step manual process, which included: 1) calculate 4 percentiles for .2, .4. .6.8 and 2) the combination of nested IF expressions ended up with the same result as = Match the recommended formula in the same 250 values.
IE STEP 1:
=PERCENTILE.INC($J$3:$J$257,0.2) -> Adjust 0.2 to 0.4; 0.6; 0.8 accordingly
STEP 2:
=IF(J3<=$AB$3,5, IF(J3<=$AB$4,4, IF(J3<=$AB$5,3, IF(J3<=$AB$6,2, 1))))
Compare each value with the calculated = PERCENTILE.INC in STEP 1
source share