# Calculating yearly returns from daily performance data - product function

#### VBAhelp33

##### New Member
Hi all,

I have a column of daily dates & in the next column I have the corresponding values (daily stock returns) for those dates. For the EOM dates, the return is for the whole month, not just the day like the daiy returns are.

I would like to find the 1 year return, which means I need to find the product of the last 12 EOMs monthly stock returns. Is there a formula that can do that? If it was just monthly data it would be quite easier, but its got me stumped with the daily data..

Example of my data:

A1
 29/03/2021 0.07% 30/03/2021 0.30% 31/03/2021 0.02% 01/04/2021 0.02%
Etc

Last edited:

### Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

#### offthelip

##### Well-known Member
The way I would do it is create helper column where you add 1 to the return. to get 1.0007 for the first value, then use geometric mean times the count to find total annual return ( subtract 1 from the result)
Excel Formula:
``=GEOMEAN(A2:A360)* COUNT(A2:A360)-1``

Replies
1
Views
351
Replies
0
Views
167
Replies
2
Views
695
Replies
7
Views
246
Replies
0
Views
234

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,152,403
Messages
5,769,872
Members
425,576
Latest member
niall54321

### 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?

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