+ Reply to Thread
Results 1 to 8 of 8

Calculation with multiple criteria- CAP Amount, Min. Amount etc.

  1. #1
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    693

    Calculation with multiple criteria- CAP Amount, Min. Amount etc.

    Hi Experts,

    I am working on a bonus calculator and for the same seeks your expertise.

    Attached is the Bonus Calculator, I have below challenges:

    1. Min. bonus should be 500
    2. CAP amount is given, say: 1,000,000

    The excess amount (above cap) should be adjusted from the staff but make sure their salary is not coming under 500.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... based in Ireland... but I could be anywhere in the world
    MS-Off Ver
    Office 365 for PC.
    Posts
    34,810

    Re: Calculation with multiple criteria- CAP Amount, Min. Amount etc.

    Your sample.... at more than 3000 rows slightly exceeds our guidelines (10-20 rows). What's worse is that there are NO manually calculated expected answers for us to check our formulae against.

    Some expected answers, pelase???
    Glenn



  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,044

    Re: Calculation with multiple criteria- CAP Amount, Min. Amount etc.

    Please try Solver

    N2
    =Q2-SUM(N4:N3053)

    N4:Nxx
    =IF(K4="No",0,MAX($Q$12,LOOKUP(G4,$P$10:$P$11,$Q$10:$Q$11-1+$Q$3/$L$2)*H4))

    Solver Set objection
    $N$2 = 0

    by changing Q3

    use GRG nonlinear method
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    693

    Re: Calculation with multiple criteria- CAP Amount, Min. Amount etc.

    Quote Originally Posted by Glenn Kennedy View Post
    Your sample.... at more than 3000 rows slightly exceeds our guidelines (10-20 rows).
    Glenn, you can make it short, say 20 rows. Try to change the CAP to 10,000 and min. based on logic.
    I dont know the amount, so can't put result manually.
    What I am looking is, an adjustment in amount from everyone to be made based on the distribution % not a random or equal %.
    Last edited by AliGW; 02-15-2021 at 07:55 AM.

  5. #5
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    693

    Re: Calculation with multiple criteria- CAP Amount, Min. Amount etc.

    Quote Originally Posted by Bo_Ry View Post
    Please try Solver
    These numbers I am looking for, but please do without Solver.
    Last edited by AliGW; 02-15-2021 at 07:54 AM.

  6. #6
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    693

    Re: Calculation with multiple criteria- CAP Amount, Min. Amount etc.

    Quote Originally Posted by Bo_Ry View Post

    Solver Set objection
    $N$2 = 0

    by changing Q3

    use GRG nonlinear method
    Thanks a ton.
    What value you put in Q3?
    Last edited by AliGW; 02-15-2021 at 07:54 AM.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    62,047

    Re: Calculation with multiple criteria- CAP Amount, Min. Amount etc.

    Glenn, you can make it short, say 20 rows
    No, that's your job. In future, please supply data samples, not huge workbooks. Thanks.

    Administrative Note:

    Please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter. It's OK to quote if you are responding to a post out of sequence, but limit quoted content to a few relevant lines that makes clear to whom and what you are responding. Thanks!

    For normal conversational replies, try using the QUICK REPLY box below or the REPLY button instead of REPLY WITH QUOTE.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" to anyone who has offered you help in your thread. You can reward them by clicking on * Add Reputation below theur user name on the left, if you wish.


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... based in Ireland... but I could be anywhere in the world
    MS-Off Ver
    Office 365 for PC.
    Posts
    34,810

    Re: Calculation with multiple criteria- CAP Amount, Min. Amount etc.

    Exactly, Ali. Why do you expect ME to make YOUR sample sheet? Do you employ me? Pay me? Own me?

    No, sorry. I won't. Forget it.

    YOU do it, and supply some expected answers.

+ 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] Top 3 products based on multiple criteria (Name and Amount)
    By blak9 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-13-2020, 07:42 AM
  2. [SOLVED] MAX amount in 30 days with multiple criteria.
    By Arturs_I in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-28-2018, 08:46 AM
  3. [SOLVED] Finding the lowest rate amount multiple criteria
    By kcgojnur in forum Excel General
    Replies: 6
    Last Post: 08-14-2017, 04:41 PM
  4. Amount calculation by different criteria
    By AaruJaan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-03-2017, 11:26 AM
  5. Formula for counting the amount of data cells with multiple criteria
    By jt93 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-02-2017, 04:02 PM
  6. Replies: 2
    Last Post: 12-02-2011, 03:42 PM
  7. Multiple Criteria lookup to return an amount
    By elainejoy in forum Excel General
    Replies: 1
    Last Post: 01-26-2011, 01:53 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