I have a series of data that resides in my A column and somewhere in each portion is a persons name. The data typically appears like this:
1083Ak2 Smith, Joe 34kl 1000
What I would like to do is have a formula in B1 that returns "Smith, Joe". Right now my code is:
It works to return the name but because it uses a literal number of characters to work with it periodically returns something like:
AK2 Smith, Joe 34k
Can I somehow return the characters surrounding the comma, but only until it hits a space?
Thanks for everyones help on this.
1083Ak2 Smith, Joe 34kl 1000
What I would like to do is have a formula in B1 that returns "Smith, Joe". Right now my code is:
Code:
=Trim(MID(A1,Find(",",A1) -12,25))
It works to return the name but because it uses a literal number of characters to work with it periodically returns something like:
AK2 Smith, Joe 34k
Can I somehow return the characters surrounding the comma, but only until it hits a space?
Thanks for everyones help on this.