I'm trying to create an Excel function that counts instances that meet 3 criteria. For example data in sample data, I want to:
1)For each type of 'Structure' count number of rows in which 2)'Horizontal' is greater than zero, OR 3)'Vertical' is greater than zero
Expected result for example data in column D.
An array formula of the type
=SUM(IF(($B$2:$B$7>0)+($C$2:$C$7>0),1,0))
counts in accordance with criteria 2) and 3) but does not group by 'Structure'.
Any thoughts?
Much appreciated.