+ Reply to Thread
Results 1 to 5 of 5

Ignore Matches?

  1. #1
    Registered User
    Join Date
    01-16-2016
    Location
    Orlando, FL
    MS-Off Ver
    Excel 14.0.7145.5
    Posts
    2

    Ignore Matches?

    I have this code to compare columns to retrieve the entry if it isn't in the other. My problem is if there is a match it returns "0" and I'm wondering what I need to do so that if a match is found it will just leave the cell empty?

    Please Login or Register  to view this content.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,701

    Re: Ignore Matches?

    Is the data being returned alpha-numeric?

    If it is,
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Otherwise, you need to test what you are getting for blanks.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,229

    Re: Ignore Matches?

    Alternatively:

    =IFERROR(1/(1/INDEX(Inv!A:A,SMALL(IF(ISNA(MATCH(Inv!A$7:A$1000,Inv!B:B,0)),ROW(Inv!A$7:A$1000)),ROWS(Inv!D$2:D2)))),"")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    01-16-2016
    Location
    Orlando, FL
    MS-Off Ver
    Excel 14.0.7145.5
    Posts
    2

    Re: Ignore Matches?

    TMS, That worked, can't believe it was so simple. Thank's a lot!

    Thank you too Glenn I didn't need to try your alternate but appreciate the response!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,701

    Re: Ignore Matches?

    You're welcome. Thanks for the rep.

+ 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. Replies: 4
    Last Post: 05-10-2015, 02:11 PM
  2. Replies: 2
    Last Post: 09-15-2014, 09:58 AM
  3. ignore direct text matches but sum related opponents ( Title=WIP)
    By Phily915 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2014, 04:58 PM
  4. Replies: 1
    Last Post: 09-26-2013, 12:16 PM
  5. [SOLVED] INDEX MATCH array formula that matches substring n gives multiple matches
    By bkwins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 04:57 AM
  6. Replies: 0
    Last Post: 08-11-2012, 03:25 PM
  7. Replies: 4
    Last Post: 07-18-2012, 02:34 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