LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default nested if statementss.

You didn't state it, but I gather that the taxes computed in A1:A6 get added
together. So what you've got in each cell in column A is the tax applied
based on a marginal rate for a particular input range. This is very similar
to a common question posed here about calculating commissions with
accelerators.
Instead of all the IF statements, I generally create a table. The columns
in the table represent the minimum value for each range, the marginal rate
for that range, and the payout (or tax, in your case) due at the very low end
of the range. The first column MUST be the range breakpoints, and they MUST
be in increasing order. In your case, my table looks like:
Minimum, Rate, Tax at Threshold
0, 0%, 0
6M, 2%, 0
15M, 5%, 120k ...

(In subsequent rows, column C can be calculated. In the last row above, D3
would be =C3+B3*(A3-A2) )
Then if the income is in H11, the tax calculation is
=VLOOKUP(H11,A:C,3)+(H11-VLOOKUP(H11,A:A,1))*(VLOOKUP(H11,A:B,2)). In words,
that formula calculates the minimum tax for this income range, plus the
amount of income in this band multiplied by the marginal rate.

HTH. --Bruce


"pierre" wrote:

H11 = 172 500 000

i have in A1 : =IF(h11<=0,0,IF(H11-6000000=0,6000000*2%," no tax"))


i have in A2 :
=IF(h11-6000000-9000000=0,9000000*5%,IF(h11-6000000=0,(H11-6000000)*5%,0))


i have in A3 :
=IF(H11-6000000-9000000-15000000=0,15000000*7%,IF(H11-6000000-9000000=0,(H11-6000000-9000000)*7%,0))


i have in A4 :
=IF(H11-6000000-9000000-15000000-30000000=0,30000000*11%,IF(H11-6000000-9000000-15000000=0,(H11-6000000-9000000-15000000)*11%,0))

i have in A5 :
=IF(H11-6000000-9000000-15000000-30000000-60000000=0,60000000*15%,IF(H11-6000000-9000000-15000000-30000000=0,(H11-6000000-9000000-15000000-30000000)*15%,0))

i have in A6 :
=IF(H11-6000000-9000000-15000000-30000000-60000000-120000000=0,1200000000,IF(H11-6000000-9000000-15000000-30000000-60000000=0,(H11-6000000-9000000-15000000-30000000-60000000)*20%,0))

now guys , what should i do in order to make them in ONE SINGLE FORMULA in
cell B1 ??

FOR THE ONE WHO SOLVE THIS ONE I TELL HIM PREVIOUSLY : " RESPECT "

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
nested if Gary Wessle Excel Worksheet Functions 6 August 2nd 07 05:19 AM
nested if Janis Excel Discussion (Misc queries) 3 July 27th 07 11:54 PM
nested if based on nested if in seperate sheet. how? scouserabbit Excel Worksheet Functions 5 March 2nd 07 04:03 PM
Nested If help JoeA2006 Excel Worksheet Functions 2 January 4th 07 04:08 PM
Nested If with And TheLeafs Excel Worksheet Functions 2 August 24th 05 05:24 PM


All times are GMT +1. The time now is 09:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"