+ Reply to Thread
Results 1 to 3 of 3

combining IF and AND statements for multiple columns

  1. #1
    Registered User
    Join Date
    04-07-2006
    Posts
    10

    combining IF and AND statements for multiple columns

    I can't figure out how to combine AND and IF statements for multiple columns. Here's what I need to do, if columns a, b, c and d show either a Yes or N/A, then show the #1, if any of the columns show the word No, then it should show a 0. Any ideas.

  2. #2
    Bob Phillips
    Guest

    Re: combining IF and AND statements for multiple columns

    =IF(COUNTIF(A2:d2,"No")>0,0,1)

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "cubsfan" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I can't figure out how to combine AND and IF statements for multiple
    > columns. Here's what I need to do, if columns a, b, c and d show either
    > a Yes or N/A, then show the #1, if any of the columns show the word No,
    > then it should show a 0. Any ideas.
    >
    >
    > --
    > cubsfan
    > ------------------------------------------------------------------------
    > cubsfan's Profile:

    http://www.excelforum.com/member.php...o&userid=33272
    > View this thread: http://www.excelforum.com/showthread...hreadid=530983
    >




  3. #3
    Registered User
    Join Date
    04-07-2006
    Posts
    10
    worked like a charm. Thanks. i have a couple other questions posted out here, any chance you could take a look at them as well, especially the one where I aske about searching for a maximum # with an exception. thanks again.

+ 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