Hello all,
I'd like to take two groups of data on the same sheet and align the data row by row. Essentially sort smallest to largest of each Row A, then reconcile it row by row:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Part number[/TD]
[TD]Quantity[/TD]
[TD]Price[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]1[/TD]
[TD]$1.99[/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]2[/TD]
[TD]$2.99[/TD]
[/TR]
[TR]
[TD]345[/TD]
[TD]3[/TD]
[TD]$3.99[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
</tbody>[/TABLE]
Then the other data I'm comparing to:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Part Number[/TD]
[TD]Quantity[/TD]
[TD]Price[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]2[/TD]
[TD]$1.99[/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]4[/TD]
[TD]$2.99[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
[TR]
[TD]567[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
</tbody>[/TABLE]
To look like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Part Number[/TD]
[TD]Quantity[/TD]
[TD]Price[/TD]
[TD][/TD]
[TD]Part Number[/TD]
[TD]Quantity[/TD]
[TD]Price[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]1[/TD]
[TD]$1.99[/TD]
[TD][/TD]
[TD]123[/TD]
[TD]2[/TD]
[TD]$1.99[/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]2[/TD]
[TD]$2.99[/TD]
[TD][/TD]
[TD]234[/TD]
[TD]4[/TD]
[TD]$2.99[/TD]
[/TR]
[TR]
[TD]345[/TD]
[TD]3[/TD]
[TD]3.99[/TD]
[TD][/TD]
[TD]DOES NOT EXIST - LEFT BLANK[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[TD][/TD]
[TD]456[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
[TR]
[TD]DOES NOT EXIST - LEFT BLANK[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]567[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
</tbody>[/TABLE]
Basically Column A of the two small tables are my sorting columns, and I need to be able to compare if A is the same across both and insert the spaces on the left and right of the resultant table.
Once this is built, conditional formatting is easy to highlight that the quantity columns vary.
Thanks in advance
I'd like to take two groups of data on the same sheet and align the data row by row. Essentially sort smallest to largest of each Row A, then reconcile it row by row:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Part number[/TD]
[TD]Quantity[/TD]
[TD]Price[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]1[/TD]
[TD]$1.99[/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]2[/TD]
[TD]$2.99[/TD]
[/TR]
[TR]
[TD]345[/TD]
[TD]3[/TD]
[TD]$3.99[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
</tbody>[/TABLE]
Then the other data I'm comparing to:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Part Number[/TD]
[TD]Quantity[/TD]
[TD]Price[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]2[/TD]
[TD]$1.99[/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]4[/TD]
[TD]$2.99[/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
[TR]
[TD]567[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
</tbody>[/TABLE]
To look like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Part Number[/TD]
[TD]Quantity[/TD]
[TD]Price[/TD]
[TD][/TD]
[TD]Part Number[/TD]
[TD]Quantity[/TD]
[TD]Price[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD]1[/TD]
[TD]$1.99[/TD]
[TD][/TD]
[TD]123[/TD]
[TD]2[/TD]
[TD]$1.99[/TD]
[/TR]
[TR]
[TD]234[/TD]
[TD]2[/TD]
[TD]$2.99[/TD]
[TD][/TD]
[TD]234[/TD]
[TD]4[/TD]
[TD]$2.99[/TD]
[/TR]
[TR]
[TD]345[/TD]
[TD]3[/TD]
[TD]3.99[/TD]
[TD][/TD]
[TD]DOES NOT EXIST - LEFT BLANK[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[TD][/TD]
[TD]456[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
[TR]
[TD]DOES NOT EXIST - LEFT BLANK[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]567[/TD]
[TD]4[/TD]
[TD]$4.99[/TD]
[/TR]
</tbody>[/TABLE]
Basically Column A of the two small tables are my sorting columns, and I need to be able to compare if A is the same across both and insert the spaces on the left and right of the resultant table.
Once this is built, conditional formatting is easy to highlight that the quantity columns vary.
Thanks in advance