bearcub
Well-known Member
- Joined
- May 18, 2005
- Messages
- 734
- Office Version
- 365
- 2013
- 2010
- 2007
- Platform
- Windows
I need to create a field that extracts the first initial from the last name so I can sort members alphabetically by last name. I'm using the Left function which does the trick but I ran into a situation where someone has a maiden name in front of the last name so all the is being returned are the beginning and ending hyphens.
Example
last name: Smith
Result : -S-
This is what I expected to happen - this is what I need
last name: (PERRY) TORRANO
result now: - -
needed : -T-
How do I get the formula to pick up the T instead of the " "?
The left function is ignoring the "(" and replacing it with a " ".
The majority of the people just have a last name. Is there a workaround for this problem?
Thank you for your help.
Example
last name: Smith
Result : -S-
This is what I expected to happen - this is what I need
last name: (PERRY) TORRANO
result now: - -
needed : -T-
How do I get the formula to pick up the T instead of the " "?
The left function is ignoring the "(" and replacing it with a " ".
The majority of the people just have a last name. Is there a workaround for this problem?
Thank you for your help.