Regarding the =--OR(
The OR function returns TRUE or FALSE. The dbl minus signs (--) force an
implicit conversion of TRUE and FALSE to 1 and 0, respectively.
Now, about checking if "yes" is in any one of a series of cells....
If the cells are in a selection with only one "area", you can use COUNTIF.
Example: =--(COUNTIF(A3

3,"yes")>0)
Note: an "area" is a range of cells that forms a rectangle, or only involves
cells in a single row, column, or cell. BUT you indicated that you wanted to
check: A3:B3 and D4. There are 2 areas in that reference (A3:C3 is one area,
D4 is the second).
This formula: =--OR(A3="yes",B3="yes",C3="yes",D4="yes")
returns 1 if any of those cells contains "yes"
Were you looking for something else?
***********
Regards,
Ron
XL2002, WinXP