+ Reply to Thread
Results 1 to 6 of 6

Calculate standard error of mean, omitting cells with #DIV/0 errors

  1. #1
    Registered User
    Join Date
    07-24-2019
    Location
    Gainesville
    MS-Off Ver
    Office 365
    Posts
    4

    Calculate standard error of mean, omitting cells with #DIV/0 errors

    I would please like to find a formula that calculates SEM for a range of cells while avoiding the cells with #div/0!. Thanks

    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #1 requires good titles. "Excel formula and functions" is not a good title. I have updated it for you this time because you are a new member. --6StringJazzer
    Last edited by 6StringJazzer; 07-24-2019 at 10:06 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,963

    Re: Calculate standard error of mean, omitting cells with #DIV/0 errors

    You might want to update your profile to Office 365 (as in days of the year, which is correct), not Office 360 (degrees in a circle, which is incorrect).

    Do you already have a formula that is working unless there are errors in the range? Have you tried changing the formulae giving the errors so that the errors don't appear?

    For instance:

    =B1/A1 might give a division error, so I can change it to this:

    =IFERROR(B1/A1,"")

    or:

    =IFERROR(B1/A1,0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-24-2019
    Location
    Gainesville
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Calculate standard error of mean, omitting cells with #DIV/0 errors

    Thanks for updating my title

  4. #4
    Registered User
    Join Date
    07-24-2019
    Location
    Gainesville
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Calculate standard error of mean, omitting cells with #DIV/0 errors

    Thanks Ali, I was able to get a formula to calculate the average while avoiding the DIV/0! error using the formula =AVERAGEIF(FG12:FZ12,"<>#DIV/0!"). I want to calculate the SEM too while avoiding cells with the DIV/0! error. The current formula I'm using to calculate the SEM is =STDEV(FG12:FZ12)/SQRT(GA12). I've tried to modify this formula to avoid the cells with the DIV/0! error but excel keeps telling me that the formula I'm using is wrong. Thanks very much for the help and I look forward to your reply.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Calculate standard error of mean, omitting cells with #DIV/0 errors

    Have you attempted to utilize what Ali said about using IFERROR (as in =IFERROR(formula,"") for the formula that populates cells FG12:FZ12)?
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Registered User
    Join Date
    07-24-2019
    Location
    Gainesville
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Calculate standard error of mean, omitting cells with #DIV/0 errors

    Thanks very much. I was able to use =IFERROR(B1/A1,"") to solve the problem.

+ 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] Excel 2010 Formula that uses IF, AND & OR Functions
    By jakecutler in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-12-2015, 02:01 AM
  2. How to use excel formula functions?
    By angelliy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-28-2013, 03:27 AM
  3. [SOLVED] If/Then Functions with formula in Excel.
    By GHawsJR in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-03-2013, 05:10 PM
  4. How to use excel formula functions?
    By clevelend in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-12-2013, 03:57 AM
  5. How to use excel formula functions?
    By Barneity in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-25-2013, 08:39 AM
  6. I need help in putting this formula all together using the excel functions
    By redvanilla91 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-19-2012, 11:23 PM
  7. Looking for Excel formula functions
    By kevin316 in forum Excel General
    Replies: 1
    Last Post: 11-18-2009, 04:41 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