A Rep Comission when the percentage is is splied by scales

drom

Well-known Member
Joined
Mar 20, 2005
Messages
543
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Hi and Thanks in advance

I do know how to do this using a UDF and/or a Macro, I would like to know if is possible using maeby a Sumproduct or...


I have a Table named Table1
with 2 Columns
  • A1: Amount
  • B1 Percentage


This table has 6rows, in Column A
  • A1: Amount
  • A2: 0
  • A3: 4000
  • A4: 10000
  • A5: 45000
  • A6: 60000

This table has 6rows, in Column B
  • B1: Percentage
  • B2: 20%
  • B3: 22%
  • B4: 31%
  • B5: 36%
  • B6: 45%

At present the Table has 5 different Percentages, but who knows maeby next month I may have 4 and/or 7, this is why I cant use nested Ifs

Now my question:

If a Salesman does a Sale of 100.000
I would like to know how much is it going to get if he gets for the first 4000 a 20%
for the next 6000 22%
for the next 35000 31%
and so on

So I would like to have a formula base on the Tables Amount and Percentages and the Reps Sales Amount

The Table now is not dinamic, but could have more rows

ps: I do not want to use a UDF and/or a Macro
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
is this work for you? you can adjust the table/formula to suit


Book1
ABCDEF
1AmountPercentageAmountPayout
2020%20%100,00036,370
3400122%2%
41000131%9%
54500136%5%
66000145%9%
167
Cell Formulas
RangeFormula
C2=B2-B1
F2=SUMPRODUCT((E2 > A2:A6) * (E2 - A2:A6) * C2:C6)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top