+ Reply to Thread
Results 1 to 5 of 5

Find STDEV Of First 3 Numbers To Appear in Column

  1. #1
    Registered User
    Join Date
    08-15-2011
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    78

    Find STDEV Of First 3 Numbers To Appear in Column

    Starting from cell A1, I have the following values through to A10 (BLANK = an empty cell) :

    48.5
    BLANK
    BLANK
    49
    BLANK
    46
    BLANK
    37.5
    51.5
    50.5

    If I wanted to manually calculate the STDEV of the first 3 values to appear in the column, I would type =STDEV(A1:A6)
    However, I need to paste this formula to columns where the values and blank cells are randomly placed. So I am trying to figure out a formula that will automatically apply the STDEV function the the first 3 cells that contain values.

    Any ideas ?

    Many thanks.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,708

    Re: Find STDEV Of First 3 Numbers To Appear in Column

    With the understanding that the posted values are in A1:A10 array enter this formula.

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    SUBTOTAL/OFFSET should handle this, but I am unable so far to get it to work.


    A
    B
    C
    1
    48.5
    1.607275
    In B1: {=LOOKUP(1E+306,STDEV.S(OFFSET($A$1,SMALL(IF(ISNUMBER($A$1:$A$10),ROW($A$1:$A$10)-MIN(ROW($A$1:$A$10))),ROW($1:$3)),)))}
    2
    BLANK
    3
    BLANK
    4
    49
    5
    BLANK
    6
    46
    7
    BLANK
    8
    37.5
    9
    51.5
    10
    50.5
    Dave

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,708

    Re: Find STDEV Of First 3 Numbers To Appear in Column

    Here's the SUBTOTAL/OFFSET. Also array entered.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you have a newer version of Excel please let us know. There are other ways to do this. ex. AGGREGATE (2010) has some stat functions. STDEV is one of them.

  4. #4
    Registered User
    Join Date
    08-15-2011
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    78

    Re: Find STDEV Of First 3 Numbers To Appear in Column

    I've used the SUBTOTAL/OFFSET formula, it works really well thankyou.
    Cheers !

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2503
    Posts
    13,708

    Re: Find STDEV Of First 3 Numbers To Appear in Column

    You are welcome. Glad to help. Thank you for the feedback, rep and marking your thread 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. Replies: 4
    Last Post: 10-19-2017, 08:12 AM
  2. [SOLVED] STDEV ignoring blank cells aswell as transforming negative numbers to positive.
    By Per_s in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-08-2016, 11:58 AM
  3. [SOLVED] random numbers with mean and stdev fixed
    By yamboe in forum Excel General
    Replies: 2
    Last Post: 11-26-2015, 01:29 PM
  4. Replies: 3
    Last Post: 04-06-2013, 11:04 PM
  5. ignoring #N/A in column average, stdev, etc
    By usererrr in forum Excel General
    Replies: 2
    Last Post: 10-19-2010, 06:08 PM
  6. Replies: 3
    Last Post: 01-27-2009, 09:57 PM
  7. Replies: 0
    Last Post: 02-01-2005, 12:02 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