what is the best way to get the count of the columum if like the tree structure. If the first columun does not = 0 then go to the next columun and so on. if the columun match then count and go to the next row. eg:
t-x-y-z-w
2-3-4-5-6
0-2-0-0-0
2-1-0-3-5
0-0-0-1-1
count return for t=2 because row 1& 3 match,x=1 row 2 match,y=0 no row match,z=1 row 4 match,w1 no match.
thanks
t-x-y-z-w
2-3-4-5-6
0-2-0-0-0
2-1-0-3-5
0-0-0-1-1
count return for t=2 because row 1& 3 match,x=1 row 2 match,y=0 no row match,z=1 row 4 match,w1 no match.
thanks