+ Reply to Thread
Results 1 to 4 of 4

Return Multiple Values with Multiple Criteria

  1. #1
    Registered User
    Join Date
    06-10-2013
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    13

    Return Multiple Values with Multiple Criteria

    I'm using Excel 2007/2010.

    I need to know if there is a formula or series of formulas that can be used to return multiple values based on multiple criteria.

    Our company has internal competitions where one department can challenge another department. Just something fun management came up with to motivate everyone to come up with ideas and focused on their work.

    Attached is a sample file to illustrate what I need.

    Sheet 1 is the tracker.
    Col A: the month and year
    Col B: Team 1
    Col C: Team 2
    Col D: Team 1 Representative
    Col E: Team 2 Representative

    Sheet 2 is the match by match results page.

    Most months, each department usually only issues out one challenge. But occasionally, one department may issue two or more challenges. Since each employee can be the representative only once per month, another employee becomes the rep for his/her department.

    In this sample, Team Alpha and Team Bravo challenged each other twice in May 2013.

    The current array I have on the Results sheet seems to be only good if only one challenge is issued per team. It doesn't seem to be able to return multiple values with the multiple criteria.

    Thank you in advance for the assistance!
    Attached Files Attached Files

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Return Multiple Values with Multiple Criteria

    Hi Jon,

    The problem is that the compound keys you are using (Date, Team) are not unique. In order to find the information you need, you'll need unique keys. Has your office considered numbering the challenges?
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    06-10-2013
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Return Multiple Values with Multiple Criteria

    @Conne: that is a very good point. I will play around with that idea and see if I can get it to work.

    I also knew how to return multiple values based on a single criteria, but wasn't sure if there was a way to return multiple values based on multiple criteria.

    I'll add a column to the tracker and adjust. Should probably work if no one else replies.

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Return Multiple Values with Multiple Criteria

    See the attached file.

    I used helpcolumns to get the result.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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