Merging table rows

impuls666

New Member
Joined
May 9, 2018
Messages
1
Hello, I need some macro who can make from this table :

9
X
xxx
1 1,00 €
9X
xxx
2 2,00 €
9X
xxx
3 3,00 €
10Y
yyy
1 1,00 €
10Y
yyy
2 2,00 €
10Y
yyy 3 3,00 €
10Y
yyy 4 4,00 €

<colgroup><col style="width:48pt" width="64" span="2"> <col style="mso-width-source:userset;mso-width-alt:7606;width:156pt" width="208"> <col style="width:48pt" width="64" span="7"> </colgroup><tbody>
</tbody>

into this :

9
X
xxx123 1,00 €2,00 €3,00 €
10
Y
yyy123 1,00 €
2,00 €
3,00 €
10Y
yyy 4 4,00 €

<colgroup><col span="2"><col><col span="7"></colgroup><tbody>
</tbody>

It basically needs to merge rows with the same number in the first column together, but do not count the values together, when there are multiple in the same column

Thanks for help
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Forum statistics

Threads
1,214,819
Messages
6,121,729
Members
449,049
Latest member
MiguekHeka

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