IF calculation not working...what am I missing?

mbrown3039

New Member
Joined
Jan 30, 2017
Messages
2
Hello all, I was recently offered a sales job where the commission rate is based on the profit margin of the sale (specifically, no commission on sales with less than 20% margin, 20-29% margin = 10% commission, 30-32% = 12.5% comm., 33-39% = 15% and 40%+ margin = 18% commission); in trying to see what that equates to based on my previous year's sales, i used this formula (where j2 = margin % and i2 = margin dollars):

=IF(J2>19%,I2*10%,IF(J2>29,I2*12.5%,IF(J2>32%,I2*15%,IF(J2>39%,I2*18%))))

However, the formula stops at the first commission rate (10%) for all sales regardless of the actual margin shown in j2. I am not an Excel expert by any means (I think this is only the 3rd time I've ever used the IF function) and am stumped as to why it stops at the 1st commission rate. Any thoughts? Thanks in advance, M
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Change the order you are searching in. You need to see if it is higher than the highest margin first, then the second highest, and so on. That formula will return 10 anytime margin is over 19%, it will not reach the next IF statement.

Sorry, no formula.. away from PC.
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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