+ Reply to Thread
Results 1 to 5 of 5

Identical Text not identical (for =, vlookup, etc) MAKING ME CRAZY

  1. #1
    Registered User
    Join Date
    01-14-2015
    Location
    Minneapolis, United States
    MS-Off Ver
    2011
    Posts
    3

    Identical Text not identical (for =, vlookup, etc) MAKING ME CRAZY

    I can't figure this out to save my life, and have also googled it extensively.

    I have attached a smaller version of my problem. I have 2 names- spelled the SAME no extra spaces, nothing. There is something with how the one in column A is set up that makes it not equal to the name in column B. Any suggestions as to what it is? I have tried Clean() and Trim() to fix the problem, and the issue remains. I need to figure out what formula, or formatting I can utilize on the column A line to make the resulting data able to be equal to column b. This has to be done weekly, so I can't just retype the name (which somehow does fix the problem).

    Patrick Reed Problem.xlsx
    Last edited by jnt; 01-22-2015 at 06:13 PM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Identical Text not identical (for =, vlookup, etc) MAKING ME CRAZY

    The problem is with the space after Patrick. One of them is a true space the other one is a "text", I guess kind like a space generated by special symbol.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-14-2015
    Location
    Minneapolis, United States
    MS-Off Ver
    2011
    Posts
    3

    Re: Identical Text not identical (for =, vlookup, etc) MAKING ME CRAZY

    Thanks! I was going crazy. Armed with that I just did a find and replace and problem solved!

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Identical Text not identical (for =, vlookup, etc) MAKING ME CRAZY

    The difference is the space between the names. The one in column A uses a space commonly used on the internet. It's ascii code is 160. The name in B uses the more common space with ascii code 32.

    To fix this, select your range (I'd do both columns) and do a replace (Alt H)
    Find what: if you have a number pad on your keyboard Alt + 0160 (you'll see the cursor move over one space
    Replace with what: use the spacebar to input a space
    Replace All
    Did that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identical Text not identical (for =, vlookup, etc) MAKING ME CRAZY

    The macro at this website will remove all leading/trailing
    and multiple interspersed char 32 space characters.
    It will also remove and/or convert char 160 non breaking
    spaces into standard char 32 space characters. It will
    work on text or numbers and the numbers will be
    converted to true numeric numbers.

    I use this macro dozens of times every single day!
    It's a real time saver.

    http://www.mvps.org/dmcritchie/excel/join.htm#trimal
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] Vlookup function doesn't work on identical text
    By moty.98 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-17-2013, 11:35 AM
  2. Identical worksheets, identical data, different arrangements
    By Hooty in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2012, 05:02 PM
  3. Replies: 4
    Last Post: 11-03-2012, 12:02 PM
  4. Replies: 4
    Last Post: 01-25-2012, 05:49 PM
  5. Making Two identical Worksheets, Problem with Text Boxes
    By cyberxan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-22-2010, 12:32 PM

Tags for this Thread

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