+ Reply to Thread
Results 1 to 5 of 5

Matching Addresses between two sets of data

  1. #1
    Registered User
    Join Date
    02-20-2012
    Location
    Tallahassee, FL
    MS-Off Ver
    Vista
    Posts
    10

    Matching Addresses between two sets of data

    Hello,

    I have two sets of addresses of unequal length. I am trying to see if those addresses in column A exist anywhere in Column E (Please see attached). How do I perform this function for each of the 195 addresses in Column A?

    Thanks!
    Attached Files Attached Files
    Last edited by ceej561; 02-20-2012 at 09:43 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Matching Addresses between two sets of data

    Hi

    Highlight column E and go Data, Text to columns, and use a comma as the separator.

    Then in B2 enter the formula =MATCH(TRIM(A2),E:E,0) and copy down. Where there is a match, you will find a number which is the row number of the address in column E.

    HTH

    rylo

  3. #3
    Registered User
    Join Date
    02-20-2012
    Location
    Tallahassee, FL
    MS-Off Ver
    Vista
    Posts
    10

    Re: Matching Addresses between two sets of data

    Perfect! That did exactly what I was looking for. If you feel like taking the time to explain why you had to use each of those syntaxes for MATCH, that would be great. Then I won't have to ask again next time I run into a slightly different version of this one...

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Matching Addresses between two sets of data

    Hi

    If you look at the data in column A, you will find that there are a heap of trailing spaces. If you try to find the address with those extra spaces, then it won't match. By using trim, it gets rid of the extra spaces.

    Then it is just a standard match function. The 0 at the end looks for an exact match, of the data from the first parameter (with the extra spaces removed) in column E.

    rylo

  5. #5
    Registered User
    Join Date
    02-20-2012
    Location
    Tallahassee, FL
    MS-Off Ver
    Vista
    Posts
    10

    Re: Matching Addresses between two sets of data

    Got it. That's a huge help, thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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