+ Reply to Thread
Results 1 to 9 of 9

Variable Weight Question

  1. #1
    Registered User
    Join Date
    10-21-2016
    Location
    Tennessee
    MS-Off Ver
    2013
    Posts
    7

    Variable Weight Question

    Hi,

    I am building out a ranking of companies to try to establish their interest in donating to my nonprofit. The variables include Strong/Average/Weak connections to my organization (30%), the amount they have donated to us in the past (30%), the amount of giving to our general field (20%), and whether or not they've given to groups with our specific cause (20%). I want to formalize these into a template so that my coworkers can use it in the future, but I can't figure out how to fully automate the results.

    For the moment I have just ranked the amount donated to us relative to the other companies in the chart, but then I have to divide each number by a specific amount to make the maximum value worth 3 points. Is there a way to do this so that the value automatically calculates the highest number to the specified value (in this case 3 or 2) and then adjusts the rest relative to that? Or something more elegant than that.
    Last edited by clcrabtr; 10-21-2016 at 12:49 PM.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Variable Weight Question

    Could you provide a workbook with some sample (non-sensitive) data and perhaps an example of what you have vs. what you want? It would make it easier to see the issue and provide a solution.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    10-21-2016
    Location
    Tennessee
    MS-Off Ver
    2013
    Posts
    7

    Re: Variable Weight Question

    Attached is a sample spreadsheet. I'd like columns J and M to be worth up to 30% each, and columns O and Q to be worth 20% each. Is there a simpler way to do that than what I've come up with here?
    Attached Files Attached Files

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Variable Weight Question

    I am not sure if this is what you want. Also I am a bit fuzzy on the two scores you assign by rank, but they are not relevant to the solution.

    First of all, I converted the data into an Excel table mainly because the range is extensible - as you add data, the formulas "expand" to cover the data. This is particularly important with the RANK formulas. Also formulas can be expressed in terms of column headers which often make more sense than column letters. Here is information on Excel Tables: http://www.utteraccess.com/wiki/inde...ables_in_Excel.

    Also I had to modify the formulas a bit. Instead of assigning blank when there is no data, I assigned zero so the following formula in Column E would work:
    =SUM(0.3*[@Score],0.3*[@Score2],0.2*[@Score3],0.2*[@Score4])
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-21-2016
    Location
    Tennessee
    MS-Off Ver
    2013
    Posts
    7

    Re: Variable Weight Question

    This looks great, and I appreciate the refresher on Tables. I'd initially started there, but got a bit bogged down in it. The only issue I still have is in the Score 2 and Score 3 columns where it divides by 4 and 8.5 respectively. Is there any way to set that to automatically divide by the amount required to make the maximum score 3? Or, failing that, is there any way to just divide it by the number of total responses so that the maximum score would be 1? Then I could just multiply it to weight each column? I tried to figure something out with a /(Count([Rank])) but couldn't get it to work.

  6. #6
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Variable Weight Question

    "Normalizing" the Scores to 3 will result in a circular reference error unless we resort to VB. You compute these values and then you want to take the maximum of the computed values and apply them back to the values.

    Explain to me the logic behind using RANK to get this Score. Perhaps an adjustment can be made there.

  7. #7
    Registered User
    Join Date
    10-21-2016
    Location
    Tennessee
    MS-Off Ver
    2013
    Posts
    7

    Re: Variable Weight Question

    It was just the best way I could think of. Because the values range from $1m+ to $100, I couldn't think of a better way to position the values relative to each other and then to base it on a 0-3 scale. I'm very open to any other suggestions you may have though!

  8. #8
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Variable Weight Question

    I figured out a way around the circular error, but it requires a couple of helper columns (so labeled in the attachment). These helper columns can be hidden.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    10-21-2016
    Location
    Tennessee
    MS-Off Ver
    2013
    Posts
    7

    Re: Variable Weight Question

    This is awesome (and ingenious)! Thanks so much for your help.

+ 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. Help calculating the total weight lost from starting weight D1
    By rgainey201 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 12-31-2014, 06:16 PM
  2. Variable weight vs Moment
    By SBhatia in forum Excel General
    Replies: 5
    Last Post: 06-27-2013, 03:57 PM
  3. Auto Calculate Shipping Weight/Cartons and Package Weight.
    By suhailsiddiqui09 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-27-2013, 06:48 AM
  4. Replies: 7
    Last Post: 09-21-2009, 05:00 PM
  5. sum and weight average variable data
    By drdrez in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-13-2008, 09:46 PM
  6. variable question
    By Gary Keramidas in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-16-2005, 01:52 PM
  7. Weight loss line chart to monitor weight loss progress
    By S Fox in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 11-08-2005, 01:15 PM

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