Hi all,
I'm trying to refine this formula that calculates the total taxes off of a tiered table. Assume $10,000 income. Notice the 2nd row has to be blank for formula to work, which I don't like.
E.g.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Bracket Min $ (cell A1)[/TD]
[TD]Bracket Max $ (cell B1)[/TD]
[TD]Tax % (cell C1)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]$0[/TD]
[TD]$4,740[/TD]
[TD]0.00%[/TD]
[/TR]
[TR]
[TD]4,740.01[/TD]
[TD]6,067[/TD]
[TD]20.00%[/TD]
[/TR]
[TR]
[TD]6,067.01[/TD]
[TD]100,000[/TD]
[TD]36.00%[/TD]
[/TR]
</tbody>[/TABLE]
I use array formula = {SUM(--((C3:C5-C2:C4)*
(10,000-A3:A5)*N(10,000>A3:A5))}
=$1,681.28 in taxes
Is there a clever way I can tweak the formula so I don't have to have a blank row above the data? Right now the blank row facilitates the first part of the formula (calculating the difference in tax rate at each tier.
Thanks for your time!
James
I'm trying to refine this formula that calculates the total taxes off of a tiered table. Assume $10,000 income. Notice the 2nd row has to be blank for formula to work, which I don't like.
E.g.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Bracket Min $ (cell A1)[/TD]
[TD]Bracket Max $ (cell B1)[/TD]
[TD]Tax % (cell C1)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]$0[/TD]
[TD]$4,740[/TD]
[TD]0.00%[/TD]
[/TR]
[TR]
[TD]4,740.01[/TD]
[TD]6,067[/TD]
[TD]20.00%[/TD]
[/TR]
[TR]
[TD]6,067.01[/TD]
[TD]100,000[/TD]
[TD]36.00%[/TD]
[/TR]
</tbody>[/TABLE]
I use array formula = {SUM(--((C3:C5-C2:C4)*
(10,000-A3:A5)*N(10,000>A3:A5))}
=$1,681.28 in taxes
Is there a clever way I can tweak the formula so I don't have to have a blank row above the data? Right now the blank row facilitates the first part of the formula (calculating the difference in tax rate at each tier.
Thanks for your time!
James