Solved

Cut to semi colan

Posted on 2013-01-04
4
164 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
[X]
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
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 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