+ Reply to Thread
Results 1 to 2 of 2

Compare cell range, with a value return

  1. #1
    Registered User
    Join Date
    02-19-2014
    Location
    Melbourne
    MS-Off Ver
    Excel 2003
    Posts
    1

    Compare cell range, with a value return

    Hi folks, this should be an easy one i expect.

    I have data in column A, between lines 5 and 13.
    In column B, I have more data (same lines), some of which MAY already be in column A

    Column C is where the formula will sit, and I'd like to have a returned value or 1 or 0.
    1 being a match against column A, 0 indicating no match.

    ps, i'm a rookie with excel, forums and most things online, so excuse my lack of jargon!

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Compare cell range, with a value return

    you can use countif

    =countif($a$1:$a$100,b1)
    if there would be multiple duplicate you can nest it in if function

    =if(countif($a$1:$a$100,b1)>0,1,0)
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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] Compare a value to a range and return header
    By huy_le in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-05-2013, 02:36 PM
  2. [SOLVED] Compare value of cell to a range of cells, then return the value of a different cell
    By azucar360 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-01-2013, 10:31 PM
  3. [SOLVED] Compare each cell and return the correct value
    By jackyong1985 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-11-2012, 10:00 AM
  4. Replies: 6
    Last Post: 05-30-2012, 03:09 PM
  5. [SOLVED] Compare two cells and return certain value in third cell
    By hurairah in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-19-2006, 02:40 AM

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