+ Reply to Thread
Results 1 to 10 of 10

Find two names

  1. #1
    Forum Contributor
    Join Date
    02-10-2007
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    133

    Find two names

    I have a 2 sheets with names on and i want to compare the sheets to see if there are duplicates and then in column put a yes.

    Sheet 1
    Column 1
    Name Name

    Sheet 2
    Column 1 Column 2
    Name Name (Yes)

    Can somebody help me with this please

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Find two names

    You can try this formula in cell B1 of Sheet2:

    =IF(ISNUMBER(MATCH(A1,Sheet1A:A,0)),"Yes","")

    then copy down as far as you need to.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    02-10-2007
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    133

    Re: Find two names

    Thats great, how do i get the "yes" on sheet 1

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Find two names

    Put this formula in B1 of Sheet1:

    =IF(ISNUMBER(MATCH(A1,Sheet2A:A,0)),"Yes","")

    then copy that down.

    Hope this helps.

    Pete

  5. #5
    Forum Contributor
    Join Date
    02-10-2007
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    133

    Re: Find two names

    Quote Originally Posted by Pete_UK View Post
    Put this formula in B1 of Sheet1:

    =IF(ISNUMBER(MATCH(A1,Sheet2A:A,0)),"Yes","")

    then copy that down.

    Hope this helps.

    Pete
    Hi Pete

    When i type this in i get a blank cell and the formula puts a bracket around the second A after the colon, what have i done wrong

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Find two names

    Sorry, I missed the exclamation mark - it should be this:

    =IF(ISNUMBER(MATCH(A1,Sheet2!A:A,0)),"Yes","")

    Hope this helps.

    Pete

  7. #7
    Forum Contributor
    Join Date
    02-10-2007
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    133

    Re: Find two names

    Hi sorry i still get blank cells, does it matter that the name in column A sheet 1 is like this James Colman and the name in sheet 2 is James Colman

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Find two names

    That should be okay unless you have extra spaces in the middle of one name or at the end. Can you attach a sample workbook?

    Pete

  9. #9
    Forum Contributor
    Join Date
    02-10-2007
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    133

    Re: Find two names

    Quote Originally Posted by Pete_UK View Post
    That should be okay unless you have extra spaces in the middle of one name or at the end. Can you attach a sample workbook?

    Pete
    Yes sorry i got it working thanks again

  10. #10
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Find two names

    Okay, thanks for the rep - please mark your thread as Solved, as follows:

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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. Find Names from a List of Names and Replace with "The Candidate"
    By viggykuppu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2014, 02:49 AM
  2. Three columns of names, find names that are not in all three?
    By hoobajoob in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2013, 06:02 AM
  3. Find Formula needs to find jobs with split names
    By 3smees23 in forum Excel General
    Replies: 5
    Last Post: 08-06-2009, 08:18 AM
  4. Need to find names not used
    By slinger1010 in forum Excel General
    Replies: 1
    Last Post: 05-15-2007, 01:09 PM
  5. [SOLVED] how do I find names in a workbook full of names
    By aj in forum Excel General
    Replies: 1
    Last Post: 01-19-2006, 05:10 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