ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Parse data with uneven lengths and different delimiters (https://www.excelbanter.com/excel-worksheet-functions/63426-parse-data-uneven-lengths-different-delimiters.html)

[email protected]

Parse data with uneven lengths and different delimiters
 
I need to parse data similar to the following into separate columns -
one column for last name, one column for first name and middle initial
(or middle name) and one column for zip code. What is the best way to
do this (least number of steps).

Smith, John J 80909
Carson, Mary S 80222
Cleaver, Wally 80002
Jones, John Paul 80019
Latham, Stella G 90002

Thank you.


Chip Pearson

Parse data with uneven lengths and different delimiters
 
Use the Text To Columns tool under the Data menu. Use a comma and
a space as the delimiter character.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


wrote in message
ups.com...
I need to parse data similar to the following into separate
columns -
one column for last name, one column for first name and middle
initial
(or middle name) and one column for zip code. What is the best
way to
do this (least number of steps).

Smith, John J 80909
Carson, Mary S 80222
Cleaver, Wally 80002
Jones, John Paul 80019
Latham, Stella G 90002

Thank you.




Buffgirl71

Parse data with uneven lengths and different delimiters
 
Thank you. I didn't know that you could put in multiple delimiters in
text to columns. Great info to have. Thanks again.


Buffgirl71

Parse data with uneven lengths and different delimiters
 
Thank you. I didn't know that you could put in multiple delimiters in
text to columns. Great info to have. Thanks again.



All times are GMT +1. The time now is 10:42 AM.

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