Hi
I have address data that has different amounts of commas in each address, like this:
[TABLE="width: 743"]
<col><tbody>[TR]
[TD]company, street, city, bn1 3ry[/TD]
[/TR]
[TR]
[TD]street, city, bn2 4jy[/TD]
[/TR]
[TR]
[TD]street, city, bn23yt[/TD]
[/TR]
[TR]
[TD]street, city, wc10 7yt[/TD]
[/TR]
</tbody>[/TABLE]
If I split text to columns the fields don't end up in the same columns:
[TABLE="width: 471"]
<col><col span="3"><tbody>[TR]
[TD]company[/TD]
[TD] street[/TD]
[TD] city[/TD]
[TD] bn1 3ry[/TD]
[/TR]
[TR]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn2 4jy[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn23yt[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]street[/TD]
[TD] city[/TD]
[TD] wc10 7yt[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I want all the postcodes, city, street info to go in the same column. like this:
[TABLE="width: 471"]
<col><col span="3"><tbody>[TR]
[TD]company[/TD]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn1 3ry[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn2 4jy[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn23yt[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]street[/TD]
[TD] city[/TD]
[TD] wc10 7yt[/TD]
[/TR]
</tbody>[/TABLE]
I tried using the RIGHT function eg =RIGHT(A1,7). Problem is that the postcodes are all different lengths, so I can't use that either.
Please can someone let me know how I split this data? Thanks
I have address data that has different amounts of commas in each address, like this:
[TABLE="width: 743"]
<col><tbody>[TR]
[TD]company, street, city, bn1 3ry[/TD]
[/TR]
[TR]
[TD]street, city, bn2 4jy[/TD]
[/TR]
[TR]
[TD]street, city, bn23yt[/TD]
[/TR]
[TR]
[TD]street, city, wc10 7yt[/TD]
[/TR]
</tbody>[/TABLE]
If I split text to columns the fields don't end up in the same columns:
[TABLE="width: 471"]
<col><col span="3"><tbody>[TR]
[TD]company[/TD]
[TD] street[/TD]
[TD] city[/TD]
[TD] bn1 3ry[/TD]
[/TR]
[TR]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn2 4jy[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn23yt[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]street[/TD]
[TD] city[/TD]
[TD] wc10 7yt[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I want all the postcodes, city, street info to go in the same column. like this:
[TABLE="width: 471"]
<col><col span="3"><tbody>[TR]
[TD]company[/TD]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn1 3ry[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn2 4jy[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]street[/TD]
[TD] city[/TD]
[TD] bn23yt[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]street[/TD]
[TD] city[/TD]
[TD] wc10 7yt[/TD]
[/TR]
</tbody>[/TABLE]
I tried using the RIGHT function eg =RIGHT(A1,7). Problem is that the postcodes are all different lengths, so I can't use that either.
Please can someone let me know how I split this data? Thanks