+ Reply to Thread
Results 1 to 5 of 5

matching 1 column with another

  1. #1
    Forum Contributor
    Join Date
    05-03-2020
    Location
    London
    MS-Off Ver
    MICROSOFT 365
    Posts
    282

    matching 1 column with another

    Hi all,

    i want to match one column to another but it is not working correctly.

    thank you for you help in advance,
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,274

    Re: matching 1 column with another

    By concatenating:

    =F9&" "&G9

    you have added a space to the end of H9. Therefore, H9 does NOT equal D11.

    Try this:

    =IF(COUNTIF(H:H,$D9&" ")=0,$D9 &" not in column","")

    OR change the concatenation to this:

    =F9&G9
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    04-15-2013
    Location
    Singapore, Melbourne
    MS-Off Ver
    Office 365
    Posts
    167

    Re: matching 1 column with another

    Your column H or column D have some leading space character.
    you may try this formula in J9:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Row row row your boat
    Gently down the stream

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,274

    Re: matching 1 column with another

    D9 has a TRAILING space for the reason I explained in post #2.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,274

    Re: matching 1 column with another

    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: 7
    Last Post: 04-17-2020, 08:45 AM
  2. Replies: 3
    Last Post: 01-29-2019, 02:40 PM
  3. Replies: 8
    Last Post: 07-04-2018, 10:03 AM
  4. Replies: 0
    Last Post: 03-07-2016, 08:38 PM
  5. Replies: 2
    Last Post: 05-21-2015, 10:41 PM
  6. Finding Matching Data in one Column/Adding corresponding matching string value.
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2013, 07:23 PM
  7. Replies: 1
    Last Post: 07-25-2011, 01:07 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