+ Reply to Thread
Results 1 to 7 of 7

Help: SUM/ max limit / return 0 if reached

  1. #1
    Registered User
    Join Date
    08-30-2016
    Location
    Edmonton, Canada
    MS-Off Ver
    2016 64b
    Posts
    92

    Help: SUM/ max limit / return 0 if reached

    Hi All,

    I'm trying to calculate the benefit off of income for several people.

    The idea is once each individual's 'PAY sums to $51,400' or 'BENEFIT = 2,544,36' that the benefit calculation should return a value of 0 AND the sum of the benefit for each individual should = $2,544.36.3

    I'm wondering if this is possible in a single calculation within the "benefit" column, or if this kind of formula requires a 'benefit' column to work from?

    All help is immensely appreciated.

    Thank you,

    HD
    Attached Files Attached Files
    Last edited by happydays886; 10-07-2016 at 10:46 AM.

  2. #2
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: Help: SUM/ max limit / return 0 if reached

    If you enter this in E6 and drag down, does it do what you want?
    Please Login or Register  to view this content.
    I'm not sure what you mean by:
    The idea is once each individual's 'PAY sums to $51,400' or 'BENEFIT = 2,544,36' that the benefit calculation should return a value of 0 AND the sum of the benefit for each individual should = $2,544.36.3
    So if the formula doesn't do what you want, then kindly expand your explanation.

    Ron
    Ron
    Knowledge is knowing that a tomato and pepper are fruits. Wisdom is knowing whether to put these in a fruit salad

    Kindly

    [1] Use code tags. Place "[code]" before the first line of code and "[/code"]" after the last line of code. Exclude quotation marks
    [2] Mark your post [SOLVED] if it has been answered satisfactorily by editing your original post in advanced mode.
    [3] Thank (using the little scale) those that provided useful help; its nice and its very well appreciated

  3. #3
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: Help: SUM/ max limit / return 0 if reached

    Sorry, it seems that you want the benefit to be calculated by Employee, so how about this on E6 and dragged down?
    Please Login or Register  to view this content.
    And on F6:
    Please Login or Register  to view this content.
    Again, if the above does not do what you want show us on column E (and F if there is anything there that you want) the figures that you wish excel to return. Highlight them for us.

    Ron
    Last edited by ron2k_1; 10-07-2016 at 01:43 PM.

  4. #4
    Registered User
    Join Date
    08-30-2016
    Location
    Edmonton, Canada
    MS-Off Ver
    2016 64b
    Posts
    92

    Re: Help: SUM/ max limit / return 0 if reached

    Hi,

    I attached a copy of the file with yellow highlighting for what I'd like to see a formula do.

    What this formula should do is populate for a benefit amount (pay*%) until the total benefit reaches the benefit max ($2,544.36). In each case, when the benefit max is exceeded, the formula then takes the benefit amount, using 'joy' as example, and reduces the benefit amount to an amount that would ensure the sum of all of her benefits equals exactly 2,544.36.
    - Cell G21 = 69 and not 495 as a result
    - All benefit amounts for Joy following June are populated 0
    Attached Files Attached Files
    Last edited by happydays886; 10-07-2016 at 01:33 PM.

  5. #5
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: Help: SUM/ max limit / return 0 if reached

    Did you use my formula on E6? It is doing exactly what you want

  6. #6
    Registered User
    Join Date
    08-30-2016
    Location
    Edmonton, Canada
    MS-Off Ver
    2016 64b
    Posts
    92

    Re: Help: SUM/ max limit / return 0 if reached

    omg! This works! Your formula works!

    I am at a loss of words - thank you so much!

  7. #7
    Valued Forum Contributor ron2k_1's Avatar
    Join Date
    09-30-2009
    Location
    Not the USA
    MS-Off Ver
    Excel 2003, 2007
    Posts
    606

    Re: Help: SUM/ max limit / return 0 if reached

    No prob. You're very welcome.

    You can mark the thread "SOLVED" if you got a chance.

    Ron

+ 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] Reached the limit of MATCH?
    By Exequiel3k in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-01-2016, 01:18 PM
  2. [SOLVED] Have I reached nested if limit on only the 9th nest?
    By pongmeister in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-31-2015, 04:02 PM
  3. Replies: 19
    Last Post: 03-03-2015, 10:54 AM
  4. [SOLVED] Reached Nested function limit
    By sarah321 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-05-2014, 10:00 AM
  5. Jump to another cell if reached the limit
    By Petijandro in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-23-2013, 08:33 AM
  6. Adding until limit reached
    By deli9680 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-09-2012, 11:20 AM
  7. sheet reached max limit
    By legolas in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 12-14-2011, 06:56 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