+ Reply to Thread
Results 1 to 7 of 7

Reverse SUMPRODUCT: Solve For Distributions [HELP]

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    united states
    MS-Off Ver
    Excel 2010 / Excel 2013 Preview
    Posts
    2

    Question Reverse SUMPRODUCT: Solve For Distributions [HELP]

    Hello,

    Can anyone help me with the below (a general example):
    I have certain values (in this case age; in months old) with varying distributions of the ages in a population; like this:


    12 (1 year) = 50%
    24 (2 years) = 18%
    36 (3 years) = 12%
    48 (4 years) = 10%
    60 (5 years) = 10%

    ...So, using SUMPRODUCT I get a blended average 'months old' age of 25.44



    Working this way is pretty easy; where I'm having an issue with is working in reverse. Instead of knowing the distributions, I'm given, (for example) that a given group of kids comprised of the same ages as above have an average age of 17.38 months old... How do I figure-out what the possible distributions are between the ages (12/24/36/48/60 months)??? i.e. the example from above changes to:


    12 (1 year) = ??%
    24 (2 years) = ??%
    36 (3 years) = ??%
    48 (4 years) = ??%
    60 (5 years) = ??%

    ...and I have the blended average 'months old' age of: 17.38



    I've tried looking at it many diferent ways and can't seem to figure-out how to get to these potential values. For simplicity's sake, let's assume that percentages must be whole numbers (i.e. can only be 50%-25%-25% not 49.71%-25.15%-21.14%).

    Thanks!!

    simplified example worksheet attached below:
    example.xlsx

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

    Re: Reverse SUMPRODUCT: Solve For Distributions [HELP]

    In theory, couldn't there be multiple distributions, possibly infinate?

  3. #3
    Forum Contributor
    Join Date
    05-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    186

    Re: Reverse SUMPRODUCT: Solve For Distributions [HELP]

    Are you looking for any possible answer or are you just looking for a single possible answer?

  4. #4
    Registered User
    Join Date
    08-30-2012
    Location
    united states
    MS-Off Ver
    Excel 2010 / Excel 2013 Preview
    Posts
    2

    Re: Reverse SUMPRODUCT: Solve For Distributions [HELP]

    Quote Originally Posted by smls View Post
    Are you looking for any possible answer or are you just looking for a single possible answer?
    Ideally i need just one, as I know the general trends the population follows, but if not maybe some sort of data table showing which combinations would yield the same result.

    And, btw, the only reason I added the contraint to look at only distributions of 'whole percentages' would be to minimize the number of potential outcomes.

    Thanks!

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

    Re: Reverse SUMPRODUCT: Solve For Distributions [HELP]

    Essentially this first and foremost is a math problem. you have two formulas:

    Formula #1: 12*A + 24*B + 36*C + 48*d + 60*E = 17.38
    Formula #2: A + B + C + D + E = 1

    If you find out where these intersect, you'll get your answer. How do to this using Excel? I am not sure... but I'm guessing it can be done...

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Reverse SUMPRODUCT: Solve For Distributions [HELP]

    You can use solver to get results but they probably won't match reality because, as mentioned above, you have too many variables and thus an infinite # of solutions. Attached is an example with Solver. (You'll need to activate the Solver Add-in if it's not already there) You'll find Solver on the Data Tab. If you know some of the variables, you can remove them from the variable cells and see if that helps.

    Using Melvinrobb's two equations in A1 and A2 and setting C1 to C5 as the variables A, B, C, D and E. I set up constraints in the solver such that A1 = 17.38 and solve for A2 = 1.
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Registered User
    Join Date
    12-13-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Reverse SUMPRODUCT: Solve For Distributions [HELP]

    I am first time solver user and looking same help reversing the sumproduct function in excel as I have the total but percentage range is missing so need to get the percentage range with you example in solver ,but not able to get this.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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