Solved

Excel Formula Help

Posted on 2011-09-06
6
244 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:teylyn
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:teylyn
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 50

Accepted Solution

by:
teylyn 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now