1

I have collected a bunch of statistical results in the form of "YES" and "NO" strings.

Now I would like to have a summary cell displaying "YES" if all these cells equal "YES" (or are empty).

Jeromy Anglim
  • 44,984
aioobe
  • 113

1 Answers1

2

Would you settle for a "TRUE" instead of a "YES" in case there are no "NO" cells? If so, in a nearby cell type

=countif([first cell in range]:[last cell in range],"NO")

Then in an adjoining cell type

=and([previous cell]="0")

As an example, if you had YES or NO strings in A1 through A20, then in A22 you would type

=countif(a1:a20,"NO")

and in A21 you would type =and(a22="0")

nico
  • 4,581
  • 3
  • 32
  • 45
rolando2
  • 12,511