+ Reply to Thread
Results 1 to 3 of 3

IF Statement

  1. #1
    Forum Contributor
    Join Date
    02-09-2007
    Location
    UK
    MS-Off Ver
    2019 & 365
    Posts
    304

    IF Statement

    What I need to do is in cell S2 a formula that says....

    if R2 is blank then do nothing

    If R2 has the word Yes in it then look at cell Q2

    if Q2 has the word Yes in it then display the word Yes

    if Q2 has the word No in it then display the word No

    Help please

    Thanks BVG
    Last edited by Badvgood; 03-26-2011 at 06:50 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: IF Statement I think?

    Quote Originally Posted by Badvgood View Post
    What I need to do is in cell S2 a formula that says....

    if R2 is blank then do nothing

    If R2 has the word Yes in it then look at cell Q2

    if Q2 has the word Yes in it then display the word Yes

    if Q2 has the word No in it then display the word No

    Help please

    Thanks BVG
    Hi
    Please Login or Register  to view this content.
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  3. #3
    Forum Contributor
    Join Date
    02-09-2007
    Location
    UK
    MS-Off Ver
    2019 & 365
    Posts
    304

    Re: IF Statement

    =if(R2="","",If(R2="Yes",IF(OR(Q2="Yes",Q2="No"),Q2,"")))

    Worked. Than you.

    Regards BVG

+ 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