need rolling standard deviations, annualised return etc

yipdog

New Member
Joined
Mar 13, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. MacOS
Hi I am trying to build a table to track certain fund performance and calculate their rolling standard deviations, annualised return etc, however the release date of these data differ between each fund, my formula is constructed to find the first non zero number in the data row then scan to the right in order to calculate the metrics needed.

Can someone help with my formula aha, i am quite frustrated!


An example is to calculate the 1 year rolling standard deviation [The formula below aint working]

=IFERROR(STDEV(OFFSET(U13,0,MAX(IF(NOT(ISBLANK(U13:UD13)),COLUMN(U13:UD13)-COLUMN(U13),0)),1,-12)),"plz fix")
 

Attachments

  • Screen Shot 2020-03-13 at 3.05.57 PM.png
    Screen Shot 2020-03-13 at 3.05.57 PM.png
    35.5 KB · Views: 8

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Your post has been reported as being cross posted with another site.

While we do allow Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.

Please provide the link(s)
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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