+ Reply to Thread
Results 1 to 4 of 4

Utilizing iteration in conjunction with Excel function

Hybrid View

  1. #1
    Registered User
    Join Date
    10-31-2008
    Location
    California
    Posts
    5

    Utilizing iteration in conjunction with Excel function

    I need to write some sort of Excel construct (a function?) that will return the federal and state taxes that will be incurred when I withdraw a specified level of spending money from my IRA. This sounds easy, except that the actual taxes incurred are dependent upon the total amount of money that is withdrawn from the IRA--and this total amount includes both the spending money and the money needed to pay the taxes. So computing the taxes cannot be done as a single calculation, but must use some sort of iterative approach. Ideally I would like to start with a spending value, (SV), that would be the amount of money that I want to spend in a year, not counting taxes. The function (or functions) would then go through some sort of iterative calculation process that would compute the total spending level including taxes, (TS), the federal tax, (FT), and the state tax, (ST). These values would have the relationship that TS=SV+FT+ST. When the iteration was finished, the federal tax and state tax amounts would be consistent with the taxes that would be due for this level of total spending as determined by the normal tax tables for both federal and state taxes. I am not concerned that the tax figures be absolutely exact, so a lot of iteration is probably not necessary. Any recommendations for how I might best do this?
    Last edited by VBA Noob; 11-03-2008 at 03:36 AM. Reason: better title requested by moderator

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Squash_Pro

    Please take a couple of minutes and read the Forum Rules then edit your thread title by following the instructions in the rules (Rule 1) so that it better discribes your problem/request
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    10-31-2008
    Location
    California
    Posts
    5
    I ended up creating a function and nesting it within itself 3 times to solve this issue. Consider this issue solved.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Squash_Pro,

    Please mark you're threads as solved instead of just typing it

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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