+ Reply to Thread
Results 1 to 15 of 15

Maths for a scoring system..

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2008
    Posts
    7

    Lightbulb Maths for a scoring system..

    Hi folks,

    I'm working on a spreadsheet at the moment which has a scoring system built in. I'm struggling with simplifying the formulae, so I'm hoping someone here might have some ideas. I'm not much of a maths person unfortunately.

    I'll try to explain the system as simply as possible, using a crude fruit analogy.

    ....................................................

    Apples, bananas, peaches etc.
    I want to give each fruit an overall score, based on three very different, non related criteria, eg, taste (T), availability (A), and shelf-life (S)...

    Some scores are subjectively awarded, and others are empirical, but either way, I award a rating out of 10 for each of the criteria T, A and S.

    The catch...
    The catch, is that a zero awarded to any of the criteria, needs to nullify the overall score.

    What good is a tasty apple with 3 months shelf life, if there is no availability? And what good is a tasty apple with copious supply, if shelf-life is less than an hour?

    Adding or averaging...
    So if I simply add the points, an overall score of 20 could be awarded for (T=0, A=10, S=10), when it should get no score, or very little.
    (T=3, A=3, S=3) would actually be preferable, but only gets a score of 9 using simple adding.

    Multiplying
    I thought about multiplying, because once there is a zero in the equation, everything is nullified.

    It's seems to be closer to what I need, but the ranges of results (1-1000) are dramatic.

    The only problem is that I can see is that 10x10x1 would beat 4x4x4 (for example), when the less problematic 4x4x4 is much more ideal.
    I guess you could think of it like a house of cards. I want as little weakness as possible. 10,10,10 is the ideal, but I would go with 4,4,4 any day over 10,10,1.....

    Pulling my hair out.
    I think I might have get used to the fact that a simple formula won't work, and I might need to create some sort of bonus system.

    ....................................................

    Thanks in advane for any help with this!

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

    Re: Maths for a scoring system..

    I will certainly help you construct a set of formulas to apply the logic you decide on, but you will have to work out what you want first. There isn't really a shortcut to this part. You'll have to decide a method of scoring and then ranking the scores. We can help more fully from that point.
    _________________
    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!)

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Maths for a scoring system..

    Perhaps in addition to multiplying the three scores, you can divide by the difference between the largest and the smallest score (plus 1). Thus with 4, 4, 4 there is no spread in the scores so you would be dividing by 1 giving a total score of 64, but with 10, 10, 1 you would then be dividing by 10 giving a total score of only 10.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    08-30-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2008
    Posts
    7

    Re: Maths for a scoring system..

    Thanks for your reply JB.
    I'm not sure if all this is possible with Excel, and I'm not great at maths, so at the risk of embarassing myself, I'll try to continue! ..

    The first idea I had was a "weakest link" system, where the lowest of the three points causes a penalty on the overall score, so for example, 10,10,2 would be penalized significantly against 4,4,5 ....

    Not sure if you can automatically find the lowest number in Excel...

    Another system, which I imagine could be more straightforward, would be a bonus system (if/else?), where addition is used, and a fourth parameter ("B" for "bonus") is brought in. This could be the lowest number, times three.
    Then the formula looks something like (T+A+S+(Bx3))
    In that case, 10,10,1 would end up with a bonus of 2, and an overall score of 23, while 4,4,4 would get a score of 24.
    3,3,3 would give a score of 18, and while this is still lower than the 10,10,1, scores of 10,10,1 and similar would be extremely rare regardless.
    The real downside is that something can still get reasonable points, even when one of the parameters has a ZER0

    And again, not sure if you can automatically find the lowest number in Excel...

    Pete, I hadn't thought of that approach, but there is a problem with using the differece between the biggest and smallest numbers as it doesn't give enough weight to those combinations with larger numbers, e.g., 3,3,3 would actually beat 9,5,3...
    Last edited by condra; 08-30-2012 at 08:50 PM.

  5. #5
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Maths for a scoring system..

    Could you perhaps use something like
    Please Login or Register  to view this content.
    Alf

  6. #6
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Maths for a scoring system..

    i think you might be able to do somthing maybe by raisng the differnce to a power

    (A2*B2*C2)-((MAX(A2:C2)-MIN(A2:C2))^2)

    that times the inital and then gets the diffents and takes that from the total. its not perfect but could be a good place to start?

    just my 2$ worth
    Last edited by twiggywales; 08-31-2012 at 05:48 AM.
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  7. #7
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Maths for a scoring system..

    i found the following to work quite well.
    You can put in your own weights for the different standard deviations, but they will never go above 6 if you stick with weights of 1-10.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    08-30-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2008
    Posts
    7

    Re: Maths for a scoring system..

    Alf, thanks for the advice but I can't follow it. What does that formula do?

    Melvinrobb, likewise I cannot follow the formula in your example, though the numbers are working pretty well.
    =SUM(B2:B4)-(SUM(B2:B4)*VLOOKUP(STDEV(B2:B4),$M$2:$N$8,2,TRUE))

    Twiggywales..thanks for your advice. I didn't realise it was so easy to find min and max values in Excel. I'll certainly experiment with that!

  9. #9
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Maths for a scoring system..

    The formula takes the sum of the 3, and then subtracts a certain amount based on the standard deviation of the three numbers.
    The standard deviation for a score of 4-4-4 would be 0, so nothing would be subtracted, and the score would be 12. A score of 10-10-1 will have the highest standard deviation possible (5.19, to be exact), and using this number a certain percentage of the score is subtracted (50% in this case) to result in a score of 10.5. You can change the weights in column N, but what is there now seem to work well.
    If you cannot follow the Vlookup part, search online for a better explanation than I can give you, specifically vlookup with "true" at the end, rather than "false". Hope that helps!

    ---------- Post added at 02:03 PM ---------- Previous post was at 01:59 PM ----------

    My formula did not take into account that you wanted a score to automatically be zero if you gave any category a rank of zero. here is the formula including that:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please click the * icon below if I have helped.

  10. #10
    Registered User
    Join Date
    08-30-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2008
    Posts
    7

    Re: Maths for a scoring system..

    Actually, this is working out pretty well.
    Adding the 3 values, plus 6 times the minimum value, plus the maximum value, resulting in a score out of 100.
    SCORE = "B13+C13+D13+(MIN(B13:D13)*6)+(MAX(B13:D13)"

    These numbers look pretty good to me:

    10 10 10 100
    9 9 9 90
    1 1 1 10

    5 5 5 50
    6 5 4 45
    7 5 3 40
    7 4 4 46

    9 9 2 41

    10 9 1 36
    6 4 3 37


    OK, 36 might look a bit generous for 10,9,1, but that sort of large disparity in the three figures would be very rare. I'm really happy with this.

    Thanks again for all the help.

    ---------- Post added at 08:17 PM ---------- Previous post was at 08:13 PM ----------

    Melvinrobb, I had just written that reply before you posted there.
    Thanks again for taking the time to explain your method.

    It's certainly more complex, but I'll play with it a bit because it makes a lot of sense.

  11. #11
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Maths for a scoring system..

    Condra,

    yours is equivalent to 7*min + 2*max + median

    Pete

  12. #12
    Registered User
    Join Date
    08-30-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2008
    Posts
    7

    Re: Maths for a scoring system..

    Yes exactly!

    Seems to give pretty fair scores, considering it's a simple formula.

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

    Re: Maths for a scoring system..

    If this resolves your need, please select Thread Tools from the menu above and mark the thread as solved. Thanks.

  14. #14
    Registered User
    Join Date
    08-30-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2008
    Posts
    7

    Re: Maths for a scoring system..

    sure thing! thanks everyone

  15. #15
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Maths for a scoring system..

    Hi condra

    Thanks for rep.

    Alf, thanks for the advice but I can't follow it. What does that formula do?
    Please Login or Register  to view this content.
    checks if any value in range C4 to E4 is 0, if so the COUNTIF value will be 1, if there is two 0 values in that range COUNTIF will be 2 and so forth.

    So if COUNTIF value is equal to 1 or greater then the IF part of the formula sets the sum of C4 to E4 to 0 otherwise you get the sum of C4 to E4 in the cell where you put this formula.

    Alf
    Last edited by Alf; 09-01-2012 at 09:29 AM.

+ 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