Patrick,
You dont have to copy it and sort in the ascending order because if you see Column-i and k i have sorted them in ascending order. Thanks for posting but instead of lookup in this you have used a vlookup and then a range formila to do the same thing, sorry for not being clear at the first time by Simplifying i mean shorting the formula further then exisiting to what i have or using some other logic which is different then what im doing.
Saurabh





by: matthewspatrickPosted on 2009-09-08 at 09:34:53ID: 25283589
Hello Saurabh,
7,1)=1,C4> =MAX($F$13 :$F$17)),V LOOKUP(C4, $F$13:$H$1 7,3),VLOOK UP(C4,$F$1 3:$H$17,3) +(C4-VLOOK UP(C4,$F$1 3:$H$17,1) )/(INDEX($ F$13:$F$17 ,MATCH(C4, $F$13:$F$1 7,1)+1)-VL OOKUP(C4,$ F$13:$H$17 ,1)))
AX($H$13:$ H$17),VLOO KUP(C4,$F$ 13:$H$17,3 )+(C4-VLOO KUP(C4,$F$ 13:$H$17,1 ))/(INDEX( $F$13:$F$1 7,MATCH(C4 ,$F$13:$F$ 17,1)+1)-V LOOKUP(C4, $F$13:$H$1 7,1)))
I copied your rating grid to F11:K17, and sorted it on the From column ascending. I then used this formula
to replicate your result:
=IF(OR(MATCH(C4,$F$13:$F$1
I like that, because if you ever end up with more rows in the grid, you would just need to update the range
references, but the logic stays the same.
BTW, if you want to allow prorating to the scores with a rating of 1...
=IF(C4>=MAX($F$13:$F$17),M
Regards,
Patrick