+ Reply to Thread
Results 1 to 4 of 4

Calculate 100yrs monthly st. deviation with daily inputs

  1. #1
    Registered User
    Join Date
    04-07-2017
    Location
    rome
    MS-Off Ver
    MS Office 2010
    Posts
    6

    Calculate 100yrs monthly st. deviation with daily inputs

    Hi guys, this is my first thread here and I would be glad if you can solve my problem. I try to explain it:

    I have got daily returns for an index, starting from 1926 ending today. My pourpose is to calculate monthly standard deviations but since months have different days (28-29-30-31) I'm not able to determine them simply by replicating the command. I have uploaded a spreadsheet where I have just calculated the first monthly data: i need to do it of course for the other months.
    What do you suggest me to do? If i wasn't clear in the description of the issue, just tell me and i will try to explain it better.

    thank you

    Luca
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Calculate 100yrs monthly st. deviation with daily inputs

    Welcome to the forum!

    Try the following formula in D2. It should be array-entered (confirmed with Ctrl + Shift + Enter instead of Enter):

    =+STDEV.P(IF((YEAR($A$2:$A$23929)=YEAR($C2))*(MONTH($A$2:$A$23929)=MONTH($C2))=1,$B$2:$B$23929))

    Fill it down for the rest of the months. Give it a look to see if it'll do:
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-07-2017
    Location
    rome
    MS-Off Ver
    MS Office 2010
    Posts
    6

    Re: Calculate 100yrs monthly st. deviation with daily inputs

    Thank You really CAntosh.. i will mention you in my thesis

    Luca

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Calculate 100yrs monthly st. deviation with daily inputs

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to calculate weekly and monthly percentage returns from daily figures
    By bensittingdown in forum Excel Formulas & Functions
    Replies: 32
    Last Post: 10-15-2014, 05:02 PM
  2. [SOLVED] Computing monthly standard deviation from daily data
    By Quantopic in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-07-2014, 07:42 AM
  3. Replies: 3
    Last Post: 10-01-2013, 05:05 AM
  4. Calculate daily targets given: month, monthly budget, daily indexes
    By Chuckyrp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2013, 03:30 AM
  5. Calculate Totals weekly and Monthly from daily Figures
    By mfjanoo in forum Excel General
    Replies: 3
    Last Post: 03-05-2012, 03:06 PM
  6. Need to calculate monthly averages from daily values
    By smiso24 in forum Excel General
    Replies: 2
    Last Post: 07-13-2011, 01:03 PM
  7. How Do You Calculate On-Going Daily/Monthly Interest?
    By StevenLAX in forum Excel General
    Replies: 1
    Last Post: 03-01-2005, 09:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1