+ Reply to Thread
Results 1 to 3 of 3

Search a range for value and if true put a x in a cell

  1. #1
    Registered User
    Join Date
    01-17-2008
    Posts
    1

    Search a range for value and if true put a x in a cell

    I have a problem and I don't know how to make it work

    I have a column of peoples names and I would like to search that column for a specific value and if that value is in that column then place an 'x' in the cell.

    It is for a rota so if that persons name appears in the column for the date in question, then put an 'x' in the day that corresponds to that date

    I have included the worksheet so you can see what i am trying to do.

    I did think i could use an if statement to make a comparison but it won't let me choose a range
    Attached Files Attached Files

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Do you mean something like this in B1, copied down

    =IF(A1=$D$6,"X","")
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    To check whether Adam is in the list, and return an "x" if he is

    =IF(ISNUMBER(MATCH(D6,$A1:$A10,0)),"x","")

+ 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