+ Reply to Thread
Results 1 to 3 of 3

Averageif for Filtered Data

  1. #1
    Registered User
    Join Date
    11-08-2022
    Location
    Cape Town
    MS-Off Ver
    MS 365 Version 2210
    Posts
    1

    Averageif for Filtered Data

    Hi,

    I am trying to calculate the average of a dataset which has filters, AND ignore any datapoints that are 0. Usually I would simply use Avergeif and specify the numbers to be >0, however this does not work for filtered data. Alternatively the subtotal function does not have Averageif as an option.

    Can anyone help?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Averageif for Filtered Data

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook. Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

    Administrative Note:

    Is your forum profile showing the version of Excel that you need this to work for? 16 is not a version ...

    Members will tailor the solutions they offer to the version of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent versions of Excel are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the release number in your profile (e.g. MS365 Version 2211). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Averageif for Filtered Data

    I would use a helper column containing
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and then reference that column in the AverageIfs function with a criteria of 1

+ 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 on a Filtered List
    By LPDTC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-12-2021, 08:18 AM
  2. Averageif rolling average with filtered cells
    By eoughphily in forum Excel General
    Replies: 6
    Last Post: 03-01-2020, 04:44 PM
  3. Copy filtered data into filtered range in a separate sheet
    By vikas.trades25 in forum Excel General
    Replies: 1
    Last Post: 02-07-2019, 04:04 AM
  4. Cell reference to filtered data auto update as Filtered result changes
    By Irajoo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-22-2017, 02:17 AM
  5. COUNTIF and AVERAGEIF from filtered Data (Still Confused)
    By Buzz1126 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2016, 02:52 PM
  6. Replies: 3
    Last Post: 11-04-2013, 07:50 PM
  7. Replies: 4
    Last Post: 09-04-2012, 06:09 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