Hello,
I need to count 1's "count 1 as one" if the find under same header in various columns
In the example given below there are 3 sets of 6 columns (with the same headers) I want to counts 1's (but if the are under same header count must be "as 1 count"
For example... in the 2nd set under n1 in the cell L7=1 & and in the 3rd set under n1 in the cell S7=1 (so far this will be count as 1) count of the 1's row7 = 3 result in the column Z.... and the same way is count of rest 1's shown for only 5 rows
Example data...
Thank you all
Excel 2000
Regards,
Moti
I need to count 1's "count 1 as one" if the find under same header in various columns
In the example given below there are 3 sets of 6 columns (with the same headers) I want to counts 1's (but if the are under same header count must be "as 1 count"
For example... in the 2nd set under n1 in the cell L7=1 & and in the 3rd set under n1 in the cell S7=1 (so far this will be count as 1) count of the 1's row7 = 3 result in the column Z.... and the same way is count of rest 1's shown for only 5 rows
Example data...
Book1 | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |||
1 | ||||||||||||||||||||||||||||
2 | ||||||||||||||||||||||||||||
3 | ||||||||||||||||||||||||||||
4 | ||||||||||||||||||||||||||||
5 | ||||||||||||||||||||||||||||
6 | n1 | n2 | n3 | n4 | n5 | n6 | n1 | n2 | n3 | n4 | n5 | n6 | n1 | n2 | n3 | n4 | n5 | n6 | Sum | |||||||||
7 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 | |||||||||
8 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 6 | |||||||||
9 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 | |||||||||
10 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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