Commission structures with 3 variables, tried multiple formulas

HR Manager

New Member
Joined
Jul 13, 2018
Messages
3
I am trying to get commission values to generate based upon three criteria's:
Employee LPH QA Score DH
A4.60.96737.9
B3.50.95125.6
C1.70.98129.2
D3.40.91237.2
E70.96415
F2.10.86320
G5.5129.5

<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>

<colgroup><col><col><col></colgroup><tbody>
</tbody>

The commission structure is below:
LPH QA DH Commission
0000
40.963440
50.963480
60.9734120
70.9736160
80.9736200
90.9836240
100.9836280
11136320
12136360
13136400

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>

How the structure works that the employee must hit the minimum in three column in order to recieve the commission value
For example:
Employee A: would get 40
Employee B: would receive 0
Employee C: would receive 0

I have tried Index, match and vlookup, with if and I am not getting the results I need. Any help would be much appreciated.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
What's the expected result for employees D through G?
 
Upvote 0
What's the expected result for employees D through G?

D-Would also be 0
E-Would also be 0 because they didn't meet the minimum in DH
F-Would be 0
G-Would be 0 because didn't meet the minimum DH

For Example for a commission receiver would be:

LPH-13
QA-.97
DH-34

They would only receive the minimum $40 because they had the lowest DH score.

Another Example is:
LPH-10
QA-.97
DH-36

They would receive $200, because it is a lower DH than what is expected for 10 LPH.

Hope this helps in order for you to help me, thank for responding :)
 
Upvote 0
In the example below col A:D is the data from your post. Col E is the commission (copy the formula in E2 down). Cols G:J contain your "lookup" table. Each column in G:J is a named range whose name is the column header.
Excel Workbook
ABCDEFGHIJ
1EmployeeLPHQA ScoreDHCommLPHQADHCommission
2A4.60.96737.9400000
3B3.50.95125.6040.963440
4C1.70.98129.2050.963480
5D3.40.91237.2060.9734120
6E70.96415070.9736160
7F2.10.86320080.9736200
8G5.5129.5090.9836240
9100.9836280
1011136320
1112136360
1213136400
Sheet1
 
Upvote 0
In the example below col A:D is the data from your post. Col E is the commission (copy the formula in E2 down). Cols G:J contain your "lookup" table. Each column in G:J is a named range whose name is the column header.
Sheet1

ABCDEFGHIJ
1EmployeeLPHQA ScoreDHComm LPHQADHCommission
2A4.60.96737.940 0000
3B3.50.95125.60 40.963440
4C1.70.98129.20 50.963480
5D3.40.91237.20 60.9734120
6E70.964150 70.9736160
7F2.10.863200 80.9736200
8G5.5129.50 90.9836240
9 100.9836280
10 11136320
11 12136360
12 13136400

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:69px;"><col style="width:30px;"><col style="width:63px;"><col style="width:35px;"><col style="width:64px;"><col style="width:64px;"><col style="width:30px;"><col style="width:35px;"><col style="width:25px;"><col style="width:83px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
E2=MIN(LOOKUP($B2,LPH,Commission),LOOKUP($C2,QA,Commission),LOOKUP($D2,DH,Commission))

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

It worked for most, but there were a few employees it didn't work for and I figured out why.
The report I pull the data from has it going out more decimals than one, 4.98701298701299, the number looks like this in the cell, even though it shows a 5 in the cell, so the formula is still reading it as 4.98 instead of a 5. Is there a way to fix that also? Thank you again!!!
 
Upvote 0
You are welcome.

The LOOKUP functions require that the lookup vectors (the 2nd argument in the function) are in ascending order. So, sort each of the LPH,QA and DH named ranges so they are in ascending order, otherwise you may get an erroneous result.
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

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