Solved

Need to split info in Excel column into two separate columns

Posted on 2013-12-29
8
323 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
  • 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

9 Experts available now in Live!

Get 1:1 Help Now