+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Nested "IF" statements to calculate marginal tax rates

  1. #1
    Registered User
    Join Date
    12-27-2009
    Location
    Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    9

    Nested "IF" statements to calculate marginal tax rates

    I am trying use “IF” statements to make a single formula that will calculate a person's taxable income assuming the six different marginal tax rates that range from 10% to 35%, as income increases; the formula

    For a single taxpayer, the marginal tax rates and the associated income amounts are:
    10% up to $8,350
    (e.g., income tax for income of $5,000 is $500)

    15% up to $33,950
    (e.g., income tax for income of $10,000 is $8,350*10% + $1,650*15% = $747.50)

    25% up to $82,250

    28% up to $171,550

    33% up to $372,950

    35% over $372,950

    I am using "IF" statements to test for each marginal tax rate.
    I began the formula as follows, but it returns a value error.
    Cell D36 is the taxpayer's income
    =IF(D36<=8350,D36/10),IF(AND(D36>8350,D36<=D31),SUM(D36/10,D36/6.666))

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Nested "IF" statements to calculate marginal tax rates

    Perhaps

    Please Login or Register  to view this content.
    EDIT: incidentally your sample for 10k is incorrect I think - should be 1082.50
    Last edited by DonkeyOte; 01-19-2010 at 09:12 AM. Reason: added note: re example

  3. #3
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Nested "IF" statements to calculate marginal tax rates

    Hi,

    How about this

    =D36*INDEX({0.1,0.15,0.25,0.28,0.33,0.35},MATCH(D36,{8350,33950,171550,82250,372950},1))
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  4. #4
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Nested "IF" statements to calculate marginal tax rates

    Dave (Sweep),

    My results are different than yours. Please review. You need at least a zero (0) value for the match(,,1) o you'll end up with #NA for values < 8350.

    I kept a table

    =SUM(IF(A1:A6<A8,($A$8-A1:A6)*B1:B6))

    Where
    A8 is the Amount
    A1:A6 are the amounts 0, 8350,33950, 82250, 171550, 372950
    B1:B6 are the amounts 0.1, 0.05, 0.1, 0.03, 0.05, 0.02

    SCE required as it is an array function
    Last edited by rwgrietveld; 01-19-2010 at 10:06 AM.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Nested "IF" statements to calculate marginal tax rates

    Ricardo, for the sake of end-user robustness I'd probably combine the two approaches that is to say persist with SUMPRODUCT (no CSE entry) but use a Table for ease of modification
    (ie so as to avoid having to modify inline array)

    Converting my earlier SUMPRODUCT utilising your ranges:

    Please Login or Register  to view this content.
    That being said - if I were to keep a table I would probably hold the actual % in one Column and store the (calculated) incremental % difference in another for sake of transparency...

  6. #6
    Registered User
    Join Date
    12-27-2009
    Location
    Philadelphia
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Nested "IF" statements to calculate marginal tax rates

    Thank you "DonkyeOte" and Dave for your suggestions. I have copied them into my excel file and will be reviewing them.
    Martin

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Nested "IF" statements to calculate marginal tax rates

    Just for clarity...

    If the calculation is tiered then as inferred by Ricardo, Dave's INDEX solution won't work and if not tiered neither my SUMPRODUCT nor Ricardo's SUM Array would work.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1