+ Reply to Thread
Results 1 to 5 of 5

Standard Deviation With If Statement

  1. #1
    Registered User
    Join Date
    03-28-2010
    Location
    New York
    MS-Off Ver
    Office 365
    Posts
    57

    Standard Deviation With If Statement

    Hi Fellas,

    Quick Question:

    I have two columns with the following data set:
    Column A Column B Column C
    0 11.5 20
    0 13.5 34
    0 12.2 114
    1 14.0 9
    1 7 4
    1 12 3
    0 2 2
    0 3 99
    0 9.6 32
    1 2.3 1

    I want to build an excel function that I can drag over to the right column by column to calculate the standard deviation of numbers that only have a 1 in the first column. So for example, the output for Column B would be: standard deviation of (14.0, 7, 12, 2.3); The output for Column C would be standard deviation of (9, 4, 3, 1)

    Thanks!

    Larry
    Last edited by Pepe Le Mokko; 03-10-2020 at 10:59 AM. Reason: Shortened title

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Standard Deviation With If Statement

    If you have a "quick question", you probably need a "quick" answer?
    Then read the yellow banner..

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Standard Deviation With If Statement

    Hi Larry,

    Something like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See the attached for my test.
    StDev using If not zero.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    03-28-2010
    Location
    New York
    MS-Off Ver
    Office 365
    Posts
    57

    Re: Standard Deviation With If Statement

    Thanks Pepe. Please find attached folks for
    Attached Files Attached Files

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Standard Deviation With If Statement

    In B13 put this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and pull to the right.

    Similar to my workbook but now I see where you want the answer.

+ 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. Error / Standard Deviation question
    By OillyBob55 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-14-2017, 03:18 PM
  2. Two standard deviation calculation comparison question
    By Sam Capricci in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-28-2016, 02:30 PM
  3. If statement with standard deviation not giving correct value
    By excel12121 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-12-2016, 12:20 PM
  4. Statistic and Excel Question on Standard Deviation
    By rajivvyas in forum Excel General
    Replies: 0
    Last Post: 11-19-2011, 11:15 PM
  5. Average and Standard Deviation Question
    By ryankarmouta in forum Excel General
    Replies: 1
    Last Post: 10-22-2011, 01:19 AM
  6. Standard Deviation and Nested If Statement
    By FM1 in forum Excel General
    Replies: 5
    Last Post: 10-15-2009, 09:31 AM
  7. A question about Standard Deviation
    By bombayterror in forum Excel General
    Replies: 2
    Last Post: 01-05-2006, 11:46 AM

Tags for this Thread

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