+ Reply to Thread
Results 1 to 6 of 6

Match text string with other text string

  1. #1
    Registered User
    Join Date
    11-07-2008
    Location
    United States
    Posts
    8

    Match text string with other text string

    I'm trying to compare a very large amount of data with other data in a spreadsheet.

    What I want to do is take a text string like and see if it matches anywhere else in the spreadsheet:
    "Fireflies, Owl City"

    I have tried using the exact function and a few others, but haven't been able to achieve the desired results.

    What I would like is for the program to automatically state whether there is a match in the spreadsheet based on the text strings in another column or row.

    For an example of what I mean, see the attached spreadsheet.

    Please note that in this case this function will not work because it is not guaranteed to be in the same order.

    Anyone have any suggestions?
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,618

    Re: Match text string with other text string

    You can write =MATCH(A2,A3:A10000,0)

    If it match, you will get how much rows below partiular word is new one.
    If there isn't any you'll get #N/A error
    Last edited by zbor; 11-05-2009 at 04:16 PM.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,618

    Re: Match text string with other text string

    If you need in wich row is new word you need to write:

    =MATCH(A2,A3:A10000,0)+ROW(A2)

  4. #4
    Registered User
    Join Date
    11-07-2008
    Location
    United States
    Posts
    8

    Re: Match text string with other text string

    I'm a little confused as to how this function works.

    Here is what I'm currently looking at (attached).

    I just sorted a new set of the songs to see if it would work.

    What is the 29?
    Attached Files Attached Files

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,618

    Re: Match text string with other text string

    Look here.. is this it?

    Sample (1).xls

  6. #6
    Registered User
    Join Date
    11-07-2008
    Location
    United States
    Posts
    8

    Re: Match text string with other text string

    Yeah that works, but I was hoping there would be an easier way to do that (that way it would be easier to repeat without all the typing and such).

    Thanks for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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