+ Reply to Thread
Results 1 to 7 of 7

Match not matching all

  1. #1
    Registered User
    Join Date
    11-18-2003
    Posts
    19

    Match not matching all

    Good Morning,
    I have two spreadsheets that I am trying to match columns. After inserting my formula most items are matching but I have found at least 2 that didn't. I'm afraid there's more. I did have to change the font on one spreadsheet to match the other one. I concatenated and that didn't help. Any suggestions why this isn't working?

    Thanks!!! Lori

  2. #2
    Forum Contributor
    Join Date
    11-29-2005
    Posts
    142
    There could be extraneous spaces in some of the cells of the lookup columns.

    If that's not it, please post your formula for review.

  3. #3
    Registered User
    Join Date
    11-18-2003
    Posts
    19

    match not matching

    I've submitted a portion of my spreadsheet for your review and highlighted the two items not matching.
    Lori
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by LoriM1
    I've submitted a portion of my spreadsheet for your review and highlighted the two items not matching.
    Lori
    A3 has a space before the comma, it's Len = 12
    the table element doesn't - it's Len = 11

    A5 does not appear in the table.

    hth
    ---
    Si fractum non sit, noli id reficere.

  5. #5
    Registered User
    Join Date
    11-18-2003
    Posts
    19

    match not matching

    Thanks alot! I reconcated column a and it did it again. Any idea why so I can make sure this doesn't happen again? Is there a formala to check for extraneous spaces? This file is actually over 1000 rows. I really appreciate the help.
    Lori

  6. #6
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by LoriM1
    Thanks alot! I reconcated column a and it did it again. Any idea why so I can make sure this doesn't happen again? Is there a formala to check for extraneous spaces? This file is actually over 1000 rows. I really appreciate the help.
    Lori
    I guess the problem here is the definition of 'extraneous spaces', as the space you had would probably only be found by replace space-comma by comma, but there are many cases where space-comma is legitimate.

    However, in your sheet you can Replace All space-comma by comma.

    You could also concatenate as

    =Trim(A1)&", "&Trim(B1)

    which might avoid that in future.

    hth
    ---

  7. #7
    Registered User
    Join Date
    11-18-2003
    Posts
    19

    Match not matching

    Thank you for your help!
    Lori

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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