Solved

Cut to semi colan

Posted on 2013-01-04
4
160 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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 will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

744 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

13 Experts available now in Live!

Get 1:1 Help Now