+ Reply to Thread
Results 1 to 6 of 6

Find average of total column if 3 columns match

  1. #1
    Forum Contributor
    Join Date
    10-26-2011
    Location
    Ottawa, ON Canada
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    128

    Find average of total column if 3 columns match

    I'm looking to find the average total of column D if A, B, C columns match criteria.

    I would have the criteria in one sheet and it would be looking at a:a, b:b, c:c, d:d of another sheet.

    For example if a="bob" and b=jones" and c="bill" then what is the average of d for all instances.Excelforum_match3_average.xlsx

    Small example is attached.

    Thanks for your help!

    Rob

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Re: Find average of total column if 3 columns match

    see AverageIfs formula.

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,362

    Re: Find average of total column if 3 columns match

    Something like this? Using array formulas
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Find average of total column if 3 columns match

    Based on your sample data, try this...
    =IFERROR(AVERAGEIFS($D$1:$D$15,$A$1:$A$15,"Bob",$B$1:$B$15,"Smith",$C$1:$C$15,"Tony"),"No Match")

    Note that you dont have any matches onthe sample you gave, and also, you have a trailing space after Smith
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    10-26-2011
    Location
    Ottawa, ON Canada
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    128

    Re: Find average of total column if 3 columns match

    Thanks all... Azumi and Ford both did the job, I ended up going with Ford's method (referencing a cell rather than the name) as it was a lot of data, and the array slowed everything way down...

    Thanks again!


    Rob

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Find average of total column if 3 columns match

    Glad we could help, and thanks for the feedback

+ 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. Find Match Between a Column Against Multiple Columns
    By raykt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-11-2014, 12:25 AM
  2. Find Match Between Column C with Multiple Columns
    By raykt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-10-2014, 07:36 AM
  3. [SOLVED] Find AVERAGE of another column of unsorted list (using INDEX/MATCH ?)
    By seaottr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-06-2013, 10:24 PM
  4. Replies: 4
    Last Post: 09-12-2012, 05:52 PM
  5. how to find a total average across different criteria
    By johnmitch38 in forum Excel General
    Replies: 6
    Last Post: 07-01-2009, 08:31 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