+ Reply to Thread
Results 1 to 3 of 3

Search For Mutltiple Text Strings In Each Cell In A List

  1. #1
    Registered User
    Join Date
    02-20-2013
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Search For Mutltiple Text Strings In Each Cell In A List

    Hello, I need help with something, this is my first post. I am trying to match user names that i have for wireless phones, with names from our company HR feed and bring back what the employees ID # is. The problem is that the vast majority of the user names we have with the wireless vendors does not match the HR feed exactly. Therefore, when i did an initial VLOOKUP to grab the employee IDs, i was only able to find 4,500 out of 33,000.

    What I would like to do is to be able to search for the last name, which would be the second text string in the cell, and once that matches check to see if the beginning of the first name matches. Example - Vendor name is - Chris White; HR name is Christopher White. Therefore i would want to look thru the list for white, and once it is found check to see if the beginning of the first text string is "Chri" or something like that, and then return the employee ID.

    Can anyone help with this?

    Also, would it be easier if I broke out first and last name into two separate columns?

    Any help would be much appreciated!!

  2. #2
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Search For Mutltiple Text Strings In Each Cell In A List

    Yes, break them out to separate columns. Assuming first names are in column A, Last names in B, and ID in C...
    =SUMPRODUCT(C1:C3*(--(B1:B3="White"))*(--(LEFT(A1:A3,4)="Chri")))
    Enter with ctrl-shift-enter
    Change as needed.

    (Last time I was in Memphis, ate at the Dancing Pig. The BBQ was great and the sides were delicious).
    Last edited by Pauleyb; 02-22-2013 at 11:57 AM.
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

  3. #3
    Registered User
    Join Date
    02-20-2013
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Search For Mutltiple Text Strings In Each Cell In A List

    Thank you! This worked!

    PS. My dad is from Killeen so we have spent a lot of time in Austin over the years, and almost nothing can top Rudy's when it comes to BBQ!

+ 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