[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Excel - text to column problem

Posted on 2016-10-20
2
Medium Priority
?
35 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Accepted Solution

by:
Rgonzo1971 earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

656 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