+ Reply to Thread
Results 1 to 10 of 10

IF formula to choose a rating

  1. #1
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    IF formula to choose a rating

    Hi,

    I'm seeking your great help on the below issue

    I've different rating matrix as below;

    more than 90% - " Excellent"

    80% to 89% - "Very Good"

    65% to 79% - "Good"

    below 64% - "Low"

    hence if any of the rating falls in a cell need a formula to corresponds that (lets say in cell "A1" if the rating is 85% then result should be "Very Good")

    Thanks
    Last edited by nawas; 11-03-2009 at 09:51 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF formula

    Try

    =Lookup(A1,{0,65,80,90},{"Low","Good","Very Good","Excellent"})
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: IF formula to choose a rating

    Thanks NBVC for your quick response, but it is not working, I believe it is workable by using IF, AND formula. Could you pls help me out.




    Thanks

  4. #4
    Valued Forum Contributor jj72uk's Avatar
    Join Date
    03-22-2008
    Location
    Essex, England
    MS-Off Ver
    Work - Office 2000, Home - Office 2007E
    Posts
    360

    Re: IF formula to choose a rating

    Just tested it.

    Works fine!

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF formula to choose a rating

    Maybe you need:

    =Lookup(A1,{0,0.65,0.80,0.90},{"Low","Good","Very Good","Excellent"})

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: IF formula to choose a rating

    Hi Nawas. NBVC's formula is dead on correct approach.

    If it's not working, post here the exact formula as you used it (cut and paste it directly from your worksheet)...or click GO ADVANCED and use the paperclip icon to post up your workbook so we can see why it isn't working for you.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  7. #7
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: IF formula to choose a rating

    But I don't know whats wrong with my sheet, when I applied the formula it showing "low" only even changing the rates..

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF formula to choose a rating

    Does either of these work?


    =Lookup(A1+0,{0,65,80,90},{"Low","Good","Very Good","Excellent"})

    or


    =Lookup(A1+0,{0,0.65,0.80,0.90},{"Low","Good","Very Good","Excellent"})

  9. #9
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: IF formula to choose a rating

    Sorry NBVC, its great now its working...


    Thanks for your great help..

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF formula to choose a rating

    Actually, I think you probably didn't see my post above...(#5).

    But, if you have percentages in A1, then you need:


    =Lookup(A1,{0,0.65,0.80,0.90},{"Low","Good","Very Good","Excellent"})

    remember that you need to change A1 if your original is in some other cell.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1