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: 2

Some videos you may like

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

mole999

Moderator
Joined
Oct 23, 2004
Messages
10,524
Office Version
  1. 2019
  2. 2016
  3. 2013
Platform
  1. Windows
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)
 

Watch MrExcel Video

Forum statistics

Threads
1,119,170
Messages
5,576,518
Members
412,730
Latest member
Thundereagle
Top