+ Reply to Thread
Results 1 to 8 of 8

Finding partial text matches compared to a range

  1. #1
    Registered User
    Join Date
    10-26-2011
    Location
    SF, CA, USA
    MS-Off Ver
    Office 2013
    Posts
    4

    Question Finding partial text matches compared to a range

    Hi everyone,

    I'm having a heck of a time searching for this, I think I'm probably just using the wrong terms.

    I have one list of confirmed IDs that I need to compare against a list of original IDs so that I can remove those that confirmed from the original ID list. The confirmed ID list is just a portion of the text string given in the original list, so wildcards are needed.

    I'm tripped up on how to compare a value to a range of possible matches. I know how to use things like countif to compare a list against a single value, but I don't know how to compare a cell against a range of values.

    Before:
    ExcelExample_before.xlsx

    Desired after:
    ExcelExample_after.xlsx

    Any ideas?

    Thanks!

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Finding partial text matches compared to a range

    If you are removing IDs from the confirmed ID list, use this formula to ID values that exist within the Original ID batch. The resulting number tells you which row within the Original ID the value resides:

    Please Login or Register  to view this content.
    Enter into cell B2 and drag down.

  3. #3
    Registered User
    Join Date
    10-26-2011
    Location
    SF, CA, USA
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Finding partial text matches compared to a range

    The other way around. The values from the confirmed ID list need to be removed from the Original ID list (as we'll be recontacting those on the original list that have not confirmed). So it's the Original ID list that will be getting edited based on the matches.

    Your formula does return the correct row number where there's a match, but it looks like I'd still have to manually go to each row and delete to original ID. The actual list I'm working with is over 17,000 values, so I'm hoping to find a solution that lets me then filter on the formula result and delete all matches in one fell swoop.

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Finding partial text matches compared to a range

    try this in row D

    Please Login or Register  to view this content.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  5. #5
    Registered User
    Join Date
    10-26-2011
    Location
    SF, CA, USA
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Finding partial text matches compared to a range

    Quote Originally Posted by judgeh59 View Post
    try this in row D

    Please Login or Register  to view this content.
    Thanks! Almost there but have an odd error when I try to apply it to the actual file where it's not returning any values.

    The full values in Original ID are actually URLs - I deleted most of the URL in the example for brevity and data confidentiality. So "S01g_Hh_&ps=PPo9uH1pwESJZLdcHm0H9Q" would actually be "https://www.websitename.com/R.aspx?o=n_S01g_Hh_&ps=PPo9uH1pwESJZLdcHm0H9Q" It seems the presence of two = symbols is throwing it off. I tested by deleting the first = and then it returned a positive match.

    I see your formula is possibly looking for an = sign, any thoughts on how to get around this?

  6. #6
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Finding partial text matches compared to a range

    how about this?

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    10-26-2011
    Location
    SF, CA, USA
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Finding partial text matches compared to a range

    Bingo, that did it! Many thanks and rep!

  8. #8
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Finding partial text matches compared to a range

    glad I could help....thanks for the rep points ....have a great day....go Giants....

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Count partial text matches in adjacent column
    By joshkvt in forum Excel General
    Replies: 6
    Last Post: 08-11-2014, 12:01 PM
  2. Formula that recoginizes partial text matches and concatenates them
    By Shadefalcon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-02-2014, 04:11 PM
  3. Finding dupllicates using partial matches
    By cmax979 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2013, 09:52 PM
  4. Using a partial text string compared to a column with VLOOKUP
    By carolyn.brussee in forum Excel General
    Replies: 6
    Last Post: 11-18-2010, 12:39 PM
  5. Finding Partial String Matches
    By evs in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-02-2009, 06:22 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