Cumlative returns by date

jacklan

New Member
Joined
Jan 5, 2018
Messages
1
[TABLE="width: 500"]
<tbody>[TR]
[TD]01/11/09
[/TD]
[TD]1.12
[/TD]
[/TR]
[TR]
[TD]01/12/09[/TD]
[TD]2.23[/TD]
[/TR]
[TR]
[TD]01/01/10[/TD]
[TD]1.45[/TD]
[/TR]
[TR]
[TD]01/02/10[/TD]
[TD]-1.68[/TD]
[/TR]
[TR]
[TD]01/03/10[/TD]
[TD]2.01[/TD]
[/TR]
[TR]
[TD]01/04/10[/TD]
[TD]-1.77[/TD]
[/TR]
[TR]
[TD]01/05/10[/TD]
[TD]1.34[/TD]
[/TR]
[TR]
[TD]01/06/10[/TD]
[TD]1.76[/TD]
[/TR]
[TR]
[TD]01/07/10[/TD]
[TD]2.34

[/TD]
[/TR]
[TR]
[TD]01/08/10[/TD]
[TD]-1.23[/TD]
[/TR]
[TR]
[TD]01/09/10[/TD]
[TD]1.76[/TD]
[/TR]
[TR]
[TD]01/10/10[/TD]
[TD]2.45[/TD]
[/TR]
[TR]
[TD]01/11/10[/TD]
[TD]-1.56
[/TD]
[/TR]
[TR]
[TD]01/12/10[/TD]
[TD]1.65[/TD]
[/TR]
[TR]
[TD]01/01/11[/TD]
[TD]2.34[/TD]
[/TR]
[TR]
[TD]01/02/11[/TD]
[TD]1.90[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]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!! [/TD]
[TD]


[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
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,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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