+ Reply to Thread
Results 1 to 9 of 9

Problem with creating a correct formula for calculating STDEV for several time series.

  1. #1
    Registered User
    Join Date
    04-16-2011
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    34

    Problem with creating a correct formula for calculating STDEV for several time series.

    Hi, I'm trying to make an array formula that would do the job. In Data sheet I have data for each weekday, on Dashboard sheet I want to create formula that would calculate standard deviation for the data points concerning the specific week number, i.e. I want the formula I have created on Dashboard sheet to "jump" so that the calculations are correct for each week.

    Thanks in advance for pointers
    Attached Files Attached Files
    Last edited by Exceltrouble; 03-14-2016 at 11:09 AM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: How to make a correct array formula?

    Thanks for editing your thread title!

    Solution as promised,

    =STDEV.P(OFFSET(data_1!$I$1,MATCH($A2,data_1!$I$2:$I$50,0),MATCH(B$1,data_1!$J$1:$P$1,0),COUNTIF(data_1!$I$2:$I$50,$A2),1))

    It uses a volatile function, but will probably operate more efficiently than an array formula.
    Last edited by jason.b75; 03-14-2016 at 07:59 AM. Reason: removal of title change request

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Problem with creating a correct formula for calculating STDEV for several time series.

    Hi
    Try this array formula (Ctrl+Shift+Enter) and copy down and right
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-16-2011
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Problem with creating a correct formula for calculating STDEV for several time series.

    I must do something incorrect, both attempts result in formula error.

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Problem with creating a correct formula for calculating STDEV for several time series.

    What kind of error?

    See if this one works

    =STDEV.P(OFFSET(data_1!$I$1;MATCH($A2;data_1!$I$2:$I$50;0);MATCH(B$1;data_1!$J$1:$P$1;0);COUNTIF(data_1!$I$2:$I$50;$A2);1))

  6. #6
    Registered User
    Join Date
    04-16-2011
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Problem with creating a correct formula for calculating STDEV for several time series.

    Fixed thanks a lot for you assistance!

  7. #7
    Registered User
    Join Date
    04-16-2011
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Problem with creating a correct formula for calculating STDEV for several time series.

    I missed the difference in formatting - "," ";"

    Thanks once more.

  8. #8
    Registered User
    Join Date
    04-16-2011
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    34

    Re: Problem with creating a correct formula for calculating STDEV for several time series.

    Do I have to mark the thread also, "Closed" "Answered" or similar? Or this is done by admins?

  9. #9
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Problem with creating a correct formula for calculating STDEV for several time series.

    Thanks for the feedback, always happy to help!

    If you go back to edit your thread title there will be a dropdown box where you can mark it as solved.

+ 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. Can I make the row lookup array/range part in an array formula variable?
    By OLLY-7 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-18-2014, 09:06 AM
  2. Google Spreadsheets, how do I make an array formula?
    By puretppc in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 02-02-2014, 08:13 PM
  3. How can I make this array formula (see thread) less computationally demanding?
    By Dexamphetamine in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-15-2013, 08:04 AM
  4. Array formula not bringing correct data
    By Nikeyg in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-08-2013, 12:02 PM
  5. Replies: 10
    Last Post: 01-21-2012, 06:03 AM
  6. Modify this array formula to correct #Num error
    By daymaker in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-13-2011, 11:55 AM
  7. [SOLVED] Array Formula Not Correct
    By bw in forum Excel General
    Replies: 7
    Last Post: 11-06-2005, 06:15 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