+ Reply to Thread
Results 1 to 11 of 11

Help with Standard Deviation of array

  1. #1
    Registered User
    Join Date
    07-17-2009
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2007
    Posts
    27

    Help with Standard Deviation of array

    I have a sum product formula (H4) that gives me the average from the array in G7:k11. Is there anyway the get the standard deviation for this array?

    Thanks for the help,
    John
    Attached Files Attached Files
    Last edited by johnexceljohn; 10-09-2014 at 04:08 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Help with Standard Deviation of array

    There are no formulas in your spreadsheet.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Help with Standard Deviation of array

    can you use the STDEV() function?
    currently your deviation is 0 and your average is 1 because all the data is 1
    note also that there are a few different "types" of STDEV in XL....HTH....
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  4. #4
    Registered User
    Join Date
    07-17-2009
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Help with Standard Deviation of array

    Sorry, I'll explain better. These are survey responses ranging from 1-5. The "1's" are where the person responded for that question. So a 1 under 3 is a 3.The formula in H4 gives me the average response for each question. I'm looking for a similar formula that could give me the standard deviation. So the SD for question 1 is 0.70, but I don't know how do get that from the info given.

  5. #5
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Help with Standard Deviation of array

    that helps...

    As ChemistB Stated....you don't have any formulas in your spreadsheet....

    did you mean to do that?

  6. #6
    Registered User
    Join Date
    07-17-2009
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Help with Standard Deviation of array

    Oops, wrong version. I'll try to upload the new one.

  7. #7
    Registered User
    Join Date
    07-17-2009
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Help with Standard Deviation of array

    Ok, I updated the attachment.

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

    Re: Help with Standard Deviation of array

    This would be a lot easier if you made your data table less painful to operate on.

    With:
    1) IF(G-row = non-blank integer, Result, "")
    2) IF(that above <>"", sumproduct(response, count), "") & pull down for each respondent
    3) copypaste (transpose) on the whole range
    4) "remove duplicates" command

    I flipped that table right around into something easy-to-use, then it was this easy:
    AVERAGE(row)
    STDEV(row)

    see attached.
    Attached Files Attached Files
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  9. #9
    Registered User
    Join Date
    07-17-2009
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Help with Standard Deviation of array

    Yeah, I was hoping for a way to do it without changing the format, because that's how the online site delivers the info to me.

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

    Re: Help with Standard Deviation of array

    I dig that.

    But sometimes it's better to do some re-arranging to put data in good layouts friendly to analysis, then to struggle with data in a layout with other priorities.

    Here, I recorded what I did as a macro, so you can run it yourself and see what I mean:
    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    07-17-2009
    Location
    Edmonton, Canada
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Help with Standard Deviation of array

    I think you're right. Thank you for this!!

+ 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. Excel 2007 : standard deviation
    By Jerseynjphillypa in forum Excel General
    Replies: 6
    Last Post: 06-15-2012, 12:21 PM
  2. Excel 2007 : Standard Deviation
    By King_Junior in forum Excel General
    Replies: 8
    Last Post: 09-18-2009, 04:02 PM
  3. Standard Deviation
    By King_Junior in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-16-2009, 03:53 PM
  4. Standard Deviation W/O Max+Min
    By snapa in forum Excel General
    Replies: 8
    Last Post: 06-22-2009, 10:11 AM
  5. [SOLVED] Array Formulas for Geometric Standard Deviation and Sharpe
    By Zeelotes in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-19-2005, 02:05 AM

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