+ Reply to Thread
Results 1 to 3 of 3

Change AVERAGEIFS formula to AGGREGATE or similar formula

  1. #1
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Change AVERAGEIFS formula to AGGREGATE or similar formula

    I have a data set consisting of numbers 0 and larger along with some #N/A errors for use in graphing on a chart. The following formula can only work if there are no #N/A errors in the data set. I need another formula that is able to filter out or ignore #N/A errors contained in the range being averaged. I am thinking the AGGREGATE formula may be able to accomplish this but I am not able to come up with something that works. ?*

    Please Login or Register  to view this content.
    On the attached file, this AVERAGEIFS formula (see orange column G) can only work on the data set on column E. I need a different formula (inside the green area of column H) that will work with the data set on column D so that columns G and H will have matching values.
    Attached Files Attached Files

  2. #2
    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,139

    Re: Change AVERAGEIFS formula to AGGREGATE or similar formula

    Since you have O365, use a dynamic array. No copy/paste needed

    Delete expected results and use:

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


    Those #N/A are not real #N/A errors, they're just text that LOOK like them...
    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

  3. #3
    Forum Contributor
    Join Date
    05-25-2019
    Location
    Sioux Falls, South Dakota
    MS-Off Ver
    Microsoft 365
    Posts
    178

    Re: Change AVERAGEIFS formula to AGGREGATE or similar formula

    Glenn, that works!
    I'm not familiar with that combination of formulas, so it took some time before I figured out the need to count number of columns and rows before I got it to work on my main data set.

    I will need to sit a bit more to understand how this all works. Brilliant!

+ 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] Need to add IF to an AVERAGEIFS formula
    By DHBarkley in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2022, 12:00 PM
  2. [SOLVED] Help with AVERAGEIFS formula
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2019, 09:16 PM
  3. [SOLVED] Standard Deviation Formula similar to AVERAGEIFS or COUNTIFS ?
    By HDeuce in forum Excel General
    Replies: 3
    Last Post: 11-23-2014, 01:27 AM
  4. Replies: 2
    Last Post: 11-11-2014, 04:01 PM
  5. find mins/maxes with several conditions (similar to averageifs)
    By cwilder in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-12-2012, 07:43 PM
  6. averageifs formula doesnt change when autofilled
    By jacobhandson in forum Excel General
    Replies: 2
    Last Post: 01-29-2012, 09:32 PM
  7. Need help averageifs formula
    By lliam79 in forum Excel General
    Replies: 3
    Last Post: 09-23-2011, 02:44 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