My equation looks like this
J2
=IF(AND(B2=D2,B2=1),1,0)
so clearly the cell under will be
J3
=IF(AND(B3=D3,B3=1),1,0)
and so on
at the end of these cells, I have an equation to get the sum of all calculated values above
=SUM(J2:J101)
is there a way to build this equation without the need of making 100 cells before the sum
i mean can I do something like this?
=SUM(IF(AND(B2:B101=D2:D101,B2:B101=1),1,0))