+ Reply to Thread
Results 1 to 7 of 7

match more then one solution

  1. #1
    Forum Contributor
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Office 365 (2013)
    Posts
    268

    match more then one solution

    Hello,

    I have this formula:
    =IFERROR(INDEX(Data!$A$3:$AX$500;MATCH(Agenda!$B4;Data!$AX$3:$AX$500;0);4);"")

    It matches the date in Agenda!$B4 with the one in Data!$AX$3:$AX$500.
    But it's possible that the value in Agenda!$B4 can be found more then once in Data!$AX$3:$AX$500

    I can insert extra helper columns if needed.
    Help me please

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: match more then one solution

    What needs to happen if there is multiple matches/results?

    Better please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Office 365 (2013)
    Posts
    268

    Re: match more then one solution

    Hopefully this sample sheet will help.
    The real one is of course bigger, but I have the assumption that there will never be more than 10 "klanten" (customers)

    Evolta.xlsx

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: match more then one solution

    In D3 Cell of Agenda Sheet - Array Formula - Requires CTRL+SHIFT+ENTER

    =IFERROR(INDEX(Data!$C$2:$C$16,SMALL(IF((Data!$B$2:$B$16=$B3),ROW(Data!$B$2:$B$16)-MIN(ROW(Data!$B$2:$B$16))+1),COLUMN(A1))),"")

    Drag it down and right...

    Array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT key then hit ENTER.

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

    Re: match more then one solution

    See the file attach

    Azumi
    Attached Files Attached Files

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

    Re: match more then one solution

    Non Array Formula

    just hit enter button

    Azumi

  7. #7
    Forum Contributor
    Join Date
    09-02-2013
    Location
    Netherlands
    MS-Off Ver
    Office 365 (2013)
    Posts
    268

    Re: match more then one solution

    Thanks both,
    I'll examine both the solutions and try to understand them. Yet again it's proven that more then one road leads to Rome :D

+ 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-Lookup for Last Value in a column - Glitch or Solution?
    By Btray90 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-04-2013, 08:38 PM
  2. Index, Match, and/or SumProduct solution?
    By phrankndonna in forum Excel General
    Replies: 3
    Last Post: 12-11-2012, 07:15 PM
  3. Replies: 2
    Last Post: 10-11-2012, 05:47 PM
  4. Solution to if statement when no match
    By Markshr in forum Excel General
    Replies: 3
    Last Post: 12-03-2010, 02:27 AM
  5. Index/Match Solution?
    By WeatherGuy in forum Excel General
    Replies: 3
    Last Post: 01-31-2006, 06:20 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