Help with numbers formula to average the previous 12 months of financial investments returns

Hi,


I use a numbers spreadsheet to track my investment portfolio. I have a formula that calculates the return for each month. I'm trying to figure out the formula to average the last 12 months of values into cell C2. The formula to average the previous 12 values is easy enough to figure out. I having trouble with the portion when I add a new entry each month. I tried using the averageif function but I can't figure out the correct syntax for the date criteria (averageif the date is between this month and the previous 12 months). Not sure if this is the best approach? If anyone knows the correct syntax for this or has a better idea of how to accomplish this. It would be greatly appreciated.




Posted on Feb 20, 2024 12:45 PM

Reply
6 replies

Feb 20, 2024 8:46 PM in response to emt6388

I think there are a couple of possible misconceptions here:


1) Investment performance is not the percentage difference between book value and market value.


It typically is measured as the change in Market Value expressed as a percentage of Beginning Market Value, or EMV-BMV divided by BMV expressed as a percentage.


This simplifies to EMV/BMV-1. This is what most analysts use.


2) Because of compounding effects (hugely significant) one can't just take an average of percentage period returns. To account for compounding you need to derive what is sometimes called the "geometric" average, calculated by this general formula: EMV/BMV^(1/n)-1, where n is the number of periods.


Applying this to your example gives you something like this:




In G13, which you could put up in the table header or wherever:


=(F15/F2)^(1/12)−1



In E3 filled down the column:


=D3/C3−1


In F3 filled down the column:


=F2/(1+E3)


Is is usually convenient to have a "growth of $100" index type column such as F in my example because that simplifies calculations between time periods. You can just apply the general formula.


Note that you can get the cumulative return (as opposed to monthly) by looking at the 152.02 in the index column. If you started with 100 that means the return over that period was 52%. If you want the return for a different period just divide the relevant index values.


If you add money or take money out of the account then you have to adjust the return for the months such contributions or withdrawals occur as they have a large effect on returns. If you have that problem you can post.


SG







Feb 21, 2024 8:20 AM in response to emt6388

To piggyback on SGIII's statement that you cannot simply average the monthly results and get a meaningful result, here is an example for a 3 month period:


Initial investment = $100

September it drops precipitously to $1. The monthly return is -99%

October it rises to $10. The monthly return is 900%

November it rises to $100. The monthly return is 900%. You are back to the $100 you started with.


Average(-99%,900%,900%) =567%

You did not make a 567% return on this investment. Over those 3 months you broke even with a 0% return


Another example is an investment that drops by 50% one month then rises by 50% the next. A lot of people think that is break even but it is far from it.


Start with $100

$100*(1-0.5) = $50

$50*(1+0.5) = $75

End result is $75, a loss of $25.

Feb 21, 2024 12:55 PM in response to SGIII

Thank you to all of you (SGIII, Badunit and Yellowbox) for taking the time to respond. I thought the calculation for the investment returns would be simple. Obviously, it's not. Both of your explanations make sense. Thanks for doing that. SGIII I'm having trouble with your formulas. For some reason, I don't get the same results that you do. The formula in column E =D3/C3−1 works. The formula in column F =F2/(1+E3) gives me a different result. I re did the spreadsheet so that it was exactly like yours and still got different results. Not sure what I am doing wrong?


Any help would be greatly appreciated.


Feb 21, 2024 5:39 PM in response to emt6388

emt6388 wrote:

The formula in column F =F2/(1+E3) gives me a different result.


As well it should! My apologies.


Unfortunately I have a significant typo in the formula I put in the post (but not my table). It should be:


=F2*(1+E3)


My apologies.


Post if that doesn't work for you or you have further questions. Calculating investment performance can be confusing. But the basic formulas are quite straightforward.


Badunit's example contains a classic lesson about investing. If you incur a 50% loss you can't make up for it by a 50% gain. Just to get back to where you started you have to double your money (i.e. gain 100%).


For many people, that is not intuitive. That is one of the reasons setting up an index (growth of $100) column like F in this example can be so helpful.


SG

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Help with numbers formula to average the previous 12 months of financial investments returns

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.