Need help with Drafting a formula.

Erick44

New Member
Joined
Jan 18, 2020
Messages
2
Office Version
  1. 2013
Platform
  1. Windows
In column a I have the percentages, column be is a dollar value. In column c, I want to create a formula to multiple the b column by a percentage based on the percentage value in column a. If an employee hits the percentage mark for a given period then they receive the commission percentage associated the range listed below.

Example

If less than 40% in column a, then multiple value in column b by 15%

If between 40-49.9% in column a, then multiple value in column b by 20%

If between 50-59.9% in column a, then multiple value in column b by 25%

If between 60-69.9% in column a, then multiple value in column b by 30%
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
When I do this, I often do intermediary, helper columns, to make it all easier to read. By that I mean:
Column C only deals with the calculation if the value in A is < 40%; @if(a2<=.4,b2*.15,0)
Column D only deals with the calculation if the value in A is between 40% and 49.9%: if(and(a2>=.4,a2<=.499),b2*.2,0)
and so on

One 1 of the 4 columns (Colum C, D, E and F) will have a value > 0

Column G is the sum of Columns c,d,e and f
 
Upvote 0
I think this is what you're looking for
Code:
=IFERROR(IF(A1<40%,B1*0.15,IF(AND(A1>=40%,A1<=49.9%),B1*0.2,IF(AND(A1>=50%,A1<=59.9%),B1*0.25,IF(AND(A1>=60%,A1<=69.9%),B1*0.3)))),"")

Book1
ABCDE
135.00%$10.00$1.50
245.00%$10.00$2.00
355.00%$10.00$2.50
465.00%$10.00$3.00
5
6
Sheet1
Cell Formulas
RangeFormula
C1:C4C1=IFERROR(IF(A1<40%,B1*0.15,IF(AND(A1>=40%,A1<=49.9%),B1*0.2,IF(AND(A1>=50%,A1<=59.9%),B1*0.25,IF(AND(A1>=60%,A1<=69.9%),B1*0.3)))),"")
 
Last edited:
Upvote 0
Or slightly simpler
=IF(A1<40%,B1*0.15,IF(A1<50%,B1*0.2,IF(A1<60%,B1*0.25,IF(A1<=70%,B1*0.3,""))))
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,576
Members
448,972
Latest member
Shantanu2024

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