+ Reply to Thread
Results 1 to 7 of 7

Is it possible to add a criteria of blank cells in Averageifs?

  1. #1
    Registered User
    Join Date
    07-24-2017
    Location
    Korea
    MS-Off Ver
    MS 2010, 2016
    Posts
    7

    Is it possible to add a criteria of blank cells in Averageifs?

    Hello,
    I am using the formula AVERAGEIFS to find an average of numerous column of numbers, but I want to have two different average results; 1) Criteria:24,Normal, 75Hz,1. 2) Criteria: 24,Normal,75Hz, Here I want to add a criteria of blanks). In my data some cells have "1" as the value and some are blanks as, hence I want to find the results to both kinds. The formula I used for the former is =AVERAGEIFS(L24:L234,A24:A234,24,B24:B234,"normal",G24:G234,"75hz",I24:I234,1) and it seemed to work, but the problem is the latter condition which I want to include blank cells as a criteria.

    Thank you for reading through.

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Is it possible to add a criteria of blank cells in Averageifs?

    If you want the average of just the blank cells try this (as long as there are only 1's and blanks):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If you want the average of all the cells, including blanks, try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  3. #3
    Registered User
    Join Date
    07-24-2017
    Location
    Korea
    MS-Off Ver
    MS 2010, 2016
    Posts
    7

    Re: Is it possible to add a criteria of blank cells in Averageifs?

    Thank you firstly,
    I tried the first formula because the column does only contain 1's or blanks but it gave me the result #DIV/0! error.

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Is it possible to add a criteria of blank cells in Averageifs?

    It works on some dummy data I created here. Can you upload a copy of your sheet (with any confidential data removed)? (Go Advanced, then Manage Attachments).

  5. #5
    Registered User
    Join Date
    07-24-2017
    Location
    Korea
    MS-Off Ver
    MS 2010, 2016
    Posts
    7

    Re: Is it possible to add a criteria of blank cells in Averageifs?

    Here is the dummy file you requested, hopefully it is testable. I've also added the labels for the categories which needs to be included in the average formula.
    Thank you.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Is it possible to add a criteria of blank cells in Averageifs?

    So the first Formula should be this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The second formula should be this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Without the IFERROR part it also showed a #DIV/0 here, but that was because the dummy data had no 24" screens with 75Hz and no HDMI inputs. I changed the data to check that it worked, and it does.

  7. #7
    Registered User
    Join Date
    07-24-2017
    Location
    Korea
    MS-Off Ver
    MS 2010, 2016
    Posts
    7

    Re: Is it possible to add a criteria of blank cells in Averageifs?

    Thank you so much!
    I tried it without the IFERROR part and it worked and gave me the results I wanted.
    Your very is much appreciated.

+ 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] Averageifs using a date criteria
    By katieshields in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-07-2020, 01:49 PM
  2. [SOLVED] averageifs with dynamic criteria
    By arvan1980 in forum Excel General
    Replies: 9
    Last Post: 03-16-2016, 10:16 AM
  3. [SOLVED] Averageifs with 5 criteria
    By sharknuts5 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-19-2015, 01:04 PM
  4. [SOLVED] Macro for AverageIFS, with multiple criteria in the same criteria range
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 05-24-2014, 01:13 AM
  5. AVERAGEIFS with no criteria
    By anteagles20 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-14-2013, 10:10 AM
  6. [SOLVED] trying to take averageifs and ignore the blank cells, not working
    By cgabe001 in forum Excel General
    Replies: 2
    Last Post: 12-27-2012, 10:19 AM
  7. Averageifs with OR criteria
    By Subject_Name_Here in forum Excel General
    Replies: 5
    Last Post: 05-28-2012, 01:57 PM

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