+ Reply to Thread
Results 1 to 11 of 11

Calculation based on staggered percentage increases, but with certain parameters

  1. #1
    Registered User
    Join Date
    11-03-2017
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2013
    Posts
    6

    Calculation based on staggered percentage increases, but with certain parameters

    Hi Everyone,
    I've been working on an excel sheet to auto calculate taxes for me, and I have managed to get most of it sorted but am struggling with the last part, I cannot get the YTD USC calculations to do what I want them to do.

    If you could please have a look at the tab called 2018(2) and try to assist.

    You'll see on the left hand side, there is the thresholds, so the first €1001 per month is charged at 0.5%, then the next €613.33 per month (difference between 1001 and 1614.33) is charged at 2%, then the next €4222.67 per month (5837-1614.33) is charged at 4.75%, and then anything above €5837 per month is charged at 8%.

    My example is looking at month 2, and the figure being taxed is €6000. The correct calculations are highlighted in orange, however my formulas in the table above are returning me an incorrect figure, it is not able to deal with earnings below the highest threshold and is trying to refund too much money.

    I have looked at first calculating the amount inbetween each threshold, and then multiplying them by the relevant percentage and adding them together, I'm not sure if I need to split it out more and create more stages. I have been scratching my head looking at this for some time and am eager to learn if there is a solution, any help would be greatly appreciated!

    Thanks,

    Mark
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Calculation based on staggered percentage increases, but with certain parameters

    Hello MarkyBoi,

    Welcome to excelforum

    Here’s one way to do that

    http://www.mcgimpsey.com/excel/variablerate.html
    Audere est facere

  3. #3
    Registered User
    Join Date
    11-03-2017
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Calculation based on staggered percentage increases, but with certain parameters

    Thanks daddylonglegs, I'll have a look through that. Not really a task for a Friday afternoon but I'll see how far I get! Will let you know if (when) I struggle with any of it.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,585

    Re: Calculation based on staggered percentage increases, but with certain parameters

    Pl see attached file

    Formula for total YTD USC
    =H3*(MAX((MIN(C8,H11)-C7)*D8,0)+MAX((MIN(C9,H11)-C8)*D9,0)+MAX((MIN(C10,H11)-C9)*D10,0)+MAX((MIN(C11,H11)-C10)*D11,0))
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 11-03-2017 at 02:09 PM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Registered User
    Join Date
    11-03-2017
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Calculation based on staggered percentage increases, but with certain parameters

    Quote Originally Posted by kvsrinivasamurthy View Post
    Pl see attached file

    Formula for total YTD USC
    =H3*(MAX((MIN(C8,H11)-C7)*D8,0)+MAX((MIN(C9,H11)-C8)*D9,0)+MAX((MIN(C10,H11)-C9)*D10,0)+MAX((MIN(C11,H11)-C10)*D11,0))
    Hi Kvsrinivasamurthy,

    Thank you for having a look at my spreadsheet, however the formula you have provided isn't giving me what I am looking for.

    If you look at the table highlighted in orange, you will see what percentage has been applied to each part of the YTD Taxable Pay of 6000 (H11). You will see that the first 2002 was at 0.5%, then the next 1226.66 at 2%, then the remaining 769.34 at 4.75%. So the parameter for each percentage is multiplied by H3.

    So when these rules are followed, you calculate that the YTD USC due is €71.09. Then if you look at H6 you will see that we have already paid €80 USC, so the USC Amount due is -€8.91 which is a refund. The max refund a person can get is -H6 (they cannot be refunded more than they have already paid). I have attached the spreadsheet with a more detailed breakdown of the thresholds to include multiplying them by H3.

    I would appreciate if anyone could take another look at this for me.

    Thanks!
    Attached Files Attached Files
    Last edited by MarkyBoi; 11-06-2017 at 11:03 AM.

  6. #6
    Registered User
    Join Date
    11-03-2017
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Calculation based on staggered percentage increases, but with certain parameters

    Quote Originally Posted by daddylonglegs View Post
    Hello MarkyBoi,

    Welcome to excelforum

    Here’s one way to do that

    http://www.mcgimpsey.com/excel/variablerate.html
    I had a look on Friday and couldnt work out how to do it! Will have another look today.

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,585

    Re: Calculation based on staggered percentage increases, but with certain parameters

    IN K19 it is shown

    =769.34*4.75%

    What is this 769.34.

  8. #8
    Registered User
    Join Date
    11-03-2017
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Calculation based on staggered percentage increases, but with certain parameters

    Quote Originally Posted by kvsrinivasamurthy View Post
    IN K19 it is shown

    =769.34*4.75%

    What is this 769.34.
    Hi,

    So the total figure we are calculating tax for is H11 which is €6000

    K17 shows the first 2002 is taxed at 0.5% (1001 X 2)
    K18 shows the next 1226.66 is taxed at 2% (613.33 X 2)

    The next tax bracket is 4.75%. If you look at J30 and K30 you will see the Lower and Higher threshold for the 4.75% bracket. The total figure we are looking at is €6000 so we can see that some of it is chargeable at the 4.75%, but it doesn't fill the whole bracket as €6000 is less than K30.

    We have already taxed 2002 and 1226.66. So if you take 6000 - 2002 - 1226.66 = €2771.34. So 2771.34 is what needs to be taxed at 4.75%, not 769.34, that was my mistake.

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,585

    Re: Calculation based on staggered percentage increases, but with certain parameters

    This works. In M9

    =(MAX((MIN(H3*C8,H11)-H3*C7)*D8,0)+MAX((MIN(H3*C9,H11)-H3*C8)*D9,0)+MAX((MIN(H3*C10,H11)-H3*C9)*D10,0)+MAX((MIN(H3*C11,H11)-H3*C10)*D11,0))
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    11-03-2017
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Calculation based on staggered percentage increases, but with certain parameters

    Quote Originally Posted by kvsrinivasamurthy View Post
    This works. In M9

    =(MAX((MIN(H3*C8,H11)-H3*C7)*D8,0)+MAX((MIN(H3*C9,H11)-H3*C8)*D9,0)+MAX((MIN(H3*C10,H11)-H3*C9)*D10,0)+MAX((MIN(H3*C11,H11)-H3*C10)*D11,0))
    You are an absolute legend, thanks so much! That has solved my major headache and taught me something new, I really appreciate that.

  11. #11
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,585

    Re: Calculation based on staggered percentage increases, but with certain parameters

    Welcome. Pl mark the thread solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 03-11-2014, 12:28 AM
  2. [SOLVED] How can I calculate the base cost after nth year percentage increases?
    By gklrgibson in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-31-2013, 07:27 AM
  3. Replies: 3
    Last Post: 09-28-2013, 05:18 PM
  4. Macro that increases a cell value by a certain percentage
    By Jehanzaib in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-24-2013, 07:55 AM
  5. [SOLVED] Calculation based on X,Y Parameters
    By 00pumpkin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-18-2013, 10:14 AM
  6. Replies: 8
    Last Post: 06-05-2012, 01:16 PM
  7. Date calculation based on multiple parameters
    By koudesak in forum Outlook Formatting & Functions
    Replies: 2
    Last Post: 10-03-2011, 10:18 AM
  8. How to record percentage increases in materials costing sheet.
    By onesonya in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-07-2005, 03:05 AM

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