+ Reply to Thread
Results 1 to 4 of 4

determine if data exists on 2 sheets

  1. #1
    Registered User
    Join Date
    06-21-2015
    Location
    boston, ma
    MS-Off Ver
    2010
    Posts
    2

    determine if data exists on 2 sheets

    What type of formula would I need to use for the following:



    I need to find a way to determine if the same client name exists in tabs A and B.
    Attached Files Attached Files
    Last edited by FDibbins; 06-21-2015 at 10:08 PM.

  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,972

    Re: What formula to use

    Hi, welcome to the forum

    I have changed your title for you, for future reference, please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?).

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?
    Last edited by FDibbins; 06-21-2015 at 10:09 PM.
    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
    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,972

    Re: determine if data exists on 2 sheets

    I have looked at your file, and this is not a simple comparison.

    1. much data on sheet1 has a leading space (no biggie to overcome that)
    2. some names end with . on 1 sheet, but , or another, or 1 sheet has ., the other doesn't (again, not a huge problem)
    3. some names start with 1st/last name on 1 sheet, but last/1st name on the other sheet ..."Adam Sauer" and Sauer, Adam (big problem)

    I made a start with this...
    =MATCH(TRIM(A2)&"*",'search accounts'!$A$2:$A$8466,0)
    This will give you the row number that a match was found on. Once we have a match, we can adapt that to show whatever you want.

    It cannot find 3939 out of 4174

  4. #4
    Registered User
    Join Date
    06-21-2015
    Location
    boston, ma
    MS-Off Ver
    2010
    Posts
    2

    Re: determine if data exists on 2 sheets

    Thank you both, this is very helpful. If I wanted the results to show on the 2nd tab, how would I change the formula? I tried =MATCH(TRIM(A162)&"*",client!$A$2:$A$8466,0) but it doesn't seem to be working.

+ 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. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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