Solved

Excel - text to column problem

Posted on 2016-10-20
2
27 Views
Last Modified: 2016-10-20
The attached file has a list of addresses. The addresses often include several commas.
I want to separate the suburb which will be all of the words are after the last comma, and leave the rest of the address untouched.
Example file attached with original and required.

Thanks,
Greg
EXAMPLE-SUBURB-TO-BE-SEPARATED.xlsx
0
Comment
Question by:gregfthompson
2 Comments
 
LVL 50

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 41851987
Hi,

pls try
in b2
=LEFT(A2,LEN(A2)-LEN(C2)-2)

Open in new window

in c2
=RIGHT(A2,LEN(A2)-SEARCH("@",SUBSTITUTE(A2,",","@",LEN(A2)-LEN(SUBSTITUTE(A2,",",""))))-1)

Open in new window

Regards
EXAMPLE-SUBURB-TO-BE-SEPARATEDv1.xlsx
0
 

Author Closing Comment

by:gregfthompson
ID: 41851994
Thanks heaps!!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question