+ Reply to Thread
Results 1 to 9 of 9

INDEX & MATCH multiple values problem

  1. #1
    Registered User
    Join Date
    08-19-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    INDEX & MATCH multiple values problem

    I'm trying to create an automatically updating calendar.

    I get my information of what is happening on what day from a third party API.

    The data is not chronological.

    Multiple things can happen on one day.

    I've successfully created a INDEX and MATCH function to display the correct data in the calendar - however, if more than one event happens on a day, only the first event is shown.

    Is there a way of getting the formula to return all of the matches?

    Attached is a simplified (without the api) version of what I'm trying to do. If you look at Sheet1 you will see numerous appointments occur on one day but in sheet 2 only the first of those is displayed.


    Thanks.
    Attached Files Attached Files
    Last edited by clarkejoe; 08-22-2011 at 05:42 AM.

  2. #2
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: INDEX & MATCH multiple values problem

    See this article:
    http://office.microsoft.com/en-us/ex...001226038.aspx

  3. #3
    Registered User
    Join Date
    08-19-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: INDEX & MATCH multiple values problem

    Quote Originally Posted by Whizbang View Post
    Ideally it would be in the same cell if possible though.

  4. #4
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: INDEX & MATCH multiple values problem

    Ok, so you would just have to concatenate two versions of the formula.

    Please Login or Register  to view this content.

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: INDEX & MATCH multiple values problem

    I would be tempted to go for a UDF to handle this, concatination gets messy after a few lines, say there were 5 or 6 appointments in any day.

    Try this
    Please Login or Register  to view this content.

    With your example Sheet2
    In A5
    Please Login or Register  to view this content.
    Drag Across to Column G

    Similarly for A7,9,11,13, and 15

    Hope this hepls
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Registered User
    Join Date
    08-19-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: INDEX & MATCH multiple values problem

    I think I'll go for the SMALL option and just create numerous rows.

    This is the formula I'm using:

    Please Login or Register  to view this content.
    The cells are all correct and so are the names of the data sheets, but it isn't working. The formula isn't liking the SMALL nested function. Comes up with #N/A.

    I can't attach the spreadsheet for confidentiality but the API imports dates as text so I've made sure what I'm looking for is in the same format as where I'm looking (superfluous formulae possibly, but erring on the side of caution) - can you see where I'm making an error?

    Thanks again - you guys have been really helpful.

  7. #7
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: INDEX & MATCH multiple values problem

    Are you confirming with CTRL+SHIFT+ENTER instead of just ENTER?

  8. #8
    Registered User
    Join Date
    08-19-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: INDEX & MATCH multiple values problem

    Yes indeedy

  9. #9
    Forum Expert Whizbang's Avatar
    Join Date
    08-05-2009
    Location
    Greenville, NH
    MS-Off Ver
    2010
    Posts
    1,395

    Re: INDEX & MATCH multiple values problem

    Check your 'Portfolio Data'!$C$4:$C$200 range. Is there something that is evaluating to an error there? The formula works fine for me when I plug in test data in the ranges of the formula. When I throw in an #N/A in the C column, it causes the formula to fail.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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