+ Reply to Thread
Results 1 to 9 of 9

Which formula to use to calculate ratings

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    42

    Which formula to use to calculate ratings

    Good day,

    I'm looking for a formula to use. I need to calculate ratings on variances in percentages:

    Variance vs expected Rating
    0% 3
    1-5% 2.5
    6-10% 2
    10-15% 1.5
    15%+ 1

    The expected percentage is 5. In other words if a % below 5 is obtained the rating is 3. Between 6% and 10% the rating should be 2.5.

    Thanks

    Lucille
    Last edited by Lucille Boshoff; 02-06-2014 at 09:01 AM. Reason: Wrong title

  2. #2
    Registered User
    Join Date
    02-06-2014
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Formula help please

    Hi Fotis1991,

    Thanks for the info and sorry about that, It's my first time on a forum and was not sure what to use in the title.

    Regards,

    Lucille

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: Which formula to use to calculate ratings

    Try this:

    Data Range
    A
    B
    C
    D
    E
    F
    1
    Lookup Table
    Analysis Results
    2
    0.0%
    3
    4.90%
    2.5
    3
    1.0%
    2.5
    8.50%
    2
    4
    5.0%
    2
    3.20%
    2.5
    5
    10.0%
    1.5
    12.60%
    1.5
    6
    15.0%
    1
    18.00%
    1
    7
    8
    9
    Formula in F2 and copied down
    10
    VLOOKUP(E2,$A$2:$B$6,2,TRUE)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    02-06-2014
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Which formula to use to calculate ratings

    Thanks alansidman,

    I copied the exact values you posted into my sheet but unfortunately it does not work. #N/A is all that displays.

    Regards,

    Lucille

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Which formula to use to calculate ratings

    0% 3
    1-5% 2.5
    6-10% 2
    10-15% 1.5
    15%+ 1
    those 2 ranges over lap

    so does 10-15 and 15%+
    so assuming you mean
    0
    1-5
    6-9
    10-14
    15 and over
    =LOOKUP(A1,{0,0.01,0.06,0.1,0.15},{3,2.5,2,1.5,1})
    Last edited by martindwilson; 02-06-2014 at 10:11 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: Which formula to use to calculate ratings

    See attached
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-06-2014
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Which formula to use to calculate ratings

    Hi, thank you so much for your help!! Have a great day.

  8. #8
    Registered User
    Join Date
    02-06-2014
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    42

    Re: Which formula to use to calculate ratings

    Hi martindwilson,

    Thank you so much for your help!!

    Regards,
    Lucille

  9. #9
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,743

    Re: Which formula to use to calculate ratings

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

Tags for this Thread

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