Transposing - Line Break Cell

arupghoshal

New Member
Joined
Apr 9, 2019
Messages
6
xpHAhbV
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 332"]
<tbody>[TR]
[TD="class: xl70, width: 332, align: left"]601, Khatau Condominium
J.M. Mehta Road
Nepean Sea Road
Mumbai 400006[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 228"]
<tbody>[TR]
[TD="width: 228, align: left"]601, Khatau Condominium[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 228"]
<tbody>[TR]
[TD="width: 228, align: left"]J.M. Mehta Road [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 228"]
<tbody>[TR]
[TD="width: 228, align: left"]Nepean Sea Road [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 228"]
<tbody>[TR]
[TD="width: 228, align: left"]Mumbai 400006[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 228"]
<tbody>[TR]
[TD="class: xl64, width: 228, align: left"]Gold Croft, 3rd Floor
39, Bhulabhai Desai Road
Mumbai 400026[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 228"]
<tbody>[TR]
[TD="class: xl66, width: 228, align: left"]B1-209, Ostwal Ornate
Jaisal Park
Bhayender (E)
Mumbai 401105 [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Hello All,

I am a newbie... first post :)

As you can see from the above table, I have a whole list of addresses which are typed into one cell with line breaks in them.

I want to transpose it into adjacent cells divided by these line breaks as I have tried to demonstrate above. currently, I am having to copy+paste them individually into sepearate columns in the same row.

If someone can help automate it, would be highly obliged.

Thanks and regards,
Arup
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Select the column - Data - Text to columns -select " delimited" check the " Others" checkbox. In the box hit Ctrl+j and then Finish
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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