Hi. I have a list of stocks and a list of stock prices at every point in time. I also have a list of dates for which you buy the stock and a condition that determines which stock to sell to make room for the new purchase. I want something coded, ideally in excel/VBA, that can model this stock portfolio and the return over time.