+ Reply to Thread
Results 1 to 2 of 2

Complex Formula Help Needed

Hybrid View

  1. #1
    Registered User
    Join Date
    07-06-2009
    Location
    Muscat
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Complex Formula Help Needed

    Hi

    I'm new here and am actually pretty chuffed to find a forum specifically for Excel. I've used excel a lot for work but beyond basic functions I've not done much.

    I have a problem that needs a bit of explaining. I am trying to design a formula that, depending on market conditions, alters the position of a financial portfolio. There is a set of conditions that needs to be followed. Below is the detail:

    Suppose you have a portfolio ("Portfolio" or "PV") of $100. Of this $100, $75 is placed in the stock market (called "risky assets", or "RA"). $20 is kept as cash ("Cash" or "CA"), and 5% is collected as fees ("fees"). So:

    PV = RA + CA + Fees
    100 = 75 + 20 + 5

    The fee is removed from the equation, leaving:

    PV = RA + CA
    95 = 75 + 20

    The conditions are thus:
    1. If the PV rises above 110, then $5 is taken from CA and placed in RA. Since the portfolio can only rise through an appreciation of RA (cash is constant and the fees are removed from the equation), when RA hits 90, 5 is taken from CA and added to RA:

    PV = RA + CA
    110 = 95 + 15

    2. The same process is repeated if PV rises above 120, $5 more is taken from cash and placed in RA. (i.e. if RA hits 105)

    PV = RA + CA
    120= 110 + 10

    3. The same process is repeated if PV rises above 130, $5 more is taken from cash and placed in RA. (i.e. if RA hits 120)

    PV = RA + CA
    130= 125 + 5

    3. The same process is repeated if PV rises above 140, $5 more is taken from cash and placed in RA. (i.e. if RA hits 135)

    PV = RA + CA
    140= 140 + 0

    Beyond this there are no more rebalances, as CA is 0.

    However, the opposite occurs when the value of the portfolio falls. If at any point PV falls below 135, 5 is removed from RA and placed in CA. If PV falls below 125, 5 more is removed from RA and placed in CA. If PV falls below 115, 5 more is removed from RA and placed in CA. and if PV falls below 105, 5 more is removed from RA and placed in CA. Once CA hits 20, there are no more rebalances.

    I have tried this using IF formulas, but I cannot get it to work. I wonder if using more advanced programming is needed. I have enjoyed the process so far and made some progress, but I feel I am stuck. and my boss is starting to breathe down my neck.

    I would appreciate any help that could be provided to me for this challenge!

    Thanks

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

    Re: Complex Formula Help Needed

    Welcome to the Board, however, I'm afraid...

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

+ 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