+ Reply to Thread
Results 1 to 7 of 7

Data match

  1. #1
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Data match

    Hi Guys,

    I have been asked to match some data -

    The data is email addresses, the attached sample is ficticious.

    I have a column of legitimate email address (some 201,000) and a column of email address which in every case there are a number of characters missisg from the end of the string. This number varies from 1 - 5

    ie [email protected] may appear as darren7@ or darren7@g ect

    My task is to match the part email to the full email and see if:

    1. The part email appears is the full column
    2. if it does then how many times,

    I have tried =Left(a2,10) on BOTH columns and then a countif but i feel that there must be a more robust method.

    Can anyone suggest anything? thanks alot and happy friday


    I have uploaded a sample demontrating the dataset, as you will see the email adds are ficticious!
    Attached Files Attached Files
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Data match

    Using this formula, I got output in every cell of your sample:

    =VLOOKUP("*"&A1&"*",'Positive Full Email'!A:A,1,0)

    copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Data match

    Hey N - thanks for this. It really works a treat. As usual , when i don't understand s'thing, or have never seen s'thing before............ i am eager to understand it.

    Any chance that you could talk me through this formula - in particular the first wild card, and the use iof the tab name as the table.

    cheers

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Data match

    With certain functions, e.g. VLOOKUP, SUMIF, COUNTIF, SEARCH, FIND (basically the ones that have a comma separating the arguments making up the condition, not the ones that have =, >, <, etc separating them) you can use wildcards.

    The * wildcard means any number of characters... and placing the * before and after a specific text string is like saying you want to search for something that contains the string of interest, since the *'s in our function means any number of characters before, and any number of characters after.

    I didn't use the tab name as a table, I referenced column A in sheet named 'Positive Full Email' as you know you need to do if you are referencing outside of the active sheet.

  5. #5
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Data match

    N- thanks very much for the masterclass!

    Quote Originally Posted by NBVC View Post
    I didn't use the tab name as a table, I referenced column A in sheet named 'Positive Full Email' as you know you need to do if you are referencing outside of the active sheet.
    Yes you are right - silly me!

    Off to put B to sleep! cheers mate
    Last edited by Blake 7; 06-04-2011 at 05:28 AM.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Data match

    Wish him a great night from Uncle NBVC

  7. #7
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Data match

    Canada's MVU!

+ 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