Solved

Excel Formula Help

Posted on 2011-09-06
6
248 Views
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?
Thanks,
Bob
0
Comment
Question by:RobertStamm
[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
  • 3
  • 3
6 Comments
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 36492538
Hello,

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
0
 
LVL 50

Expert Comment

by:Ingeborg Hawighorst
ID: 36492546
Maybe like this:

=TRIM(MID(A1,FIND(",",A1)+2,3))

cheers, teylyn
0
 

Author Comment

by:RobertStamm
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?
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst earned 500 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

=SUBSTITUTE(TRIM(MID(A1,FIND(",",A1)+2,3)),CHAR(160),"")

cheers, teylyn
0
 

Author Comment

by:RobertStamm
ID: 36492753
Great.  Thanks for your help.

Bob
0
 

Author Closing Comment

by:RobertStamm
ID: 36492755
Thanks!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

730 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