Separate name and suburb to allow list sort by suburb

I have a list of 4000  entries each with a name with suburb in one cell. Suburb follows a dash.
I seek to have the suburb moved to the next cell in the row for each listing.
gregfthompsonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gregfthompsonAuthor Commented:
0
zorvek (Kevin Jones)ConsultantCommented:
Put this formula in B1 and copy down as needed:

=MID(A1,FIND("-",A1)+2,999)

Kevin
0
zorvek (Kevin Jones)ConsultantCommented:
Handles odd cases where there is no suburb or there is a dash in the first part.

=IF(ISERROR(FIND(" - ",A1)),"",MID(A1,FIND(" - ",A1)+3,999))

Kevin
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

zorvek (Kevin Jones)ConsultantCommented:
I might as well as post the revised workbook ;-)

Kevin
Q-26942254.xlsx
0
gregfthompsonAuthor Commented:
Thank you...can you then remove the suburb from the first column?
0
zorvek (Kevin Jones)ConsultantCommented:
0
gregfthompsonAuthor Commented:
Dear Kevin,

Or run a similar formula to leave the name in a column?

Thanks very much!

GHreg
0
zorvek (Kevin Jones)ConsultantCommented:
See attached.
Q-26942254.xlsx
0
gregfthompsonAuthor Commented:
Thanks Kevin,

Can you provide the formula because I will have several more of these lists in the next couple of weeks?

Thanks again,

Greg
0
zorvek (Kevin Jones)ConsultantCommented:
I put this in column C:

=IF(LEN(B1)=0,A1,LEFT(A1,LEN(A1)-LEN(B1)-3)

I then copied columns B and C and pasted values only. Then I cut column C and pasted it into column A.

Kevin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gregfthompsonAuthor Commented:
Immediate and brilliant.

Thank you!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.