ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Adding True False Results (https://www.excelbanter.com/excel-worksheet-functions/10248-adding-true-false-results.html)

Arla M

Adding True False Results
 
What kind of formula would I use to "add" a list of true false statement to
return TRUE if they are all true, and FALSE if even one is false. Thanks.

N Harkawat

=if(product(--(a1:a10))=0,"False","true"))
Aray-entered (ctrl+shift+enter)


"Arla M" wrote in message
...
What kind of formula would I use to "add" a list of true false statement
to
return TRUE if they are all true, and FALSE if even one is false. Thanks.




Bernard Liengme

=SUMPRODUCT(--(A1:A9))=COUNTA(A1:A9)
best wishes

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Arla M" wrote in message
...
What kind of formula would I use to "add" a list of true false statement
to
return TRUE if they are all true, and FALSE if even one is false. Thanks.




Bernard Liengme

or
=COUNTIF(A1:A9,TRUE)=COUNTA(A1:A9)

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Arla M" wrote in message
...
What kind of formula would I use to "add" a list of true false statement
to
return TRUE if they are all true, and FALSE if even one is false. Thanks.




keepITcool


am i being simplistic?
=and(a1:a10)

works if ALL cells contain boolean formulas.


iso
=COUNTIF(A1:A9,TRUE)=COUNTA(A1:A9)
=if(product(--(a1:a10))=0,"False","true"))



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Arla M wrote :

What kind of formula would I use to "add" a list of true false
statement to return TRUE if they are all true, and FALSE if even one
is false. Thanks.


Bernard Liengme

Beautiful!
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"keepITcool" wrote in message
ft.com...

am i being simplistic?
=and(a1:a10)

works if ALL cells contain boolean formulas.


iso
=COUNTIF(A1:A9,TRUE)=COUNTA(A1:A9)
=if(product(--(a1:a10))=0,"False","true"))



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Arla M wrote :

What kind of formula would I use to "add" a list of true false
statement to return TRUE if they are all true, and FALSE if even one
is false. Thanks.




Myrna Larson

No, the others are being convoluted <g.

On Thu, 27 Jan 2005 07:43:21 -0800, "keepITcool" wrote:


am i being simplistic?
=and(a1:a10)

works if ALL cells contain boolean formulas.


iso
=COUNTIF(A1:A9,TRUE)=COUNTA(A1:A9)
=if(product(--(a1:a10))=0,"False","true"))




All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com