+ Reply to Thread
Results 1 to 19 of 19

problem with if calculating revenue for my employees

  1. #1
    Registered User
    Join Date
    05-08-2015
    Location
    California
    MS-Off Ver
    windows 8
    Posts
    14

    problem with if calculating revenue for my employees

    Hi all,

    This is my first posting and skeptical about this. But I still need to get help. I am trying to put a formula together that allows to me track my sales associates commission. I would like to do the following:

    If gross profit is below 1000, and units are at 5 or less, then its 50 per units, and if its at 6 to 10, then its 100 per, if tis at 11 to 15, then its 150., but if the gross profit is between more then 1000 and less then 2000, and units are at 5 or less, then its 200 per units, and if its at 6 to 10, then its 250 per, if tis at 11 to 15, then its 150, but if the gross profit is more then 2000, and units are at 5 or less, then its 300 per units, and if its at 6 to 10, then its 3500 per, if tis at 11 to 15, then its 400. I hope this makes sense. I have enclosed a screen shot of what I have. I have this much of the formula but it wont calculate anything over 2000 profit.

    =IF((((AA10-(AH10*600))/AH10))<1000,SUMPRODUCT(((((AA10-(AH10*600))/AH10)<1000))*(AH10<=5)*AH10*50)+SUMPRODUCT(((((AA10-(AH10*600))/AH10)<1000))*(IF(AH10>=6,AH10<11)*AH10*100))+SUMPRODUCT(((((AA10-(AH10*600))/AH10)<1000))*(IF(AH10>=11,AH10<16)*AH10*150))+SUMPRODUCT(((((AA10-(AH10*600))/AH10)<1000))*(IF(AH10>=16,AH10<21)*AH10*200))+SUMPRODUCT(((((AA10-(AH10*600))/AH10)<1000))*(AH10>=21)*AH10*250),IF(((((AA10-(AH10*600))/AH10)*1000<>2000)),SUMPRODUCT(((((AA10-(AH10*600))/AH10)*1000<>2000))*(AH10<=5)*AH10*200)+SUMPRODUCT(((((AA10-(AH10*600))/AH10)*1000<>2000))*(IF(AH10>=6,AH10<11)*AH10*250))+SUMPRODUCT(((((AA10-(AH10*600))/AH10)*1000<>2000))*(IF(AH10>=11,AH10<16)*AH10*300))+SUMPRODUCT(((((AA10-(AH10*600))/AH10)*1000<>2000))*(IF(AH10>=16,AH10<21)*AH10*350))+SUMPRODUCT(((((AA10-(AH10*600))/AH10)*1000<>2000))*(AH10>=21)*AH10*400),IF(((((AA10-(AH10*600))/AH10)>2000)),SUMPRODUCT(((((AA10-(AH10*600))/AH10)>2000))*(AH10<=5)*AH10*300)+SUMPRODUCT(((((AA10-(AH10*600))/AH10)>2000))*(IF(AH10>=6,AH10<11)*AH10*350))+SUMPRODUCT(((((AA10-(AH10*600))/AH10)>2000))*(IF(AH10>=11,AH10<16)*AH10*400))+SUMPRODUCT(((((AA10-(AH10*600))/AH10)>2000))*(IF(AH10>=16,AH10<21)*AH10*450))+SUMPRODUCT(((((AA10-(AH10*600))/AH10)>2000))*(AH10>=21)*AH10*500),0)))




    Can someone please help me. Thank you.
    Attached Images Attached Images
    Last edited by MAXAHMADI; 05-08-2015 at 10:23 PM.

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: need a formula for excel

    Hi, welcome to the forum.
    We would need a workbook to be able to help you.
    Also, what do you call the gross profit? It seems to be a calculation. Please define it.
    And when you talk about units, where is that number?
    Thanks
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,697

    Re: need a formula for excel

    Welcome to the forum. Please take a look at the forum rules, especially #1 re. Post titles. Please change your post title to one descriptive of your problem.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    05-08-2015
    Location
    California
    MS-Off Ver
    windows 8
    Posts
    14

    Re: need a formula for excel

    Sorry for the lack of information. Its my first post. What I am trying to do is add up my employees Salary (AT10). I have enclosed their pay plan and my excel sheet. I need to calculate first of all
    number of units (ah10) times 600(which is the companies pack) minus (front gross AB10) divided by number of units AH10
    then us that in the formula. Please let me know if you need anymore information.
    Attached Files Attached Files

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: excel formula

    Hi, welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,697

    Re: excel formula

    deleted, forum mod stopped by w/same message.

  7. #7
    Registered User
    Join Date
    05-08-2015
    Location
    California
    MS-Off Ver
    windows 8
    Posts
    14

    Re: excel formula

    I am sorry, I tried to change it, what do I need to change it to. Please help, I am new to this.

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,697

    Re: excel formula

    The title should reflect your problem. That way people with a similar problem can search on it.

  9. #9
    Registered User
    Join Date
    05-08-2015
    Location
    California
    MS-Off Ver
    windows 8
    Posts
    14

    Re: excel formula

    Hi Ford, thank you for your advise. Like I said, I am not computer savvy, nor do I know a lot about excel. This is my first ever forum post. Can I get some help with what I need to change my tittle too. I really do appreciate it.

    Max

  10. #10
    Registered User
    Join Date
    05-08-2015
    Location
    California
    MS-Off Ver
    windows 8
    Posts
    14

    Re: excel formula

    Hi Sambo,

    I really don't know how to even describe my problem with the correct terminology. Show I write "need help with excel formula to calculate salary, with multiple criteria's".

  11. #11
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,697

    Re: excel formula

    You seem to have some complex if then problem to calculate revenue. If that helps.

  12. #12
    Registered User
    Join Date
    05-08-2015
    Location
    California
    MS-Off Ver
    windows 8
    Posts
    14

    Re: excel formula

    thank you. I will change my heading.

  13. #13
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,697

    Re: problem with if calculating revenue for my employees

    where is this formula? Which cell and which sheet?

    Oh, I see it now.
    Last edited by Sam Capricci; 05-08-2015 at 10:38 PM.

  14. #14
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,697

    Re: problem with if calculating revenue for my employees

    that formula is giving me a headache trying to weed through it.
    Have you considered the commercial services side of this forum?
    BTW, it is not a good idea to merge cells and work formulas to them.

    Edit: Offhand i'm sort of envisioning some sort of vlookup formula using true referencing a table in ascending order for your front end and back end parts, then a lookup formula for the rest.
    I'm heading to bed and will check back on this post tomorrow sometime to see if anyone moved it further along.
    Last edited by Sam Capricci; 05-08-2015 at 10:58 PM.

  15. #15
    Registered User
    Join Date
    05-08-2015
    Location
    California
    MS-Off Ver
    windows 8
    Posts
    14

    Re: problem with if calculating revenue for my employees

    Thank you, I really appreciate any and all help. I am sorry I messed my table up or if I didnt know how to combine some formulas. Thank you all ffor the help.

  16. #16
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,659

    Re: problem with if calculating revenue for my employees

    Try in AT10 :

    Please Login or Register  to view this content.
    Drag down.
    Quang PT

  17. #17
    Registered User
    Join Date
    05-08-2015
    Location
    California
    MS-Off Ver
    windows 8
    Posts
    14

    Re: problem with if calculating revenue for my employees

    Bebo021999, You are amazing, it worked perfectly. I don't know how to thank you. Beers on me. lol. Thank you so much.

  18. #18
    Registered User
    Join Date
    05-08-2015
    Location
    California
    MS-Off Ver
    windows 8
    Posts
    14

    Re: problem with if calculating revenue for my employees

    thank you, worked amazing. thank you very much.

  19. #19
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,659

    Re: problem with if calculating revenue for my employees

    Nice to hear that. good luck!

+ 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. Replies: 2
    Last Post: 03-21-2014, 11:43 AM
  2. Macro: Applying formula to multiple cells in excel (formula editing)
    By city in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-27-2012, 06:41 AM
  3. Replies: 0
    Last Post: 03-19-2012, 07:32 PM
  4. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  5. Excel 2002 formula displayed not value formula option not checked
    By Dean in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2006, 10:35 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