Edward Pamias
asked on
I need to extract city and state from a cell in Excel
All, is there a formula that can extract city and state from a cell in Excel
format is like so: 100 any street, South Plainfield, NJ
The cells start at C3 on down.
format is like so: 100 any street, South Plainfield, NJ
The cells start at C3 on down.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Text to column with "," as delimited will also work if your D & E columns are blanks.
Hi,
pls try in D3
Regards
pls try in D3
=TRIM(MID(SUBSTITUTE($C3,",",REPT(" ",999)),COLUMNS($A:B)*999-998,999))
then copy right and copy downRegards
ASKER
This worked perfectly ProfessorJimJam! Thank you!
ASKER
Sorry guys I did not see the new comments till after I accepted the other solution. Notifications did not come through for some reason.
You are welcome.