Solved

Cut to semi colan

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

825 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