Kutools Advanced Combine Rows as VBA [Their site code is broken]

Tardisgx

Board Regular
Joined
May 10, 2018
Messages
81
Currently using [bhos123] 's solution but I have to find and replace the commas that appear as I don't need them (commas also appear in column C) ; so my patched together combined macro works but it obviously can be better if I can remove the comma problem.

[Kutools Advanced combine rows VBA here] Is broken as a commenter Ashley on the bottom of the page describes

"it is deleting column B. Looks like it's just removing duplicates...not sure what the issue is."



Input and output looks like this https://imgur.com/a/sgzWzmx
The problem with bhos123's output is between some codes there is Space comma space " , " which should be replaced with linebreak (controlJ). I don't know how to edit his macro to get the 3rd picture as the output.

I'm fixing this with find and replace in the macro but I'd be cool if I could cut the amount of code required
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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