+ Reply to Thread
Results 1 to 9 of 9

IF Statement with Validated List as the "False" action

  1. #1
    Registered User
    Join Date
    11-29-2010
    Location
    Nashville
    MS-Off Ver
    2010
    Posts
    76

    IF Statement with Validated List as the "False" action

    Hello,

    I'm trying to set up a formula that can do the following:

    If Persons A, B, and C have approved, make status "Complete-Approved", otherwise choose from a list of possible statuses.

    I know how to set up the first part of the IF statement, though perhaps inelegantly. I would do:
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    02-28-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    272

    Re: IF Statement with Validated List as the "False" action

    if possible attach a sample file
    Please consider adding a * if I helped

  3. #3
    Registered User
    Join Date
    06-10-2013
    Location
    Poland
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: IF Statement with Validated List as the "False" action

    =IF(AND(B1="Yes",C1="Yes",D1="Yes"),"Complete-Approved","") would mbe more elegent and clear.

    What is the aforementioned list of possible statuses?

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: IF Statement with Validated List as the "False" action

    Shorter..

    =IF(COUNTIF(B1:D1,"yes")=3,"Complete-Approved","")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF Statement with Validated List as the "False" action

    Even shorter...

    Array entered**:

    =IF(AND(B1:D1)="yes","Complete-Approved","")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    However, that doesn't address the OPs need to:

    otherwise choose from a list of possible statuses
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: IF Statement with Validated List as the "False" action

    However, that doesn't address the OPs need to:
    otherwise choose from a list of possible statuses
    Agree, I did not read OP's request thoroughly. This would require VBA as you cannot have a cell with a formula as well as keep it blank for user input.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF Statement with Validated List as the "False" action

    They may be able to use 2 cells, 1 with the formula and the other with a data validation list.

    We need more info.

  8. #8
    Registered User
    Join Date
    11-29-2010
    Location
    Nashville
    MS-Off Ver
    2010
    Posts
    76

    Re: IF Statement with Validated List as the "False" action

    Thanks, I'll call this Solved because it can't be done as I was hoping.

    I won't be able to do VBA. I'm actually doing this spreadsheet on Google Spreadsheet, which has all the forumlas I need anyway, but I don't care to get into learning scripts for it.

  9. #9
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF Statement with Validated List as the "False" action

    OK, thanks for the feedback!

+ 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