Solved

Cut to semi colan

Posted on 2013-01-04
4
161 Views
Last Modified: 2013-01-04
Hi,

I have multiple names listed as:

Smith, John: Operations (LDN)
Cadogan, Denis: FI Rates (NYK)

etc

I need some formula/code that can cut each name to

Smith, John
Cadogan, Denis

Thanks!
0
Comment
Question by:Seamus2626
4 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 250 total points
ID: 38743790
That looks like a colon rather than semi-colon.....

...so try this formula in B2 assuming data in A2

=LEFT(A2,FIND(":",A2&":")-1)

If there is no colon in the cell then the formula returns the whole cell contents

regards, barry
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 250 total points
ID: 38743792
=left(a1,find(":",a1)-1)
0
 
LVL 15

Expert Comment

by:jerseysam
ID: 38743797
0
 

Author Closing Comment

by:Seamus2626
ID: 38743798
Thanks guys!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

911 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

15 Experts available now in Live!

Get 1:1 Help Now