+ Reply to Thread
Results 1 to 3 of 3

STDEV to Ignore Blanks/0's

Hybrid View

  1. #1
    Registered User
    Join Date
    08-29-2017
    Location
    Oregon
    MS-Off Ver
    2016
    Posts
    26

    STDEV to Ignore Blanks/0's

    Hello!

    I have done a search through the forums and found a variety of formula for a variety of STDEV issues, but none as mundane as the problem I am having.

    What I have:
    I have columns of numbers by employee, with each row being a day of the month. Each cell pulls the total number of samples they have processed during their shift (a separate formula). Some cells return nothing because they were not on shift that day.

    What I need:
    I need to calculate the Standard Deviation that ignores blank cells and 0's that I can apply to each employee.

    This is what I have tried:
    STDEV for Excel.jpg

    I also tried selecting individual cells that have numbers with "=STDEV(I2,I8,I9,I15,I16,I17)", which gives 11.78134118. I would prefer something I did not have to manually plot, to elimate errors on my part (the 7.7... results is from "=STDEV(I2:I32)"). NOTE: They are all entered as array.

    I would greatly appreciate any help!

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: STDEV to Ignore Blanks/0's

    I suggest you try =STDEVA(IF(I2:I32>0,I2:I32))
    Enter as an array formula, and see if it gives the correct result.

    I just used some trial and error on all the STDEV options, and found that this one seemed to set blanks to zero which are then ignored by the IF part of the formula.

    I hope this helps, please let me know!

    Regards,

    David

    If this has been helpful
    - Please click on the *Add Reputation button at the bottom left.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


  3. #3
    Registered User
    Join Date
    08-29-2017
    Location
    Oregon
    MS-Off Ver
    2016
    Posts
    26

    Re: STDEV to Ignore Blanks/0's

    David,

    That did it! Thank you very much! I can't believe I couldn't get something similar to work before.

+ 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. [SOLVED] How to ignore blanks and get rid of error #value
    By RachA12 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-16-2018, 05:34 AM
  2. ignore blanks
    By Patcheen in forum Excel General
    Replies: 7
    Last Post: 07-21-2017, 08:53 AM
  3. Ignore the blanks
    By ailismanzoni in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-19-2017, 08:41 AM
  4. VBA code finds blanks, but how to write VBA to ignore non blanks?
    By hopegriffin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-20-2016, 10:51 AM
  5. Stdev / offset function to ignore #N/A
    By joshnathan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-27-2014, 08:44 AM
  6. [SOLVED] MIN/MAX IF To Ignore Blanks
    By splendidus in forum Excel General
    Replies: 2
    Last Post: 07-04-2012, 04:00 PM
  7. Ignore blanks when using COUNTIF
    By mattmac in forum Excel General
    Replies: 3
    Last Post: 05-27-2011, 04:56 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