+ Reply to Thread
Results 1 to 7 of 7

Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!

  1. #1
    Forum Contributor
    Join Date
    05-04-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    125

    Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!

    Hi all,

    I have a working formula which returns a value from column C:C of Sheet2 after searching and matching a value in column A, however I need to add a second match and no matter how the syntax I try it doesn't work.

    The working code is below and the second match would be something like (I112=Sheet2!G:G)

    Please Login or Register  to view this content.
    Any help on how I can incorporate it would be appreciated.

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

    Re: Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!

    Array Formula - Requires CTRL+SHIFT+ENTER

    =INDEX(Sheet2!C:C,MATCH(1,ISERROR(SEARCH(A11,Sheet2!A:A))*(Sheet2!G:G=I112),0))

    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.


    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
    05-04-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!

    Thanks Sixthsense, but no joy. It's returning a #N/A yet all of the values are present.

    The values in I11 (I112 was my typo) and column G:G are dates but are formatted correctly, could that be an issue?

  4. #4
    Forum Contributor
    Join Date
    05-04-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!

    Sixthsense, I've just realised the values weren't identical and that appears to be the reason it's returning #N/A.

    In my example there were two complete sets of data, would that have been the cause?

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

    Re: Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!

    Attach a sample workbook. Make sure there is just 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

  6. #6
    Forum Contributor
    Join Date
    05-04-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!

    Hi Sixthsense, I've just attached a sample worksheet with the formula's in Sheet 1 Column J. The data that we're searching and returning is in Sheet 2, and where I previously thought the issue was due to duplicates this appears to be incorrect.

    In the Sample I've replaced Surnames with Sample and Test, with column G containing the match data and column C returning the data to be returned. However regardless of whether there is a single entry (Sample) or many entries (Test) it only returns #N/A.

    Many thanks for looking at this for me.

    Cheers

    Index Match Sample.xlsx

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

    Re: Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!

    Just Change the ISERROR to ISNUMBER

+ 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 formula not working
    By ea223 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-28-2023, 11:30 AM
  2. Correct/Working (Index,Match) formula not working between cells
    By barnerd in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-11-2014, 01:20 PM
  3. INDEX MATCH MATCH working great and then failing on me.
    By HeikEve in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-25-2013, 01:40 PM
  4. Replies: 2
    Last Post: 05-24-2013, 09:32 AM
  5. Replies: 5
    Last Post: 02-29-2012, 08:51 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