Solved

Excel - text to column problem

Posted on 2016-10-20
2
23 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 48

Accepted Solution

by:
Rgonzo1971 earned 500 total points
Comment Utility
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
Comment Utility
Thanks heaps!!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

743 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

8 Experts available now in Live!

Get 1:1 Help Now