+ Reply to Thread
Results 1 to 5 of 5

Marking a whole group FALSE if one member is FALSE

  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Marking a whole group FALSE if one member is FALSE

    I have a table arranged by columns into SETS of results. I am looking for a way to mark all the columns of a set as false if any one column of the set is false.
    Hopefully the attached sheet should make this clear.
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Marking a whole group FALSE if one member is FALSE

    May be:
    In B15 then drag across:
    =SUMPRODUCT(($B$12:$U$12=B12)*(--$B$14:$U$14=0))=0
    Quang PT

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,734

    Re: Marking a whole group FALSE if one member is FALSE

    does this do what you want
    in B15 put

    =IF(COUNTIF($B$14:$U$14,FALSE)>0,FALSE,TRUE)
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Marking a whole group FALSE if one member is FALSE

    There is actually a super-easy formula for this.

    Please Login or Register  to view this content.
    ...Except that, that won't be able to check which "set" your in?

    Try this in B16:
    Please Login or Register  to view this content.
    And pull across to U16.

    We're tricking SUMPRODUCT into adding up booleans (TRUE = 1 and FALSE = 0) where it's both (1) in the set and (2) true in row 14; and then comparing it to how big the set is with the COUNTIFS. If the number of TRUES isn't the same as the count then there are FALSES so it throws FALSE.

    ...Now that I think about it, you could probably do it with COUNTIFS instead of SUMPRODUCT, also.

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Marking a whole group FALSE if one member is FALSE

    Alternatively, in B15 and copy across:

    =COUNTIFS($B$12:$U$12,B12,$B$14:$U$14,FALSE)=0

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. What is best to use for helper cells 0 or 1, typed true or false or =true =false
    By Gingermuppet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2014, 10:41 PM
  2. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  3. Replies: 1
    Last Post: 09-30-2013, 10:56 PM
  4. If statement, answer is false, hide false.
    By Mel B in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-07-2013, 06:36 PM
  5. calculating true false from group of variables
    By tammy25 in forum Excel General
    Replies: 5
    Last Post: 11-28-2010, 11:01 PM

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