+ Reply to Thread
Results 1 to 5 of 5

Calculate bonuses for staff

  1. #1
    Registered User
    Join Date
    03-10-2011
    Location
    Raleigh NC
    MS-Off Ver
    Excel 2010
    Posts
    4

    Calculate bonuses for staff

    Hi

    I am attaching a workbook and there are two worksheets contained.

    The first sheet has some staff ID numbers and $ amounts for product sold. This is just an idea - in reality it will be longer and have more staff member's ID noted.

    The second sheet is for calculation of the staff bonus. The top two staff members for a month are paid a bonus. At the moment the bonus is 3.5% of the total sold for that staff member, but the total must be over the current amount of $1000. These figures (bonus percentage and amount to exceed) can change so I need to be able to change these as required on sheet 2 and the calculations will work.

    Any help or advice appreciated.

    Dave.
    Attached Files Attached Files
    Last edited by Dave Goldman; 03-13-2011 at 03:56 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Calculate bonuses for staff

    Thanks for adjusting your title.

    In H2, put this formula, then copy down:

    =VLOOKUP($G2, Sheet1!$A:$B, 2, 0)

    In I2, put this formula, then copy down:

    =IF(AND(H2>=$B$2,OR(H2=LARGE($H:$H, {1,2}))), $H2*$B$1, "None")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-10-2011
    Location
    Raleigh NC
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Calculate bonuses for staff

    Quote Originally Posted by JBeaucaire View Post
    Thanks for adjusting your title.

    In H2, put this formula, then copy down:

    =VLOOKUP($G2, Sheet1!$A:$B, 2, 0)

    In I2, put this formula, then copy down:

    =IF(AND(H2>=$B$2,OR(H2=LARGE($H:$H, {1,2}))), $H2*$B$1, "None")

    Thanks, that sort of works. However, as you'll see on sheet 1, staff AB and ** have two entries each. At the end of the month the list will be longer and each staff member will have multiple entries. Is there a way that the TOTAL for each member can be used for the calculation on sheet 2? So for AB at the moment it totals $2600, not just $2000 as is the result when the first formula was entered.

    Any further advice really appreciated. Thanks.

    Dave.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Calculate bonuses for staff

    In H2 and copied down:

    =SUMIF(Sheet1!$A:$A, $G2, Sheet1!$B:$B)

  5. #5
    Registered User
    Join Date
    03-10-2011
    Location
    Raleigh NC
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Calculate bonuses for staff

    Quote Originally Posted by JBeaucaire View Post
    In H2 and copied down:

    =SUMIF(Sheet1!$A:$A, $G2, Sheet1!$B:$B)

    Thanks. Works perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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