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)


AB
120%
2CommisionCap
35,000=A3*B1
43,000=A4*B1
5
6=SUM(B2:B5)

<tbody>
</tbody>
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,215,022
Messages
6,122,721
Members
449,093
Latest member
Mnur

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