+ Reply to Thread
Results 1 to 7 of 7

Calculate commission

  1. #1
    Forum Contributor
    Join Date
    05-19-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2019
    Posts
    212

    Calculate commission

    I need to know the value under the following condition:
    When price is less than 20 than apply 1%
    When price is between 20 and 30 than apply 2%
    When price is more than 30 than appl 3%.
    What is the formula that I need to apply?
    Last edited by pansovic; 06-07-2010 at 02:24 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculate comission

    =Lookup(A1,{0,20,30},{1%,2%,3%})*A1

    where A1 contains the price

    you might need to adjust the numbers in the first array to the actual lower bounds you desire for each percentage group
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Calculate comission

    You may need to represent the percentages in decimal form:

    Please Login or Register  to view this content.
    Note ~ I only used five decimal places to identify the portion representing "over 30". You may prefer your own level of accuracy.

    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Forum Contributor
    Join Date
    05-19-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2019
    Posts
    212

    Re: Calculate comission

    I get error message marked 0,20,30. As well the , after A1 I had to change to ;

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculate comission

    Replace all the commas with ;

  6. #6
    Forum Contributor
    Join Date
    05-19-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2019
    Posts
    212

    Re: Calculate comission

    Now get error message marked "1%"
    When I change to Lookup(AZ2;{0;20;30};{0,01;0,02;0,03})*AZ2 than get #żNOMBRE? which is spanish for NAME

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculate comission

    See how it comes up when you upload this sample.. see B1 formula.
    Attached Files Attached Files

+ 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