+ Reply to Thread
Results 1 to 9 of 9

How do I average multiple columns (ignoring zeros and blank cells)?

  1. #1
    Registered User
    Join Date
    06-11-2017
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    23

    How do I average multiple columns (ignoring zeros and blank cells)?

    I am trying to average multiple columns (ignoring zeros and blank cells). I have tried the following formulas. Neither is working. Could someone share as to what I may be dong incorrectly?

    =iferrors(AVERAGEIF(E3:E18,J3:J18,">0"),0)
    =iferrors(AVERAGEIFs(E3:E18,J3:J18,">0"),0)

    Thank you in advance for any help,
    yeto

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,290

    Re: How do I average multiple columns (ignoring zeros and blank cells)?

    =AVERAGEIFS(E3:E18,J3:J18,">0")

    Have you tried this formula?
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

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

    Re: How do I average multiple columns (ignoring zeros and blank cells)?

    @yeto

    Administrative note
    Please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile does not indicate your version.
    Thanks

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

    Re: How do I average multiple columns (ignoring zeros and blank cells)?

    Which error do you get ? #DIV0! ?

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

    Re: How do I average multiple columns (ignoring zeros and blank cells)?

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)

    Please add links to ALL your cross posts ( at least three)
    Last edited by Pepe Le Mokko; 02-01-2020 at 12:26 PM.

  6. #6

  7. #7
    Registered User
    Join Date
    06-11-2017
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: How do I average multiple columns (ignoring zeros and blank cells)?

    Quote Originally Posted by popipipo View Post
    =AVERAGEIFS(E3:E18,J3:J18,">0")

    Have you tried this formula?
    That works but when all cells are blank the formula cell shows "#DIV/0!" without quotation marks which I am afraid might cause some confusion. Is it possible for the cell to show 0 when blank?

    Thank you for taking time to answer,
    yeto

  8. #8
    Registered User
    Join Date
    06-11-2017
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: How do I average multiple columns (ignoring zeros and blank cells)?

    Quote Originally Posted by Pepe Le Mokko View Post
    Which error do you get ? #DIV0! ?
    both formulas show: #NAME?

    Thank you for taking time to help,
    yeto

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

    Re: How do I average multiple columns (ignoring zeros and blank cells)?

    There is no "s" at the end of the IFERROR function.
    Try: =IFERROR(AVERAGEIFS(E3:E18,J3:J18,">0"),0)
    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.

+ 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. AVERAGE - Multiple VLOOKUPs whilst ignoring zeros or blanks
    By Jake_1 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-20-2020, 01:00 PM
  2. Replies: 2
    Last Post: 03-14-2018, 08:26 AM
  3. Replies: 2
    Last Post: 03-14-2018, 02:19 AM
  4. Sumproduct Average ignoring blank cells
    By fgruhlke in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2014, 12:32 PM
  5. Getting average but ignoring cells with blank (#value!)
    By Elainefish in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-23-2013, 08:30 AM
  6. Replies: 17
    Last Post: 06-27-2006, 08:40 AM
  7. [SOLVED] 30 Day Moving Average Ignoring Blank Cells
    By ethatch in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2006, 05:40 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