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.