+ Reply to Thread
Results 1 to 7 of 7

Need to establish an average across multiple columns where multiple criteria met

  1. #1
    Registered User
    Join Date
    12-09-2015
    Location
    england
    MS-Off Ver
    2003
    Posts
    33

    Need to establish an average across multiple columns where multiple criteria met

    Hi all, I hope someone can help me with this. In the attached sheet I am trying to establish a team % average (for each team) based on results posted in multiple columns where the date of the result matches the month of the average being sought alongside other criteria met. The criteria required in the attached are as follows:

    *

    Date is greater than or equal to 01/04/16
    Date is less than or equal to 30/04/16
    Team name matches the team name in column AH
    Grade matches what is in AI7 and AJ7 (results to display below for each team and each grade)

    *

    The reason for this issue is results are obtained on a 5 weekly basis within my company and until next April cannot be reverted to monthly results. I need to obtain monthly averages however.

    *

    The best I can do is establish and average of all of this criteria using only one column for results and it's associated date column. I get stuck when I try and tell it I want to check 3 columns results and 3 columns dates to get an average within one formula.

    *

    in case anyone missed what I'm getting at. Looking at results in columns E, G and I want an average if the date of the result was in April using columns F, H and J plus team name must match and grade to match also.
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Need to establish an average across multiple columns where multiple criteria met

    Is this what you mean?

    BSB
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-09-2015
    Location
    england
    MS-Off Ver
    2003
    Posts
    33

    Re: Need to establish an average across multiple columns where multiple criteria met

    Yes thank you! I was just in the process of trying this with sum as an array when your answer came through. Just one question on this, in the first part of the formula, your sum product specifies to add up the results in $E$3:$I$157 if the dates are within the parameters. Why does it not add up the date values also in $E$3:$I$157 being as dates are also values when formatted as number. Or is it that it won't add them up as the dates are not in number format?

    Genius though, lifesaver! Thanks again

  4. #4
    Registered User
    Join Date
    12-09-2015
    Location
    england
    MS-Off Ver
    2003
    Posts
    33

    Re: Need to establish an average across multiple columns where multiple criteria met

    Yes thank you! I was just in the process of trying this with sum as an array when your answer came through. Just one question on this, in the first part of the formula, your sum product specifies to add up the results in $E$3:$I$157 if the dates are within the parameters. Why does it not add up the date values also in $E$3:$I$157 being as dates are also values when formatted as number. Or is it that it won't add them up as the dates are not in number format?

    Genius though, lifesaver! Thanks again

  5. #5
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Need to establish an average across multiple columns where multiple criteria met

    Although the dates do fall within the same array they are ignored in the summing process because the ranges are offset by one column.
    Look at the arguments that ascertain the date.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    You'll notice they are offset (F:J as opposed to E:I).

    It's not particularly straightforward to explain without lots of diagrams but effectively the formula is saying sum cells in E:I where the value to the right are dates that fall within the specified range.
    As the percentage values are not seen by Excel as dates, they're effectively ignored.

    I'm sure there are far better explanations out there on SUMPRODUCT. Must be as I'd have to have learned if from somewhere!

    BSB

  6. #6
    Registered User
    Join Date
    12-09-2015
    Location
    england
    MS-Off Ver
    2003
    Posts
    33

    Re: Need to establish an average across multiple columns where multiple criteria met

    No that makes sense, I do try and understand the solutions I get on here or I'll never be able to apply theory to them going forwards. Thanks for taking the time out to explain.

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Need to establish an average across multiple columns where multiple criteria met

    Not a problem. Happy to help

    Don't forget to mark the thread as SOLVED if you're happy you have a working solution.

    BSB

+ 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. Replies: 1
    Last Post: 02-15-2016, 04:35 PM
  2. Trying to find median & average for multiple columns with multiple criteria
    By help-meplease in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2016, 06:59 PM
  3. Replies: 1
    Last Post: 02-11-2016, 06:02 PM
  4. Average with Multiple Criteria and on Different Columns
    By noskcire24 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 10-12-2015, 09:01 PM
  5. Average numbers from multiple columns based on multiple criteria
    By abambi in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-23-2015, 01:52 PM
  6. Average GP from multiple columns with criteria
    By t+ccyco in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-30-2013, 07:06 PM
  7. [SOLVED] Average Based on Criteria in Multiple Columns
    By sinspawn56 in forum Excel General
    Replies: 2
    Last Post: 07-31-2012, 01:27 PM

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