C
Carla S
I'm trying to count the number of rows with either an "x"
or 50 (or both)across a range of five columns.
Example:
A B C D E F
2 Joe x x x 50 50
3 Jim b b b x x
4 Tim 50 b b b b
5 Bob b b b b b
The last formula I have tried is as follows:
{=SUM(IF(($B$2:$B$5={"x",50})+($C$2:$C$5={"x",50})+
($D$2:$D$5={"x",50})+($E$2:$E$5={"x",50})+($F$2:$F$5=
{"x",50}),1,0))}
The problem is that I'd get a total of 4 rather than the
desired total of 3. Joe is getting counted twice.
Thanks for your assistance!
or 50 (or both)across a range of five columns.
Example:
A B C D E F
2 Joe x x x 50 50
3 Jim b b b x x
4 Tim 50 b b b b
5 Bob b b b b b
The last formula I have tried is as follows:
{=SUM(IF(($B$2:$B$5={"x",50})+($C$2:$C$5={"x",50})+
($D$2:$D$5={"x",50})+($E$2:$E$5={"x",50})+($F$2:$F$5=
{"x",50}),1,0))}
The problem is that I'd get a total of 4 rather than the
desired total of 3. Joe is getting counted twice.
Thanks for your assistance!