+ Reply to Thread
Results 1 to 5 of 5

Formula identifying if cell contents is present in a column

  1. #1
    Registered User
    Join Date
    12-09-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    61

    Formula identifying if cell contents is present in a column

    In column A I have a list of unique IDs. In column B I have another list of Unique Id's. I want to create a formula that produces an indicator in column C if the contents in column B is present anywhere in column A.

    Does that make sense?
    Last edited by dforte; 03-18-2011 at 06:05 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: Formula identifying if cell contents is present in a column

    Put in C1 and copy down as many rows as necessary

    =IF(ISERROR(MATCH(B1,A:A,0)),"not present","PRESENT"))
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    12-09-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: Formula identifying if cell contents is present in a column

    Would this work if I were to have the two unique IDs on different sheets?

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: Formula identifying if cell contents is present in a column

    This formula is perfectly happy to work across sheets (or even different workbooks). You just have to change the reference "A:A" to include the correct sheet reference. You can type it, or highlight A:A and while it's highlighted simply click on the tab for the other sheet and highlight the column of IDs, then hit Enter.

  5. #5
    Registered User
    Join Date
    12-09-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    61

    Re: Formula identifying if cell contents is present in a column

    Thank you!

+ 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