ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do I convert cell 'Street,#' to '# Street' these are addresse (https://www.excelbanter.com/excel-worksheet-functions/86051-how-do-i-convert-cell-street-street-these-addresse.html)

Closing hyperlinked wookbooks upon exit

how do I convert cell 'Street,#' to '# Street' these are addresse
 
I have an extensive list of addresses -- provided format is 'streetname,###'
(notice comma), I need addresses in format '### streetname' (notice space).
An example would be 'Washington,1909' and desired outcome would be '1909
Washington' I'd appreciate any suggestions for conversion script.

Thanx RL

Gilles Desjardins

how do I convert cell 'Street,#' to '# Street' these are addresse
 
First you create an empty column to the right of your text. Then Data, Text
To Columns and follow delimited with coma.
This will split your words from your numbers. At this time you now have two
columns. Then in an ALL new 3rd column to the right you CONCATENATE both
columns.
HTH

Gilles
"Closing hyperlinked wookbooks upon exit"
icrosoft.com wrote in
message ...
I have an extensive list of addresses -- provided format is
'streetname,###'
(notice comma), I need addresses in format '### streetname' (notice
space).
An example would be 'Washington,1909' and desired outcome would be '1909
Washington' I'd appreciate any suggestions for conversion script.

Thanx RL




Ron Rosenfeld

how do I convert cell 'Street,#' to '# Street' these are addresse
 
On Sat, 29 Apr 2006 18:35:02 -0700, Closing hyperlinked wookbooks upon exit
icrosoft.com wrote:

I have an extensive list of addresses -- provided format is 'streetname,###'
(notice comma), I need addresses in format '### streetname' (notice space).
An example would be 'Washington,1909' and desired outcome would be '1909
Washington' I'd appreciate any suggestions for conversion script.

Thanx RL



=RIGHT(A1,LEN(A1)-FIND(",",A1))&" "&LEFT(A1,FIND(",",A1)-1)


--ron

daddylonglegs

how do I convert cell 'Street,#' to '# Street' these are addresse
 

Here's another option

=MID(A1&" "&A1,FIND(",",A1)+1,LEN(A1))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=537533



All times are GMT +1. The time now is 12:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com