V
Vijay.Nandakumar
Hello All,
I am faced with a problem to merge columns. I need a Macro that will
do the following operation. This is how my raw file looks.
Sample # CD1 CD2 Sample # CD3 Sample # Cd8a2 Sample # Cd8b7
B1234567 400 100 B1234567 6.1 B1234568 5.1
B1235678 2.5
B1235678 500 200 0 0 0
0 B1234568 3.5
B1234568 600 300 0 0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
My desired out put format is
Sample # CD1 CD2 CD3 Cd8a2 Cd8b7
B1234567 400 100 6.1 0 0
B1235678 500 200 0 0 2.5
B1234568 600 300 0 5.1 3.5
0 0 0 0 0
0
0 0 0 0 0
0
This pattern actually extends to about 35 columns and 50 rows but if
you guys can guide me with the basic logic, I might be able to extend
it for my case.
Thanks,
Vij
I am faced with a problem to merge columns. I need a Macro that will
do the following operation. This is how my raw file looks.
Sample # CD1 CD2 Sample # CD3 Sample # Cd8a2 Sample # Cd8b7
B1234567 400 100 B1234567 6.1 B1234568 5.1
B1235678 2.5
B1235678 500 200 0 0 0
0 B1234568 3.5
B1234568 600 300 0 0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
My desired out put format is
Sample # CD1 CD2 CD3 Cd8a2 Cd8b7
B1234567 400 100 6.1 0 0
B1235678 500 200 0 0 2.5
B1234568 600 300 0 5.1 3.5
0 0 0 0 0
0
0 0 0 0 0
0
This pattern actually extends to about 35 columns and 50 rows but if
you guys can guide me with the basic logic, I might be able to extend
it for my case.
Thanks,
Vij