Strip comma seperated cell content & insert into other c

wisewood

Board Regular
Joined
Nov 7, 2002
Messages
193
I have a column containing address information, comma seperated.

For each row, i want to extract the information from column B, and strip out the comma seperated information, and insert it into its own cell on that same row.

Eg.

50 The Street, The Locality, The Town, The Region, Post Code

Should be stripped out so that;

B = 50 The Street
C = The Locality
D = The Town
E = The Region
F = Post Code


However, some addresses may have fewer or more components, so it just needs to keep adding each component to the next column until there are no more components, then go to the next row and start again.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Select the column, goto Data>Text to columns... and select comma as a delimiter.

The number of commas won't really matter unless you need to have specific types of data eg towns in a particular column.
 
Upvote 0

Forum statistics

Threads
1,214,411
Messages
6,119,346
Members
448,888
Latest member
Arle8907

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