+ Reply to Thread
Results 1 to 5 of 5

Indexing not working on copy/paste text

  1. #1
    Registered User
    Join Date
    10-02-2013
    Location
    Santa Rosa, CA, USA
    MS-Off Ver
    Excel 2010
    Posts
    44

    Indexing not working on copy/paste text

    I copied and pasted text (last names) from Website A into File A. Then did the same from Website B into File B. I wrote index match formulas to compare columns between files. I’ve done this literally hundreds of times, and it’s always worked. This time, however, I get ZERO matches… even though there are lots of them. Troubleshooting was straight-forward: it has to be website B. (Strange thing is, I HAVE used text from website B before in similar applications with no problems.) Something in the way they present the data is preventing matches. (Everything works when I manually type over text from Website B.) It’s not an upper case/lower case problem. I tried copy-pasting values only… to no avail. Any other ideas?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Indexing not working on copy/paste text

    Hi,

    Almost certainly it will be an additional trailing or preceding space character, or perhaps a line feed or page break character in one of the strings.
    The first thing to do is check two text strings with the simple
    =A1=A2

    formula to confirm that they are indeed different and that it's not your INDEX Match formula that is at fault.

    Once you know they are definitely different then examine each in the formula bar by moving the editing cursor along the string and you'll probably see a space character somewhere. Alternatively use =LEN(A1) to check the length of each one.

    If you still have problems upload the workbook.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Indexing not working on copy/paste text

    Trailing spaces?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    10-02-2013
    Location
    Santa Rosa, CA, USA
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Indexing not working on copy/paste text

    Leading space, actually. Thanks so much for your help. (Went to bed at 3am after spending a few hours trying stuff. Woke up... came to my computer and, just like the tooth fairy... )

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Indexing not working on copy/paste text

    You're welcome. Thanks for the rep.

+ 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: 2
    Last Post: 08-17-2012, 08:16 AM
  2. Replies: 2
    Last Post: 03-27-2012, 02:49 PM
  3. Copy and Paste not working
    By Shark Man in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-11-2009, 09:03 AM
  4. copy/paste not working
    By dzo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-24-2008, 03:04 PM
  5. copy paste is not working
    By Becky1810 in forum Excel General
    Replies: 1
    Last Post: 07-16-2005, 10:05 AM

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