Excel if formula

sabelow

New Member
Joined
Apr 1, 2019
Messages
2
I have a row in excel that calculates commissions. Once the total gets to $8,000 (B6 in the below example), I want the formula to no longer calculate commission. Commission should be zero.
What formula do I put into the B column? Whenever I do an IF formula, I get a circular reference because I am referring to B6 in the formula (which is summing all of B column)


[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]20%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Commision[/TD]
[TD]Cap[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5,000[/TD]
[TD]=A3*B1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]3,000[/TD]
[TD]=A4*B1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD]=SUM(B2:B5)[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Do you mean like this

Code:
=IF(A6>=8000,0,SUM(B2:B5))
 
Upvote 0
Thanks for the suggestion!

No, I need something more like this....=IF(B6<=8000,A3*B$1,0).
The issue is that since B6 is the sum of all the B formulas, I am getting a circular reference and it doesn't calculate.
So the current formula I have in the B column is =A3*B1. Which is the commission * 20%. But once I have paid up to $8,000 in the "CAP" column, I no longer need to pay 20% commission.
So once the "B6" cell equals $8000 or more, the formula should no longer calculate a 20% rate. It should be zero or blank.
 
Upvote 0
you can't use a formula to refer to a cell that the formula resides in !!
you will have to put the formula in an adjacent column.
 
Upvote 0
Hi,

Think this is what you're looking for.

B3 formula copied down to B5.


Book1
AB
120%
2CommisionCap
35,0001000
43,000600
59990
6Total1600
Sheet654
Cell Formulas
RangeFormula
B3=IF(SUM(A$3:A3)<=8000,A3*B$1,0)
B6=SUM(B3:B5)
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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