move cells where data on top of column.

jaik22

Board Regular
Joined
Sep 23, 2016
Messages
102
Hi guys, I am trying to move cells on the Product ID cells.

Code:
[TABLE="width: 521"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]HEIN4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]MC[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]Product ID[/TD]
[TD]Prdouct Group[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]426[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]68[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]78[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]3[/TD]
[/TR]
</tbody>[/TABLE]

Here is the example of data and I would like to move HEIN4 move down 5 and go left 2. Then Move MC 3 down and 1 left.

Code:
[TABLE="width: 521"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Product ID[/TD]
[TD]Prdouct Group[/TD]
[/TR]
[TR]
[TD]HEIN4[/TD]
[TD]MC[/TD]
[TD="align: right"]426[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]59[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]68[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]78[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]3[/TD]
[/TR]
</tbody>[/TABLE]

So I would like to have an output like this. I have more than ten of this on a sheet, and HEIN4, MC could be named differently for the other part. But formatting(moving format) is same.

Is there any good way to format top of two cells on ProductID?

Anything helps!

Thank you!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top