+ Reply to Thread
Results 1 to 5 of 5

need to ignore blank values in AVERAGEA formula

  1. #1
    Registered User
    Join Date
    03-09-2017
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    15

    need to ignore blank values in AVERAGEA formula

    Good morning,

    The project Im working on is looking at a set of values to see if they are in between a min and max value. To find this I am using this formula

    =IF(C9="","",AND(C9>MIN(C$3,E$3),C9<MAX(C$3,E$3)))

    From these true/false values, we are trying to find the average of this, which i am using an AVERAGEA formula

    =AVERAGEA(D9:D1009)

    However, we are wanting a 'real time' adjustment to the average as we enter the values to see if they are in between or not. How do I adjust the AVERAGEA formula to ignore the blank values in column D

    thank you!

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: need to ignore blank values in AVERAGEA formula

    Instead of AVERAGEA. try using multiple count formulas instead.
    This Counts the number of "TRUE" and divides it by the total number of non blank cells in the range.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-09-2017
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    15

    Re: need to ignore blank values in AVERAGEA formula

    @dosydos I am getting the same result. I am wondering if because the cell isnt truly blank? It has a formula in it, but it just shows up as blank until we put a value in there?

  4. #4
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: need to ignore blank values in AVERAGEA formula

    whoops your right sorry, try this out instead:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: need to ignore blank values in AVERAGEA formula

    Why not use averageifs?

    =AVERAGEIFS($A$1:$A$18,$A$1:$A$18,">2",$A$1:$A$18,"<8")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. sumproduct formula to ignore blank values
    By Look, More, What in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-17-2018, 05:43 PM
  2. [SOLVED] how to count cells with values but ignore blank cells with formula and in a month?
    By Imran Magsi in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-17-2017, 03:58 AM
  3. [SOLVED] Adjust SUMPRODUCT formula to ignore blank values and thereby avoid VALUE errors
    By STUARTXL in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2016, 07:38 AM
  4. [SOLVED] Ignore blank cells with formulas or ignore NA() in a formula
    By guiismiti in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 03-24-2016, 02:13 PM
  5. Ignore Blank in Counting Consecutive Values
    By bahanley in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-11-2016, 03:17 PM
  6. [SOLVED] Get top 10 values but ignore with blank cell if there's less than 10 values
    By werko in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2015, 09:16 PM
  7. [SOLVED] Ignore Blank Values While Using INDEX
    By jokorey in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-08-2014, 01:58 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