+ Reply to Thread
Results 1 to 5 of 5

Need Help testing if a cells contents match that of a cell in another column

  1. #1
    Registered User
    Join Date
    08-15-2007
    Posts
    12

    Need Help testing if a cells contents match that of a cell in another column

    Hello,

    I am trying to test a column of cells to see if an individual cell's contents match the cell contents of any cell in another column.

    What I have is two list of data, in alpha-numeric format. I want to see what data exist in both lists.

    Thanks in advance,

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =Isnumber(match(A1,B1:B100,0)) copied down


    this looks in B1:B100 for a match to cell A1's contents... if a match is found TRUE is returned, else you get FALSE.

    Adjust references to suit
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-15-2007
    Posts
    12
    Quote Originally Posted by NBVC
    Try:

    =Isnumber(match(A1,B1:B100,0)) copied down


    this looks in B1:B100 for a match to cell A1's contents... if a match is found TRUE is returned, else you get FALSE.

    Adjust references to suit
    Thanks!

    Works great, except this newbie needs help with one thing, when I copy down, it adjusts the range on the "B1:B100", so the next one is searching in "B2:B201"

    Is there a way to copy without it automatically changing the range?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Good point... we need to freeze that range....

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-15-2007
    Posts
    12
    Quote Originally Posted by NBVC
    Good point... we need to freeze that range....

    Please Login or Register  to view this content.

    Thanks Again!

    I use excel all the time, and I always suffer these little details!

+ 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