Hello,
I am trying to build a COUNTIF function that will count all cells which meet criteria 1 and either criteria 2 or 3, which are found in different ranges.
Example: In Sheet1, I have the following columns: shape, color1, and color2. In Sheet 2, I would like to create a function which counts all observations in Sheet1 where shape=square, and either color1=blue OR color2=blue.
If applied to the data set below, the function in Sheet2 should correctly return '2' :
Sheet1
shape color1 color2
square blue green
square red red
circle blue red
square red blue
Can someone please help me with the correct syntax for this function? Thanks in advance!