Cumlative returns by date

jacklan

New Member
Joined
Jan 5, 2018
Messages
1
01/11/09
1.12
01/12/092.23
01/01/101.45
01/02/10-1.68
01/03/102.01
01/04/10-1.77
01/05/101.34
01/06/101.76
01/07/102.34

01/08/10-1.23
01/09/101.76
01/10/102.45
01/11/10-1.56
01/12/101.65
01/01/112.34
01/02/111.90
I have a table like the above, but larger 2009-2017, and want to calculate yearly cumulative returns (where RHS % returns) is there a simple way to do this, currently playing round with

=AVERAGEIFS(Returns!B2:B98,Returns!A2:A98,">=01-Jan-2015",Returns!A2:A98,"<=31-Dec-2015")

but I would like the cumulative yearly retuen, not the yearly average.

Any help appreciated!!




<tbody>
</tbody>
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi,

Rather than "hard coding" the date/year in the formula, in which case you'll need a different formula for every year, would this work for you:


Book1
AB
11/11/20091.12
21/12/20092.23
31/1/20101.45
41/2/2010-1.68
51/3/20102.01
61/4/2010-1.77
71/5/20101.34
81/6/20101.76
91/7/20102.34
101/8/2010-1.23
111/9/20101.76
121/10/20102.45
131/11/2010-1.56
141/12/20101.65
151/1/20112.34
161/2/20111.9
Returns



Book1
AB
1YearCumulative Return
220093.35
320108.52
420114.24
Sheet3
Cell Formulas
RangeFormula
B2=SUMPRODUCT((YEAR(Returns!A$1:A$16)=A2)*(Returns!B$1:B$16))


B2 formula copied down for all years you need, adjust cell references as needed.
Let me know if you prefer to "hard code" the date/year in the formula(s).
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top