I have a list of data in Column A. Every set of data (down the list) is always started with a "Text##" followed by numbers.
My idea is to write a macro to find that "Text", and set it as a start cell, then find the next "Text", and set it as a end cell - 1 (because I only want the data before the next "Text##"). Then keep going until every data set down the list is separated to different columns.
The set of data also has variable range (some data set longer and some shorter), and what separated them is only the "Text##" cell.
Please help and advice, I have tried different ways to go around it with no luck.
Thank you.
Below is a visualization of my description
[TABLE="width: 100"]
<tbody>[TR]
[TD]Text87[/TD]
[/TR]
[TR]
[TD]4.5[/TD]
[/TR]
[TR]
[TD]6[/TD]
[/TR]
[TR]
[TD]8.9[/TD]
[/TR]
[TR]
[TD]7[/TD]
[/TR]
[TR]
[TD]Text99[/TD]
[/TR]
[TR]
[TD]8[/TD]
[/TR]
[TR]
[TD]8.1[/TD]
[/TR]
[TR]
[TD]Text56[/TD]
[/TR]
[TR]
[TD]1.1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[/TR]
[TR]
[TD]2.3[/TD]
[/TR]
[TR]
[TD]& so on[/TD]
[/TR]
</tbody>[/TABLE]
My idea is to write a macro to find that "Text", and set it as a start cell, then find the next "Text", and set it as a end cell - 1 (because I only want the data before the next "Text##"). Then keep going until every data set down the list is separated to different columns.
The set of data also has variable range (some data set longer and some shorter), and what separated them is only the "Text##" cell.
Please help and advice, I have tried different ways to go around it with no luck.
Thank you.
Below is a visualization of my description
[TABLE="width: 100"]
<tbody>[TR]
[TD]Text87[/TD]
[/TR]
[TR]
[TD]4.5[/TD]
[/TR]
[TR]
[TD]6[/TD]
[/TR]
[TR]
[TD]8.9[/TD]
[/TR]
[TR]
[TD]7[/TD]
[/TR]
[TR]
[TD]Text99[/TD]
[/TR]
[TR]
[TD]8[/TD]
[/TR]
[TR]
[TD]8.1[/TD]
[/TR]
[TR]
[TD]Text56[/TD]
[/TR]
[TR]
[TD]1.1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[/TR]
[TR]
[TD]2.3[/TD]
[/TR]
[TR]
[TD]& so on[/TD]
[/TR]
</tbody>[/TABLE]