+ Reply to Thread
Results 1 to 3 of 3

Average If. multiple criteria

  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2013/10/07/03
    Posts
    33

    Average If. multiple criteria

    Good morning all,

    Long time stealer of formulas/lurker first time writer. (So big thanks you guys have helped me out 100 times)

    I have a list of data in the following order A-E:

    Week number, Run, Criteria 1, Criteria 2, Criteria 3
    1, W456 2, 3, 1
    1, W334, 1, 2, 3,
    2, W334, 1, 2, 3,
    2, S345, 1, 2, 3,
    2, S334, 1, 2, 3,

    And so on.

    I want to make a table that finds the average value for each criteria for all 'Runs' that begin with W & S & N (individually) - broken down by each week.
    So my table would look something like:
    W N S
    Week number Criteria 1 Criteria 2 Criteria 3 Criteria 1 Criteria 2 Criteria 3 Criteria 1 Criteria 2 Criteria 3
    1
    2
    3
    …..
    17
    18
    19

    *sorry for above table i'm not the most artistic person.
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702

    Re: Average If. multiple criteria

    For your exact setup try this formula in K3 copied across and down

    =IFERROR(AVERAGEIFS(INDEX($C:$E,0,MATCH(K$2,$C$1:$E$1,0)),$A:$A,$I3,$B:$B,LOOKUP("zzz",$K$1:K$1)&"*"),"")
    Audere est facere

  3. #3
    Registered User
    Join Date
    11-08-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2013/10/07/03
    Posts
    33

    Re: Average If. multiple criteria

    Thankyou Mr Spider with long legs. Glad i didn't try to work it out alone (well for longer than i already did >.>), i've never used march or index yet.

+ 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] AVERAGE with multiple criteria
    By jrlafrance in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-15-2013, 03:02 PM
  2. Multiple Sheets Multiple Criteria Average Data
    By apauaie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-17-2013, 01:13 PM
  3. Calculate average for multiple ranges for multiple criteria
    By cesareit in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-05-2013, 01:33 PM
  4. [SOLVED] Average Ifs - multiple Criteria
    By Hudson in forum Excel General
    Replies: 4
    Last Post: 09-28-2012, 01:55 PM
  5. Excel 2007 : Average if multiple criteria and contains
    By AFmonaco in forum Excel General
    Replies: 5
    Last Post: 02-24-2012, 12:47 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