I would also go with the LOOKUP suggested by Kris as it is direct, and simple. But if you do not want to make any change to your layout, you could also use a CSE formula
=INDEX($H$3:$H$9,MATCH(B2,--TRIM(RIGHT(SUBSTITUTE($G$3:$G$9,"-",REPT(" ",20)),10)),-1)) Regards, Sam Mathai Chacko On Tue, Feb 7, 2012 at 9:52 PM, Kris <krishnak...@gmail.com> wrote: > Hi, > > In C2 and copied down, > > =LOOKUP(B2,$I$3:$J$11) > > and arrange your table like > > RANGE GRADE 0 No Grade 3.2 D 4.1 C2 5.1 C1 6.1 B2 7.1 B1 8.1 A2 > 9.1 A1 10.1 No Grade > Kris > > -- > FORUM RULES (986+ members already BANNED for violation) > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > will not get quick attention or may not be answered. > > 2) Don't post a question in the thread of another member. > > 3) Don't post questions regarding breaking or bypassing any security > measure. > > 4) Acknowledge the responses you receive, good or bad. > > 5) Cross-promotion of, or links to, forums competitive to this forum in > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > > > ------------------------------------------------------------------------------------------------------ > To post to this group, send email to excel-macros@googlegroups.com > -- Sam Mathai Chacko -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com
HELP REQUIRED.xls
Description: MS-Excel spreadsheet