B
Bubba
I have a data set which is organized by rows. For each row I am calculating
the the number of zeros until I encounter the first None-Zero Cell. My data
set is all Numbers. I am using the formula:
=(MATCH(TRUE,INDEX(J5:FU5>0,0),0)-1)
40 40 40 40 20 20 20
12 12 12 12 6 6 6
0 0 0 0 40 40 40
2 2 2 2 0 0
0 0 0 0 0 40 40
0 0 0 0 0 0 40
I am copying this dataset into a new worksheet and now I want to remove
those zeros until my first non zero cell and shift those cells to the left so
my data would look like:
40 40 40 40 20 20 20
12 12 12 12 6 6 6
40 40 40
2 2 0 0 1 1 1
40 40
40
Does anyone know how to do this using formulas or a macro?
the the number of zeros until I encounter the first None-Zero Cell. My data
set is all Numbers. I am using the formula:
=(MATCH(TRUE,INDEX(J5:FU5>0,0),0)-1)
40 40 40 40 20 20 20
12 12 12 12 6 6 6
0 0 0 0 40 40 40
2 2 2 2 0 0
0 0 0 0 0 40 40
0 0 0 0 0 0 40
I am copying this dataset into a new worksheet and now I want to remove
those zeros until my first non zero cell and shift those cells to the left so
my data would look like:
40 40 40 40 20 20 20
12 12 12 12 6 6 6
40 40 40
2 2 0 0 1 1 1
40 40
40
Does anyone know how to do this using formulas or a macro?