+ Reply to Thread
Results 1 to 4 of 4

checking celll in column

  1. #1
    Registered User
    Join Date
    05-26-2005
    Posts
    2

    checking celll in column

    Hi
    I need help
    I want to look for a cell in column if we find the cell in the column “ the value of the cell” write 1 if not write 0
    For example – I have A1 cell which have inside number I want to check if that number in the rang of C1;C100 if true 1 false 0
    I do it like that =IF(C3=sheet1!C3:C16;1;0) but it doesn’t work cuz it check in all the column not cell by cell in the column
    Thnx

  2. #2
    Registered User
    Join Date
    03-23-2005
    Posts
    45
    Try this:

    =IF(ISNUMBER(MATCH(A1,C2:C100,0)),1,0)

    A1 is the cell that holds the number you want to look up
    C2:C100 is the range you want to look in.

    HTH

  3. #3
    Registered User
    Join Date
    05-26-2005
    Posts
    2
    thank you
    but sorry it dosn't work as i want
    any way thnx for trying helping me

  4. #4
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    Will this work for you?


    =if(iserror(vlookup(A1,C1:C100,1,0)),0,1)


    Regards.
    BenjieLop
    Houston, TX

+ 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