+ Reply to Thread
Results 1 to 3 of 3

Automatic change the number of days of Stdev

  1. #1
    Forum Contributor
    Join Date
    01-17-2011
    Location
    amsterdam, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    189

    Automatic change the number of days of Stdev

    Hi,

    In column C is the Standard Deviation of the last 30 days
    Is there also a way that I can adjust the number of days automatic
    So I mean in cell C3 is the number of days SD (30)
    So if I adjust this number the formula changes, see example below:


    Formula in cell C32 is =STDEV(B3:B32)*SQRT(252)
    But If I change cell C3 to 20 the formula changes to =STDEV(B13:B32)*SQRT(252)

    Hope someone can help me,

    Thanks
    Attached Files Attached Files
    Last edited by keis386; 08-09-2012 at 10:56 AM.

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Automatic change the number of days of Stdev

    Use the INDIRECT function to build the name of a relative cell reference.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    01-17-2011
    Location
    amsterdam, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    189

    Re: Automatic change the number of days of Stdev

    Thanks really good!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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