+ Reply to Thread
Results 1 to 8 of 8

IFERROR, MATCH, INDEX functions to find differences of two sheets

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Question IFERROR, MATCH, INDEX functions to find differences of two sheets

    Hello,

    I have two data bases on two tabs. I was using a function to find ones that don't match, now i need to see what doesn't match. How can i convert this function to show
    instead of Not Found the value that is different?

    =IFERROR(INDEX(BC!$B$2:$B$15000,MATCH(B2&C2,INDEX(BC!$C$2:$C$15000&BC!$D$2:$D$15000,0),0)),"Not Found")

    Comparing B and C columns in first worksheet with C and D tabs in other (BC) worksheet. If all matches, functions shows in first sheet the value of B column of BC worksheet.
    I need it to show if B of 1st sheet matched C in 2nd worksheet but C in 1st sheet doesn't match D of 2nd sheet (but exists in the list), the value of column D of 2nd sheet.

    Please see attached.

    dummy.xlsx

    any help will be much appreciated. My job will become so much easier...

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: IFERROR, MATCH, INDEX functions to find differences of two sheets

    The problem is you are using & signs incorrectly. What that translates to is:

    Using the highlighted row:


    =IFERROR(INDEX(BC!$B$2:$B$9480,MATCH(B8&C8,INDEX(BC!$C$2:$C$9480&BC!$D$2:$D$9480,0),0)),"Not Found")

    =IFERROR(INDEX(BC!$B$2:$B$9480,MATCH(D123-MMD-C4-EFA-C101_6-00001C04,INDEX(BC!$C$2:$C$9480&BC!$D$2:$D$9480,0),0)),"Not Found")

    That full string isn't found on BC anywhere

    I will edit this post with a solution in a moment, I just wanted to point that out first, maybe you can figure it out based on that before I do
    Last edited by Speshul; 09-29-2014 at 11:55 AM.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: IFERROR, MATCH, INDEX functions to find differences of two sheets

    thank for pointing this out. I might need to check my spreadsheets now.

    But in this case, because the file D123-MMD-C4-EFA-C101_6-00001 is on the list of BC, but rev P22 and not rev C04,
    I want to not only see 'Not Found' (what I have now), but also what revision BC has - in this case P22.

    And if it is not on the list, then show 'Not Found'. If possible.. Is it possible?.. )

    But you might be right about & signs, I am a beginner with those :D
    Last edited by LinaVa; 09-29-2014 at 12:11 PM.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: IFERROR, MATCH, INDEX functions to find differences of two sheets

    May be this......

    On Sheet1, in D2

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: IFERROR, MATCH, INDEX functions to find differences of two sheets

    Thanks sktneer, it works better than I used to have, but it shows both - P22 and Not Found. Is there a way of getting only P22?

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: IFERROR, MATCH, INDEX functions to find differences of two sheets

    Just remove first "Not Found" from the formula like this......
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    02-18-2014
    Location
    london, england
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: IFERROR, MATCH, INDEX functions to find differences of two sheets

    Thank You very much Sktneer. This works perfectly and helps me a lot!!!

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: IFERROR, MATCH, INDEX functions to find differences of two sheets

    You're welcome and thanks for the feedback.
    If that takes care of your question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.

+ 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] Iferror, index & match
    By meh999 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-26-2014, 08:43 AM
  2. Adding IFERROR to INDEX MATCH
    By brad999 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-06-2013, 04:18 AM
  3. VBA Index/Match/iferror/and comparision and update file through two different sheets
    By gaurangaero in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2012, 11:33 AM
  4. Looking for better formula of iferror, index and match
    By DavidRoger in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-23-2012, 07:50 AM
  5. Using INDEX and MATCH to find data in 2 different sheets
    By RMF in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-01-2006, 09:10 AM

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