+ Reply to Thread
Results 1 to 15 of 15

I'm usually quite good at excel until this: Commission calculation nightmare

  1. #1
    Registered User
    Join Date
    12-30-2013
    Location
    San Diego, CA
    MS-Off Ver
    Exxcel 2010
    Posts
    12

    I'm usually quite good at excel until this: Commission calculation nightmare

    I have recently started working as an independent contractor doing sales and I thought I had a really nice Excel formula going for me until I realized it had a fatal flaw. Essentially, I am able to give price breaks but if I do I get a different commission than if I sold it at full price. Also, once I hit 30k in total sales for the month the commission changes. Here is my commission scale break down:

    Under 30k in total sales:
    0% discount: .05
    5% discount: .05
    10% discount: .045
    15% discount: .04

    Over 30k in total sales:
    0% discount: .08
    5% discount: .075
    10% discount: .07
    15% discount: .06

    I had this amazing table (or so I thought) set up but then I realized that I had created the entire table on adjusting to the 30k+ commission scale once each column hit 30k instead of when total sales hit 30k! Major flaw! I somehow need the Excel sheet to understand to use the correct commission formulas based on total sales while still taking into account the different discounts. I am going to attach what I have right now.
    Amanda Sales winter.xlsx

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,866

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    I am looking at dec13, which is what is open when I open the file.

    I had to make one very fundamental assumption. From your calculations, it appears that your commission scale is marginal. That is, if you sell over $30K, your commission on the first $30K is still the lower rates, and the higher commissions only apply to the amount that exceeds $30K. Am I reading that right? If that is the case, I have determined which sales fall into which bucket by sales increasing over time. If a particular sale puts you over the $30K mark that month, I have included that entire sale in the lower $30K commission level, rather than splitting the sale amount to apply two different commission rates. This is more favorable for your employer than you. If it needs to be different than that, please describe how commissions are calculated.

    I have made a lot of changes in your calculations and how they are organized:
    • I have added rows with the commission percentages (J6:M6, J9:M9), because it makes them more visible rather than embedding them in the formulas.
    • I have a cell with the 30K figure as a number (I5), rather than a text description.

    That gives you much more flexibility if any of these numbers ever change.

    I also added a "helper cell" (Q5) that identifies the row where your total sales cross the 30K amount. This is used in several formulas (J5:M5, J8:M8) so is cleaner if we do it in one cell, rather than repeating that function in all the formulas.

    As a bit of an Excel lesson, please note that your formula (originally found in cells H4:K4 but no longer used)

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    is arithmetically equivalent to

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    which is logically equivalent to the much simpler

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    My version is no longer using that formula, but I thought it might be helpful to point it out.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    Another method, but involves VBA. This is assuming that your inputs (down the rows) are not in chronological order.
    Calculates at which point a new entry would cause total sales exceed 30K, and splits that exceeded amount into another column. Also did not extensively test it, may have flaws.


    Edit: Playing with it a little more and found a flaw, would not work properly if there's an incredibly large sale (>30k). It was checking cell L4 for the sum but L4 has a cap. Added another formula in L3 for non-capped total sales.
    Attached Files Attached Files
    Last edited by millz; 12-31-2013 at 12:03 AM. Reason: Re-attaching file
    多么想要告诉你 我好喜欢你

  4. #4
    Registered User
    Join Date
    12-30-2013
    Location
    San Diego, CA
    MS-Off Ver
    Exxcel 2010
    Posts
    12

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    You are correct in your assumption and this new table/formulas is/are beautiful. I really appreciate your response time and assistance. You are a gentleman and a
    scholar.

  5. #5
    Registered User
    Join Date
    12-30-2013
    Location
    San Diego, CA
    MS-Off Ver
    Exxcel 2010
    Posts
    12

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    Clearly my Excel skills are surface at best! This is great. Again, thank you.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,866

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    Only too glad to help!

    If your question has been answered please mark your thread as "Solved" so that members will know by looking at the thread title that your problem is solved: Go to the menu immediately above your first post to the thread and click on Thread Tools. From the dropdown menu select "Mark this thread as solved..."

  7. #7
    Registered User
    Join Date
    12-30-2013
    Location
    San Diego, CA
    MS-Off Ver
    Exxcel 2010
    Posts
    12

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    Hi again,

    I am not sure if I screwed something up somehow but the table doesn't seem to be calculating correctly once the commission hits 30k. Can you take a look (Amanda Sales Winter 1)
    Attached Files Attached Files
    Last edited by alhollin44; 01-28-2014 at 09:15 PM.

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,866

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    The data in your first attachment "Amanda Sales winter (1).xlsx‎" only has sales up to 27,061.15. Do you have a sample file with sales over 30K where calculations are incorrect? And if so, please be very specific about what is incorrect and what you think the correct answer should be.

  9. #9
    Registered User
    Join Date
    12-30-2013
    Location
    San Diego, CA
    MS-Off Ver
    Exxcel 2010
    Posts
    12

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    Hi,

    Sorry, its in that document but on the Jan 14 tab. Thank you so much again

  10. #10
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,866

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    I'm sorry, I originally overlooked that you had multiple sheets. I used a named range to find the row where revenues go over 30K, and another one to show the value of 30K as the breaking point, but of course that's different for every sheet. I have modified your workbook to fix this, using a range reference instead of a named range. I have fixed this in all sheets.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    12-30-2013
    Location
    San Diego, CA
    MS-Off Ver
    Exxcel 2010
    Posts
    12

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    You are amazing. Thank you so much again.

  12. #12
    Registered User
    Join Date
    12-30-2013
    Location
    San Diego, CA
    MS-Off Ver
    Exxcel 2010
    Posts
    12

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    Hi again :/ I don't know whats going on but from March going forward it is giving me N/A in all the columns. I compared it to the other previous months and everything looks the same??
    Attached Files Attached Files

  13. #13
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,866

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    Ah, but they're not the same. If you look in tab "feb 14" you will see that in column F there is a column of formulas labeled "Total to Date". This column has to be replicated in every sheet, but is missing in March and going forward.

    I have used a little trick to copy and paste it into all sheets in one action, so this version is fixed.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    12-30-2013
    Location
    San Diego, CA
    MS-Off Ver
    Exxcel 2010
    Posts
    12

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    wonderful as always. Hopefully this will be my last time bothering you!

  15. #15
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,866

    Re: I'm usually quite good at excel until this: Commission calculation nightmare

    No bother!

+ 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. Commission Calculation
    By ykcwill in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2011, 04:00 AM
  2. Commission calculation
    By sadi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2010, 05:19 AM
  3. Commission Calculation Help
    By Maxsys in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-09-2008, 09:38 AM
  4. Commission Calculation
    By ApplianceGuy15 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-18-2007, 01:56 PM
  5. [SOLVED] Commission Calculation
    By nospaminlich in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-01-2005, 10:47 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