Solved

Excel - text to column problem

Posted on 2016-10-20
2
24 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 49

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel conversion issue with Sql server 14 46
Office 2016 Excel Issue 4 26
Sum iF  based on a null cell 11 29
Why doesn't duplicate values work on this spreadsheet? 6 32
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now