Solved

Need to split info in Excel column into two separate columns

Posted on 2013-12-29
8
365 Views
Last Modified: 2013-12-30
I need to split information contained in one Excel column into two separate columns.  The information is divided in the first column by the "  -  ".  There is a space both before and after the hyphen.  Content of cells include the case numbers and matter names of files.
0
Comment
Question by:CynSzcz
[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
  • 3
  • 2
  • 2
8 Comments
 
LVL 13

Accepted Solution

by:
Ashok earned 450 total points
ID: 39745451
"Jeff - Smith"      

=LEFT(A2, SEARCH("-",A2,1)-1)       

=RIGHT(A2,LEN(A2)-SEARCH("-",A2,1)-1)
0
 

Author Comment

by:CynSzcz
ID: 39745462
Thanks Wizard, My info is in column F.  Do I just replace the "A" in your example with F ?
0
 
LVL 70

Assisted Solution

by:KCTS
KCTS earned 50 total points
ID: 39745468
Yes! - and copy the formula down as required
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 13

Expert Comment

by:Ashok
ID: 39745477
A2 is where the original string is so if your original string in F5 for example, then you would use F5 instead.

Once you do first row, copy formula to rows below.
0
 

Author Comment

by:CynSzcz
ID: 39745483
Yay!! It worked.
0
 

Author Comment

by:CynSzcz
ID: 39745488
I meant to give those points to "Wizard." I am sorry, new at this.
0
 
LVL 70

Expert Comment

by:KCTS
ID: 39745489
@Ashok did most of the work on this - seems unfair to give me all the credit
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

729 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