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
Solved

Need to split info in Excel column into two separate columns

Posted on 2013-12-29
8
352 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
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 Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 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