Hello everyone,
WIll try to explain this as best as I can
Starting at A1
Row 1 is conditional row for the code
[TABLE="width: 100"]
<tbody>[TR]
[TD]John[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD]Apple
[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Mark[/TD]
[/TR]
[TR]
[TD]Cup[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]Cup[/TD]
[TD]Mark[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]Pen[/TD]
[TD]Mark[/TD]
[/TR]
[TR]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
</tbody>[/TABLE]
What I wish for is in other sheet rows from column A to be moved (not copied) by matching criteria from cell A1, added in column B value from B1, in Column C total counts moved of items in column A matching value in C
So lets say top table has been added twice to the sheet with same criteria
Starting at a1
[TABLE="width: 100"]
<tbody>[TR]
[TD]Apple[/TD]
[TD]22[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cup[/TD]
[TD]22[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
If after that criteria changes to ex.
Mark and 22
and
Steve and 40
[TABLE="width: 100"]
<tbody>[TR]
[TD]Apple[/TD]
[TD]22[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Cup[/TD]
[TD]22[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Pen[/TD]
[TD]22[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]40[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
And in next rows all new moved values would be filled
I hope I didn't miss anything and it's all clear
Thank you
WIll try to explain this as best as I can
Starting at A1
Row 1 is conditional row for the code
[TABLE="width: 100"]
<tbody>[TR]
[TD]John[/TD]
[TD]22[/TD]
[/TR]
[TR]
[TD]Apple
[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Mark[/TD]
[/TR]
[TR]
[TD]Cup[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]Cup[/TD]
[TD]Mark[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]Steve[/TD]
[/TR]
[TR]
[TD]Pen[/TD]
[TD]Mark[/TD]
[/TR]
[TR]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
[TR]
[TD]etc[/TD]
[TD]etc[/TD]
[/TR]
</tbody>[/TABLE]
What I wish for is in other sheet rows from column A to be moved (not copied) by matching criteria from cell A1, added in column B value from B1, in Column C total counts moved of items in column A matching value in C
So lets say top table has been added twice to the sheet with same criteria
Starting at a1
[TABLE="width: 100"]
<tbody>[TR]
[TD]Apple[/TD]
[TD]22[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cup[/TD]
[TD]22[/TD]
[TD]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
If after that criteria changes to ex.
Mark and 22
and
Steve and 40
[TABLE="width: 100"]
<tbody>[TR]
[TD]Apple[/TD]
[TD]22[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Cup[/TD]
[TD]22[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Pen[/TD]
[TD]22[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]40[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
And in next rows all new moved values would be filled
I hope I didn't miss anything and it's all clear
Thank you