Excel Formula Help

Posted on 2011-09-06
Medium Priority
Last Modified: 2012-05-12
Need some experts to assist.  Not getting this one figured out.  Need an excel formula to capture the Team name.  This first case it is SD, second is Dal.  
Nate Kaeding, SD K
David Buehler, Dal K  P

These are listed in a column A.  I tried a number of different options but getting hungup on some teams have two letters and some have three.

Can someone assist?
Question by:RobertStamm
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
  • 3
  • 3
LVL 50
ID: 36492538

can you give a bigger data sample? Are the names always only first and last? Could there be more than two elements to a name, like middle initial? Is the Team name always followed by a K?

cheers, teylyn
LVL 50
ID: 36492546
Maybe like this:


cheers, teylyn

Author Comment

ID: 36492586
This was close to what I had written.  My problem is that with two letter team names it is leaving a space after the second letter.  If you copy and paste values of result you get "SD ".  I need this to be "SD".  I have tried Trim, Clean with no luck.  Thoughts?
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 50

Accepted Solution

Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 2000 total points
ID: 36492679
Maybe the space just looks like a space, but really it is not? It could be the character 160, the non-breaking space. This is often found in text copied or imported from different sources, like databases or the web. To cover all bases, try


cheers, teylyn

Author Comment

ID: 36492753
Great.  Thanks for your help.


Author Closing Comment

ID: 36492755

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
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 demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

650 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