Hi
I need to loop through a column and based on whether the value starts with a number, copy this value to the cell to the right of it and append any cells below it which are not numeric and then repeat when you find a cell where the first value is numeric again... to get the results as per below.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]9b34 test
[/TD]
[TD]9b34 test These are just words[/TD]
[/TR]
[TR]
[TD]These are just words
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1uy8 some more bits[/TD]
[TD]1uy8 some more bits Cells and stuff here more text and again[/TD]
[/TR]
[TR]
[TD]Cells and stuff here[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]more text[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]and again[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6h89 cell[/TD]
[TD]6h89 cell there it is[/TD]
[/TR]
[TR]
[TD]there it is[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Many Thanks
I need to loop through a column and based on whether the value starts with a number, copy this value to the cell to the right of it and append any cells below it which are not numeric and then repeat when you find a cell where the first value is numeric again... to get the results as per below.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]9b34 test
[/TD]
[TD]9b34 test These are just words[/TD]
[/TR]
[TR]
[TD]These are just words
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1uy8 some more bits[/TD]
[TD]1uy8 some more bits Cells and stuff here more text and again[/TD]
[/TR]
[TR]
[TD]Cells and stuff here[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]more text[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]and again[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6h89 cell[/TD]
[TD]6h89 cell there it is[/TD]
[/TR]
[TR]
[TD]there it is[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Many Thanks
Last edited: