Here is a simple script that works on your sample data. It should give you a good start on a way to approach your big table
Names Default To Here( 1 );
dt = Current Data Table();
dt << New Column( "Col A_2" );
dt << go to( :Col A_2 );
dt << move Selected Columns( After( :Col A ) );
For( i = 1, i <= N Rows( dt ), i++,
If( :Col A[i] > 1,
holdRow = i
);
If( :Col A[i] <= 1,
:Col A_2[holdRow] = :Col A[i];
:Col A[i] = .;
);
);
Jim