IF, AND, formula help !! Please !!

grrrrr

Board Regular
Joined
Apr 20, 2011
Messages
60
I will try and explain as best I can.

Commissions are paid at different rates and there is always a minimum commission.

There is one cell in the spreadsheet which shows the % rate at which commissions should be paid.

There is another showing the current commission based on the profit made. If the commission % (say 15% which has a minimum commission of £50) if above £50, then it should stay at the 15% of the profit. But if this is below £50, then it wants to change to £50.00.

After this, I will need to add in a rule for 12.5% - £40.00 etc but the first bit should point me in the right direction.

I had the following attempt and it says #value:

=IF(H10>0,(IF(P71=15%,AND(H10*P71)<=50,"50.00"),H10*P71))

H10 = profit on which the 15% is based.

In this case 15% of H10 is around £40, so it wants to change to £50.00 rather than stay at 15% of H10.

P71 is the cell calculating the commission rate (in this case 15%).

Any ideas?????

I'm a bit new to this!

Thanks!! :laugh:
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
If I follow what you are trying to do you want to pay 50 if comission is positive or the actual comission whichever is greater you need a formula that looks like this:

=if(H10>0,Max(50,H10*P71),H10*P71)

If H10 is negative this will generate a negative comission but as your example had this I left it in. If you dont want this change H10*P71 at the end of the if to zero
 
Last edited:
Upvote 0
Thanks energman.

That works! But it can often be a negative figure. If it is the minimum should still be £50.00.

Is that possible?
 
Upvote 0
And also, if the commission changes to 12.5% ie min £40.00 how would I add that to the formula?
 
Upvote 0
P71 will change automatically so you need to make your formula dependent on this - not sure how you determine the minmum comission

Sorry off home now maybe someone can help you before I am back in the office on Saturda
 
Upvote 0
You're a star!

Yes, P71 updates automatically to show the percentage rate.

Commission can be £30, £40 or £50 minimum so the formula needs to be able to calculate under any of the circumstances :)
 
Upvote 0
Just glancing over the thread quickly it seems is if all you need is

=MAX(50,H10*P71)

Or basic principle for the different minimum commission / %age rates.

=MAX(£commission,profit*%age)
 
Upvote 0
Thanks for your reply Jason.

The commissions will be changing all the time and for different people on differet sheets so I can't just alter the commission manually when they change every time, which is what I think your formula would require?

Can all 3 commissions be involved in the formula?
 
Upvote 0
They can, but how do you decide who gets which rate?

The formula I've suggested gives the same results as =if(H10>0,Max(50,H10*P71),50)
 
Upvote 0

Forum statistics

Threads
1,224,544
Messages
6,179,430
Members
452,915
Latest member
hannnahheileen

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