+ Reply to Thread
Results 1 to 9 of 9

Averageif ignoring #N/A

  1. #1
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Averageif ignoring #N/A

    Assume I want to average the contents of A1, C1 and E1 and ignore B1 and D1

    And A1,C1 or E1 could contain a #N/A error. Various IF statements work fine if the rage of cells to average is continuous but I am stumped on what too do with non-adjacent cells!

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Averageif ignoring #N/A

    Do you have more than 3 cells to average?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Re: Averageif ignoring #N/A

    Nope, 3 will do it!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Averageif ignoring #N/A

    Try this...

    =IFERROR(AVERAGE(IF(ISNUMBER(A1),A1,{""}),IF(ISNUMBER(C1),C1,{""}),IF(ISNUMBER(E1),E1,{""})),"")

  5. #5
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Re: Averageif ignoring #N/A

    Yes that works for me! Thank you too much!

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Averageif ignoring #N/A

    You're welcome. Thanks for the feedback!

  7. #7
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Re: Averageif ignoring #N/A

    NP... I posted another one if you think you might be able to help!

    http://www.excelforum.com/excel-form...umproduct.html

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Averageif ignoring #N/A

    I'm getting ready to call it a day. I'll take a look at it tomorrow.

  9. #9
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Re: Averageif ignoring #N/A

    Not a problem! Thanks for your help!

+ 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. =averageif(s)
    By emurphy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-07-2013, 12:44 PM
  2. [SOLVED] AVERAGEIF - Ignoring 0 values - It's supposed to but not doing it.
    By BeachRock in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2013, 11:57 PM
  3. Averageif
    By wachinnai in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-19-2011, 02:01 PM
  4. AverageIf
    By larryg003 in forum Excel General
    Replies: 2
    Last Post: 06-19-2010, 07:27 PM
  5. Excel 2007 : Averageif
    By PaulMc in forum Excel General
    Replies: 6
    Last Post: 09-29-2008, 03:45 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