I have this table in Excel:
I want to count number of zeros and ones in each row and put it in corresponding columns (Number of ones, Number of zeros)
So, for row 3:
There are 3 ones and no zeros.
So in column D (Number of ones) will be 3 and in column E (Number of zeros) will be 0.
How to achieve that using Excel formula in D and E columns?

