Using an excel formula to search if all cells in a range read “True”, if not, then show “False”

For example:

```
A B C D
True True True True
True True FALSE True
```

I want a formula to read this range and show that in row 2, the was a “False” and since there are no falses in row 1 I want it to show “true.”

Can anyone help me with this?

As it appears you have the values as text, and not the numeric True/False, then you can use either `COUNTIF`

or `SUMPRODUCT`

```
=IF(SUMPRODUCT(--(A2:D2="False")),"False","True")
=IF(COUNTIF(A3:D3,"False*"),"False","True")
```

### Answer：

You can just AND the results together if they are stored as TRUE / FALSE values:

```
=AND(A1:D2)
```

Or if stored as text, use an array formula – enter the below and press Ctrl+Shift+Enter instead of Enter.

```
=AND(EXACT(A1:D2,"TRUE"))
```

### Answer：

```
=IF(COUNTIF(A1:D1,FALSE)>0,FALSE,TRUE)
```

(or you can specify any other range to look in)

### Answer：

```
=COUNTIFS(1:1,FALSE)=0
```

This will return TRUE or FALSE (Looks for FALSE, if count isn’t 0 (all True) it will be false

Tags: excelexcel, search