15.11.2017, 13:14
Hi Everybody,
I have an infinite number of rows. Every row has 3 cells. A cell can contain YES or NO.
A B C D
1 yes yes yes
2 no yes no
3 yes yes yes
4
......
If the row contains 3 YES than 1 has to appear, otherwise 0. I used this formula:
=IF(AND(A1="yes";B1="yes";C1="yes");1;0).
I want to make appear in D4 the sum of the results of the formulas of the different rows: In this case 2 (1+0+1).
My problem is that I want to comprime all the calculations in cell D4. That means that i do not want to repeat the formula =IF(AND(A1="yes";B1="yes";C1="yes");1;0) for every row and than sum the results together. Instead I want a unique formula in an unique cell (in my case D4)which makes repaet my IF formula for my infinite rows and than sum the results together.
Sorry for the complicated explanation... I do not know how to explain it better.
Thanks in Advance
I have an infinite number of rows. Every row has 3 cells. A cell can contain YES or NO.
A B C D
1 yes yes yes
2 no yes no
3 yes yes yes
4
......
If the row contains 3 YES than 1 has to appear, otherwise 0. I used this formula:
=IF(AND(A1="yes";B1="yes";C1="yes");1;0).
I want to make appear in D4 the sum of the results of the formulas of the different rows: In this case 2 (1+0+1).
My problem is that I want to comprime all the calculations in cell D4. That means that i do not want to repeat the formula =IF(AND(A1="yes";B1="yes";C1="yes");1;0) for every row and than sum the results together. Instead I want a unique formula in an unique cell (in my case D4)which makes repaet my IF formula for my infinite rows and than sum the results together.
Sorry for the complicated explanation... I do not know how to explain it better.
Thanks in Advance