i have a dataset that looks like this
id, value1,value2,value3,value4,value5...value200 (i am showing only 5 but solution needs to accomodate 200 values)
a, 10,4,2,0,0
b, 23,0,0,2,0
c, 0,2,4,0,0
d, 0,0,0,1,0
i would like to return the COUNT of how many values for each row, have ONLY zeros on the tails.
for the above data it would be:
3
4
2
1
the solution can either be c# or excel (formula, not vba)
thank you so much for your help./guidance and please let me know if i am not being clear
here is the solution i thought of: