Hi everyone, first time poster here. I have played around with this for quite some time by myself, but cannot get solver to work for me, so I thought I would reach out to some gurus online. I am quite confident it is a simple solve (pun intended ).
Overview/Details:
- I have created a spreadsheet to keep track of my investment portfolio, with the idea being that every once in a while, I would use Solver to tell me the optimal amount of each fund I should purchase in order to bring me as close as possible back to my desired allocations
- I will not be selling any funds at any point, so this is a buy-only set up (e.g. the optimal answer will not include selling any amount of one fund and buying others, it will only involve buying funds). For example, let's say every 3-6 months or so, I will put in a couple thousand dollars, and during that time, the values of the different funds would have changed, and I would like to quickly figure out which funds I should put more or less money into to bring them back to the percentage of the total portfolio I'd like them to be
- I set the spreadsheet up so that the solver would be trying to reduce the total % I am away from my ideal asset allocations. A simplified example: if I had two funds, and I wanted them to each hold 50% weighting in my $100 portfolio, but currently Fund A was worth 60% ($60) and Fund B was worth 40% ($40), then both funds would be 10% away from their ideal allocation of 50%, and the total percentage away from a perfect allocation would be 20%. I set the solver up to try to reduce that total of 20% by as much as possible. If I had $50 to add to my $100 portfolio, buying $15 of Fund A (now totaling $75) and $35 of Fund B (now also totaling $75) would be the ideal allocation, bringing them both to my desired 50% allocation, reducing the total percentage away from ideal to 0%.
- Solver set to reach a solution by changing the cells that adjust how much of each fund to buy (purple cells, M8:M14)
- I've tried using a multitude of different constraints, currently it is set to just one constraint: the total amount of new funds to buy cannot exceed the new amount I have to invest (N2)
- Currently set to Nonlinear (not sure what would be correct here, but I am sure I have tried all different options here in the past)
- Edit: I also plan to include a constraint that makes use of most of the new money I have to invest (e.g. if I have $2000 to invest, it wouldn't be much use if the optimal Solver output was to only buy $100). But for now, I am just trying to get the Solver output to work, and plan to add that constraint once I have it working properly.
I am hoping it is somewhat self explanatory when looking at the spreadsheet, I have set it up in quite an organized fashion (I hope). I cannot get solver to output any amounts at all. Thanks in advance for any help.
Bookmarks