My problem is as such:
I have a sheet of data that is very frequently updated, but needs an easy overview for some other code to work. Basically, this data-sheet needs to be able to insert a blank row every time a specific condition is met. Actually, it's easier to show:
Input [TABLE="class: grid, width: 50"]
<TBODY>[TR]
[TD]Blue[/TD]
[TD]Sample 1[/TD]
[TD]Bat[/TD]
[/TR]
[TR]
[TD]Yellow[/TD]
[TD]Sample 2[/TD]
[TD]Cat[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 3[/TD]
[TD]Rat[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD]Sample 3[/TD]
[TD]Hat[/TD]
[/TR]
</TBODY>[/TABLE]
Desired output
[TABLE="class: grid, width: 50"]
<TBODY>[TR]
[TD]Blue[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 1[/TD]
[TD]Bat[/TD]
[/TR]
[TR]
[TD]Yellow[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 2[/TD]
[TD]Cat[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 3[/TD]
[TD]Rat[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 3[/TD]
[TD]Hat[/TD]
[/TR]
</TBODY>[/TABLE]
Basically, every time a cell in column A isn't blank, there should be a blank row - without losing the data from the other two columns.
I already have a simple array running that sorts everything by colour, as well as one that removes any duplicate colours. So, I just need to figure out a way that I can (non-manually) insert this blank row in my sheet. Please note that this data is not static. So I may one day have one Blue, the next day seven, and then four the day after...
I have a sheet of data that is very frequently updated, but needs an easy overview for some other code to work. Basically, this data-sheet needs to be able to insert a blank row every time a specific condition is met. Actually, it's easier to show:
Input [TABLE="class: grid, width: 50"]
<TBODY>[TR]
[TD]Blue[/TD]
[TD]Sample 1[/TD]
[TD]Bat[/TD]
[/TR]
[TR]
[TD]Yellow[/TD]
[TD]Sample 2[/TD]
[TD]Cat[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 3[/TD]
[TD]Rat[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD]Sample 3[/TD]
[TD]Hat[/TD]
[/TR]
</TBODY>[/TABLE]
Desired output
[TABLE="class: grid, width: 50"]
<TBODY>[TR]
[TD]Blue[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 1[/TD]
[TD]Bat[/TD]
[/TR]
[TR]
[TD]Yellow[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 2[/TD]
[TD]Cat[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 3[/TD]
[TD]Rat[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sample 3[/TD]
[TD]Hat[/TD]
[/TR]
</TBODY>[/TABLE]
Basically, every time a cell in column A isn't blank, there should be a blank row - without losing the data from the other two columns.
I already have a simple array running that sorts everything by colour, as well as one that removes any duplicate colours. So, I just need to figure out a way that I can (non-manually) insert this blank row in my sheet. Please note that this data is not static. So I may one day have one Blue, the next day seven, and then four the day after...