+ Reply to Thread
Results 1 to 5 of 5

Compare cell values to cell range and indicate if value is found

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2010
    Posts
    3

    Compare cell values to cell range and indicate if value is found

    Hi all,
    here is my case:
    I have a list of users containing the fields: user first name, user last name, and user code.
    I also have a list of "success" codes (a range of cells in a column).

    I would like my sheet to be able to check for each user in the list if his code is found in the "successful" codes list, and if yes, to provide either some sort of an indication in an adjacent column or a different formatting that would pinpoint (or filter) the "successful" users.

    I am attaching a sample file. Bookgv.xlsx

    Thanks in advance for your support!

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Compare cell values to cell range and indicate if value is found

    Hi and welcome to the forum. Are you Greek(Είσαι Έλληνας)?

    Try this in D3 and copy down,

    =IF(COUNTIF($G$3:$G$7;A3)=1;"OK";"no")

    Is this, works for you?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    06-07-2012
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Compare cell values to cell range and indicate if value is found

    Quote Originally Posted by Fotis1991 View Post
    Hi and welcome to the forum. Are you Greek(Είσαι Έλληνας)?

    Try this in D3 and copy down,

    =IF(COUNTIF($G$3:$G$7;A3)=1;"OK";"no")

    Is this, works for you?
    excellent! it worked fine!
    thank you very much for the accurate answer and the fast response!

    (έλληνας είμαι - σε ευχαριστώ πολύ!)

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Compare cell values to cell range and indicate if value is found

    You are welcome!

    Χαίρομαι όταν συναντώ Έλληνες στο Φόρουμ. Γινόμαστε πολλοί σιγά-σιγά.

  5. #5
    Registered User
    Join Date
    06-07-2012
    Location
    Athens, Greece
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Compare cell values to cell range and indicate if value is found

    Πραγματικά δούλεψε μια χαρά.
    Μια τελευταία ερώτηση εάν έχεις χρόνο:
    η λίστα με τα "success codes" μπορεί να βρίσκεται σε άλλο sheet ή σε άλλο workbook?

    Γιώργος

+ 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