Boolean Math

A

Art

I have three cells with formulas that return a boolean value.
I need a formula in the fourth cell that returns True only if the first
three cells are all True.
 
O

Otávio Alves Ribeiro

Hi there.
The following formula returns true only if A1, A2 and A3 are all TRUE:

=and(A1,A2,A3)

Regards,
Otávio
 
F

FrankWood

Assuming your cells are D5:D8 you could use this:
=IF(COUNTIF(D5:D7,"true")=3,TRUE,FALSE)

Hope that helps,

Frank
 
D

David Biddulph

You don't need =IF(...,TRUE,FALSE)
Your formula is the same as =COUNTIF(D5:D7,"true")=3 or
=COUNTIF(D5:D7,TRUE)=3
but AND is easier.
 
R

Rick Rothstein

This slightly shorter AND method seems to work also (assuming the cells are
contiguous)...

=AND(A1:C1)

or

=AND(A1:A3)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top