+ Reply to Thread
Results 1 to 4 of 4

Yes/No based on two other cells

  1. #1
    Registered User
    Join Date
    04-05-2012
    Location
    SA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Yes/No based on two other cells

    Hi guys.

    I have excel 2010 and need help with the following.

    I basically need a cell to display yes/no based on the data in two other cells.

    ie.

    If cells A1 and B1 had any form of data then cell C1 would display yes.
    If cell A1 had data and B1 had no data then cell C1 would display no.
    If both A1 and B1 had no data then the cell C1 shouldn't display anything.

    Is it possible???

    Thanks.

    R.
    Last edited by rwatson; 04-05-2012 at 10:31 AM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help

    Hi R.

    Welcome to the forum.

    Request you to correct your thread title as per forum rules. thanks

    http://www.excelforum.com/forum-rule...rum-rules.html

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    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: Yes/No based on two other cells

    Hi

    try this

    =IF(AND(A1="",B1=""),"",IF(AND(A1<>"",B1<>""),"yes",IF(AND(A1<>"",B1=""),"no")))
    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.

  4. #4
    Registered User
    Join Date
    04-05-2012
    Location
    SA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Yes/No based on two other cells

    Works a treat, thanks for the quick reply mate.

    R

+ 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