+ Reply to Thread
Results 1 to 2 of 2

match doesn't work in cells with lots of data?

  1. #1
    Registered User
    Join Date
    08-08-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    12

    match doesn't work in cells with lots of data?

    Hi all!

    I have a column of cells that each contain identifier codes, sometimes many identifier codes in the same cell. They are separated by :: (for example, AHD4::EJ7H::9EIO::etc). Based on a separate list, I am using match to determine the row location of cells matching my new list. For example, I am looking for AHD4 and 9EIO; I am using match to determine that they are in row 15. To deal with the :: issue, I am using:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    My problem is that while match works sometimes, it doesn't work all the time. It usually correctly returns the row number, but sometimes throws #n/a even when I can use the ctrl-f find function and verify that, indeed, the value I am looking for exists in that column. Thus far, the only common thread for instances in which this error occurs is that the query identifier is in a cell with lots of other query identifiers (at least 500, meaning that there are +4000 characters in the cell, sometimes 2500). All of the cells are the same format and I can't think of anything else that these error instances have in common.

    I would appreciate any thoughts or insight on fixing this problem (or identifying what the problem is, if it isn't the number of characters in the cell)-- I am working with a small dataset now, so it is tedious to use ctrl-f but not too terrible, but I expect to be working with larger datasets soon. Thanks!

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

    Re: match doesn't work in cells with lots of data?

    take 1 of those that you think it should find, and remove most of the extraneous text either side - but still leaving plenty both sides - and see if the results are the same.

    Alternatively, upload a SMALL sample of what you are working with, so we can take a look
    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

+ 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] Exact match with decimals doesn't work
    By benishiryo in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-09-2016, 12:35 AM
  2. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  3. Application.worksheetfunction.Match doesn't work with Concatenated Ranges
    By Ricardo Gomes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2013, 07:19 AM
  4. Formula doesn't work in some cells
    By mateoc15 in forum Excel General
    Replies: 2
    Last Post: 04-27-2010, 01:04 PM
  5. Why Doesn't This MATCH Work - Array Question
    By kcc in forum Excel General
    Replies: 5
    Last Post: 12-11-2005, 03:00 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