+ Reply to Thread
Results 1 to 5 of 5

Using Index And Match To Return Potential Multiple Results To One Cell

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010, 2013
    Posts
    69

    Question Using Index And Match To Return Potential Multiple Results To One Cell

    I tried searching for posts, but received zero results. I'm not sure I was using the correct terminology.

    In any case, a user is requesting that multiple absences in one day display on the calendar tab. Currently, I return one record per day. I'm assuming this may be a countif function, but am uncertain where to start. Any ideas?

    Thanks!

    JanAttendanceCard.xlsx

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Using Index And Match To Return Potential Multiple Results To One Cell

    where exactly?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    08-28-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010, 2013
    Posts
    69

    Re: Using Index And Match To Return Potential Multiple Results To One Cell

    The calendar tab has an entire one year calendar that uses the index and match functions to find records and fill in the appropriate absence value under each date of the month, if there is a recorded absence. If a person came in late, then left early sick, or had some other combination of absences in one day, then we want to capture the values of both and display them in the calendar cell underneath the appropriate date of the month. The current array expression is: {IFERROR(IF([DATE]="","",INDEX(Overview,[ARRAY OF ABSENCES IN OVERVIEW WORKSHEET],MATCH(DATE(YEAR, MONTH,DATE),[SELECT ABSENCE CODE FROM OVERVIEW SHEET],[EXACT MATCH],[COLUMN 2],"")]. So, this returns only one value to the cell the expression is in. If there are multiple matches, I would like to return multiple values. I think it may have to do with a countif function, but I'm not sure.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Using Index And Match To Return Potential Multiple Results To One Cell

    nope, none the wiser, what would a result be for Anastassakis, Jennifer Linn for example

  5. #5
    Registered User
    Join Date
    08-28-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010, 2013
    Posts
    69

    Re: Using Index And Match To Return Potential Multiple Results To One Cell

    For anyone selected from the drop down menu on the Overview tab (data source for calendar), the absence codes are displayed on the calendar tab under the respective dates of the year. If the employee had multiple absences for one date, then the code(s) would be displayed on the respective calendar date on the Calendar tab or a count of absences for that date would display on the calendar for the respective date(s).

    So, selections are made on the Overview worksheet by selecting employee from the drop down and entering the correct reporting year. Then the codes display on the appropriate dates on the Calendar tab. We want to have some indication of multiple absence codes if there are multiple absences recorded for an employee for the same date.

    Does this help?

    Jan
    Attached Files Attached Files

+ 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] Index, Match, Multiple Results
    By ecorf in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-28-2013, 11:37 AM
  2. Using Index Match to return multiple results with very messy data.
    By falkon007 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-30-2013, 12:28 PM
  3. [SOLVED] Index/Match Array with multiple results concatenate in one cell
    By samiesosa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2013, 01:34 PM
  4. Replies: 3
    Last Post: 08-17-2010, 02:54 PM
  5. Can Index or Match return multiple results?
    By waverider in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-30-2007, 10:06 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