I have the following data, in a single column:
C1.1
5.76E-10
Undeveloped
No
O/C
C10
1.49E-9
Basic
No
S/C
C10.1
1.49E-9
Undeveloped
No
O/C. Sin efecto.
I want to transpose it to columns, in the following way:
C1.1 5.76E-10 Undeveloped No O/C
C10 1.49E-9 Basic No S/C
C10.1 1.49E-9 Undeveloped No O/C. Sin efecto.
That is, C1.1, C10, and C10.1 in one column, the numbers in the column next to it, Undeveloped, Basic, Undeveloped in the column next to it, etc.
I thought of the following:
- Start at the first cell in the column
- Cut the first 5 cells and place them in a row (transpose)
- When you hit a blank row, cut the cells below it and place them underneath the first row that was transposed.
I'm new to visual basic, and I don't know how to implement it. Thanks
C1.1
5.76E-10
Undeveloped
No
O/C
C10
1.49E-9
Basic
No
S/C
C10.1
1.49E-9
Undeveloped
No
O/C. Sin efecto.
I want to transpose it to columns, in the following way:
C1.1 5.76E-10 Undeveloped No O/C
C10 1.49E-9 Basic No S/C
C10.1 1.49E-9 Undeveloped No O/C. Sin efecto.
That is, C1.1, C10, and C10.1 in one column, the numbers in the column next to it, Undeveloped, Basic, Undeveloped in the column next to it, etc.
I thought of the following:
- Start at the first cell in the column
- Cut the first 5 cells and place them in a row (transpose)
- When you hit a blank row, cut the cells below it and place them underneath the first row that was transposed.
I'm new to visual basic, and I don't know how to implement it. Thanks
Comment