+ Reply to Thread
Results 1 to 2 of 2

Multiple Criteria AverageIF

  1. #1
    Registered User
    Join Date
    08-19-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    1

    Multiple Criteria AverageIF

    Hi All,

    Currently having major excel issues. I've got a spreadsheet with multiple columns of data all feeding from different sources, and I need to do an average based on multiple criteria.

    So I currently have to sort one column alphabetically so that I can do an average if with the range being the range of few values from the column which i have.

    So they currently look like this:
    =AVERAGEIF($T$72:$T$222,"Criteria B",$AG$72:$AG$222)
    =AVERAGEIF($T$2:$T$71,"Criteria A",$AG$2:$AG$71)

    where $T$72:$T$222 is Criteria C, and $T$2:$T$71 is Criteria D
    Column AG is where the data I want to average is.

    Ultimately I want to make it so that excel will do an average of all the data which has all the criteria required.

    Thanks for any help!

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,937

    Re: Multiple Criteria AverageIF

    Use a pivot table based on your entire data set, with column T as the row field, and column AG as the data field, set to Average. Then every criterion will have an average automatically, without formulas or sorting. You can add further criteria by adding row fields and choosing which values are actually included.

    Otherwise, change your formula to

    =AVERAGEIF($T:$T,"Criteria B",$AG:$AG)
    or enter your starting in, say cell Z2, and use

    =AVERAGEIF($T:$T,Z2,$AG:$AG)\
    copied down to match.

    Also, take a look at AVERAGEIFS
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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] AverageIF using multiple criteria in different columns in multiple worksheets
    By trubertiam in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-03-2014, 09:28 PM
  2. averageif formula with multiple criteria
    By CPitta in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-08-2013, 12:56 PM
  3. AverageIf based on different criteria
    By caseman in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-16-2013, 02:18 PM
  4. Criteria question - AverageIF (if you please)
    By djalexr in forum Excel General
    Replies: 3
    Last Post: 01-14-2011, 08:00 AM
  5. AverageIf based on another columns criteria
    By AllenMead in forum Excel General
    Replies: 7
    Last Post: 09-06-2010, 12:46 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