Solved

Excel Formula Help

Posted on 2011-09-06
6
246 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
  • 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

831 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