+ Reply to Thread
Results 1 to 7 of 7

Using IF to check the cell contents from a drop-down list

  1. #1
    Registered User
    Join Date
    07-15-2012
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    14

    Using IF to check the cell contents from a drop-down list

    I am using Excel 2003

    I have made a drop-down list in cell B9 via Date > Validation > List and I would like cell B5 to check the contents of cell B9 and either "Correct" or "Incorrect" depending on which answer to a question the user selects in cell B9.

    But =IF(B9= "Answer A", "Correct", "Incorrect") isn't working. B5 won't even display B9 with a simple =B9 statement. How can I do this?

  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: Using IF to check the cell contents from a drop-down list

    This is not normal. Something else happens. Can you upload the sample workbook?
    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
    07-15-2012
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Using IF to check the cell contents from a drop-down list

    Quote Originally Posted by Fotis1991 View Post
    This is not normal. Something else happens. Can you upload the sample workbook?
    Ok, here it is. It's a simple quiz that will be the basis for a college assignment about HCI. Very early days yet as you can see! But I just want to get it working before I pretty it up. :-)
    Attached Files Attached Files

  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: Using IF to check the cell contents from a drop-down list

    Your font color in B5 IS WHITE

    Change to black or anything else that you can see it.

  5. #5
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Using IF to check the cell contents from a drop-down list

    Hi helen269

    Try in B5: =IF(B9=L6,L6,"")

  6. #6
    Registered User
    Join Date
    07-15-2012
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Using IF to check the cell contents from a drop-down list

    Quote Originally Posted by Fotis1991 View Post
    Your font color in B5 IS WHITE

    Change to black or anything else that you can see it.
    OMFG, I am SO embarrassed! That is such a simple bloody mistake.... Needless to say, I am not very experienced with Excel and haven't used it in quite a while. That's my excuse and I'm stuck with it (Laurel and Hardy joke).

    Thank you! :-)

  7. #7
    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: Using IF to check the cell contents from a drop-down list

    You are welcome

    No one is perfect!

+ 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