Hi! help with finding text in string

carura

New Member
Joined
Sep 20, 2011
Messages
25
Hi I have to deal with a bunch of names and there is no standard format for them.
For Example;

Rizal,Jose Mercado Realonda


I need to extract the first name of this person.
The first name is right after the comma and there is no space in between.
I can't figure out a formula/function to use for this.

Please help!
Thanks!:biggrin::biggrin:
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Say data is in A1
paste this formula in A2
=RIGHT(A1,LEN(A1)-FIND(",",A1))

hope it works
 
Upvote 0
Hi!!
Thanks for the reply!!

MMMarks, you have the closest answer to my query.

But Im getting the whole name after the comma

I get "Jose Mercado Realonda"

I was hoping you can help me figure out a formula just to get the first word right after the comma.

Example: I just want to get "Jose"
<table x:str="" style="border-collapse: collapse; width: 306pt;" border="0" cellpadding="0" cellspacing="0" width="408"> <col style="width: 306pt;" width="408"><tr style="height: 12.75pt;" height="17"><!--StartFragment--></tr> </table>
 
Upvote 0
=right(trim(left(a1,find(" ",a1,1)-1)),len(trim(left(a1,find(" ",a1,1)-1)))-find(",",trim(left(a1,find(" ",a1,1)-1))))
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,713
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top