+ Reply to Thread
Results 1 to 9 of 9

Student needs help with formula

  1. #1
    Registered User
    Join Date
    09-24-2020
    Location
    LBC
    MS-Off Ver
    The best
    Posts
    5

    Student needs help with formula

    Hi

    I can't for the life of me figure out how to go across and increase the values by the amount listed in B55:B66.

    r67 should =200 points (this is the sum of colums d,f,h,j,l,n,p and R)

    I really hope this makes sense. Sorry been banging my head on this for a few hours.

    I tried B55*vlookup but it does not increase the whole row by 10%

    Thank in advance. This is for a class that i am in.
    Attached Files Attached Files
    Last edited by ctec4rxj; 09-25-2020 at 01:46 AM.

  2. #2
    Registered User
    Join Date
    09-24-2020
    Location
    LBC
    MS-Off Ver
    The best
    Posts
    5

    Re: Sum must equal =100% and distribute

    Deleted myself
    Last edited by ctec4rxj; 09-25-2020 at 11:07 AM.

  3. #3
    Registered User
    Join Date
    09-24-2020
    Location
    LBC
    MS-Off Ver
    The best
    Posts
    5

    Re: Sum must equal =100% and distribute

    deleted myself
    Attached Files Attached Files
    Last edited by ctec4rxj; 09-25-2020 at 11:07 AM.

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Student needs help with formula

    Its not clear what you are asking, are you wanting to increase the values in the a columns so that the lookup returns higher values that then in turn sum to 200

    this will not solve with the example as so may values are the same so would jump category at the same point to an answer doesn't exist
    multiplying all values by 1.999 gives 194, by 2 gives 205 as you have 8 100s, 2 50s and 1 25 in the sample date and they all move up a category at the same time to make the total 11 larger.

    I assume the values have to be integers?


    or is it multiplying all the whole number columsn by 200/108 to they sum to 200?
    Last edited by davsth; 09-25-2020 at 08:37 AM.

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,653

    Re: Student needs help with formula

    Deleted by myself

  6. #6
    Registered User
    Join Date
    09-24-2020
    Location
    LBC
    MS-Off Ver
    The best
    Posts
    5

    Re: Student needs help with formula

    Hi

    sorry, I am probably overthinking this. The problem states:

    assign 200 points into specific categories that are of most importance. Weigh those categories with sub levels based on the factors listed in Exhibit 2. The table is exhibit 2.

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,566

    Re: Student needs help with formula

    Still not sure I understand what you are doing?

    Which table is Exhibit 2? A54:B67?

    Looking at this as more of a math problem than a programming problem, I see:

    1) We have 8 sets of values/points. There will be 12 entries in each set. Each entry will be an integer from 0 to 4.
    2) The total/sum of all 8 sets will be 200. total points = sum(all entries from 8 sets) = 200
    3) The total/sum of the "billable hours" entry in each set will be 10% of total (or 20) total billable = sum(billable entries from 8 sets) = 10%*200=20. A similar statement for each of the 12 categories. Are there other constraints, or will any combination of 8 integers that sum up to 20 be valid? Could we have five 4s and three 0s (4+4+4+4+4+0+0+0=20)?

    I don't see how the lookup table (A77:B81) figures into the solution. If I've understood the problem, it looks vaguely like a "subset sum" problem where you find a combination of "points" from the available pool of points (0 to 4) that add up to the sum expected for each category. The main question would be to understand what kind of algorithm you want to use to generate those combinations. You haven't talked about your desired algorithm (perhaps you don't have one in mind, yet?), so it is difficult to know what to recommend. You could use a "greedy" algorithm like I used -- Assign a point value of 4 until you are going to meet/exceed the total for that category, then whatever is needed to get to the total for that category, then 0 for the remaining values. That will result in a lot of 4s and 0s and relatively few of the intermediate scores. I don't know if that is a problem or not -- that's why I asked about other constraints.

    I'm not sure exactly how you intend to approach this problem. Have I at least understood it?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  8. #8
    Registered User
    Join Date
    09-24-2020
    Location
    LBC
    MS-Off Ver
    The best
    Posts
    5

    Re: Student needs help with formula

    I created this of another template.

    this is basically a profit sharing sheet.

    Thanks for the input it got me thinking.
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Student needs help with formula

    it is a way of sharing although the alternative is to get a score over all of the categories
    =SUMPRODUCT($C$6:$C$17,C$21:C$32) for each employee

    sum the above 8 values and divide them by this gives a percentage share, then they all get that percentage of c4

    it all depnds if you want billable hours to share 10% of 216 so 21.6 or these are weightings to share the overall which is the above approach

+ 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. [SOLVED] Distribute values across columns that equal subtotals
    By rpjohnson in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-23-2019, 11:11 AM
  2. Distribute values across columns that equal subtotals
    By espkay in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-06-2016, 02:40 AM
  3. [SOLVED] Populate count & sum based on equal to & not equal to factors
    By jscalem in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-20-2015, 01:20 PM
  4. Replies: 1
    Last Post: 04-09-2015, 12:13 AM
  5. Equally distribute a range into equal parts in a specific number of rows
    By 2k05gt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2015, 09:57 PM
  6. [SOLVED] COUNTIFS function w/greater than or equal to, and less than or equal to time values
    By AliciaRenee in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-27-2014, 03:57 PM
  7. Scoresheet with Equal Ranks - need to identify equal placings separately
    By Caroleh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 02:59 AM

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