+ Reply to Thread
Results 1 to 3 of 3

Finding a Single name in Cell in a Cell with Multiple Names (words)

  1. #1
    Registered User
    Join Date
    01-26-2014
    Location
    Phoenix
    MS-Off Ver
    Excel 2007
    Posts
    11

    Finding a Single name in Cell in a Cell with Multiple Names (words)

    Looking for a formula (not macro) that can do the following:

    I have a spreadsheet and in one column, it has last names of clients. In the next column, it has full names of clients that are the same account, but different system with different descriptions for the name. I need to lookup the column that just has last name and see if that last name exist anywhere in the "Full name" column. If it does, then I need column C to say "Yes" or something along those lines.

    The "full name" column isn't always in the same format and sometimes doesn't even contain the "last name." Sometimes the last name will be first and sometimes there's a comma and sometimes there isn't a comma. The spreadsheet attached shows a good short example of what I'm working with...

    Thank you all for your help in advance!
    Perm
    Name Spreadsheet Ex.xlsx

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Finding a Single name in Cell in a Cell with Multiple Names (words)

    If it is as simple as it looks, then maybe this?

    =IF(ISNUMBER(SEARCH(A2,B2,1)),"Yes","No")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Finding a Single name in Cell in a Cell with Multiple Names (words)

    In C2 Cell

    =IF(ISNUMBER(SEARCH(A2,B2)),"Yes","No")

    Drag it down...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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] Consolidate cells with multiple names into a single column with one name per cell
    By rbtx70 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-26-2013, 12:16 PM
  2. [SOLVED] Convert multiple names in cells of a Column to a List with single name in each cell
    By mvmathur in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-20-2013, 12:04 PM
  3. Finding Unique names from a data in a single cell
    By avith in forum Excel General
    Replies: 2
    Last Post: 06-28-2011, 04:41 AM
  4. Executing Multiple Defined Names in Single Cell
    By thesonofdarwin in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-24-2010, 01:10 PM
  5. Highlight cell with many words, with duplicates from row with single words.
    By Meows in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2010, 08:27 PM

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