Maybe my search words are lacking what they need for me to find the answer, so I need help.
I have a table like this, where you can see Mod "a" was duplicated on 2 rows.
I was trying to write the code to where if it was matching in column A, pasteall skip blanks, but It's not working for me.
Any help or advise?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Mod[/TD]
[TD]1001[/TD]
[TD]1002[/TD]
[TD]1003[/TD]
[TD]1004[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD][/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD][/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The output I am trying to get to.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Mod[/TD]
[TD]1001[/TD]
[TD]1002[/TD]
[TD]1003[/TD]
[TD]1004[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]X[/TD]
[TD]x[/TD]
[TD][/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]X[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]X[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a table like this, where you can see Mod "a" was duplicated on 2 rows.
I was trying to write the code to where if it was matching in column A, pasteall skip blanks, but It's not working for me.
Any help or advise?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Mod[/TD]
[TD]1001[/TD]
[TD]1002[/TD]
[TD]1003[/TD]
[TD]1004[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD][/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD][/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The output I am trying to get to.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Mod[/TD]
[TD]1001[/TD]
[TD]1002[/TD]
[TD]1003[/TD]
[TD]1004[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]X[/TD]
[TD]x[/TD]
[TD][/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]X[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD]X[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]X[/TD]
[TD]x[/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: