help with get just the name out

rcirone

Active Member
Joined
Mar 12, 2009
Messages
483
Office Version
  1. 365
Platform
  1. Windows
I have this and I need to get the first and last name out so I can use them for a vlookup please help

Richard XXXXXX 1993446666
Tom XXXXXXX 1993444444

I am using this
=RIGHT(G7,SEARCH("",G7,10))
but I need to use the name now
 
[TABLE="width: 359"]
<tbody>[TR]
[TD="width: 251, bgcolor: transparent"]This is the way it come in

[/TD]
[TD="width: 15, bgcolor: transparent"][/TD]
[TD="width: 213, bgcolor: transparent"]This is What I need it to look like
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Yxxxxxx Oxxxx Mxxxxxx 1993444444
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Ortiz Mxxxxxx, Yxxxxxx ICE
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Sxxxxxx Pxxxxxx 1993443333
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Pxxxxxx, Sxxxxxxx ICE
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Jxxxx Pxxxxx 1993442222
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Pxxxxx, Jxxxx ICE
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Sxxxxxx Pxxxx 1993442211
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Pxxxx, Sxxxxxx ICE
[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0

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.
Try this:


Book1
AB
1Yxxxxxx Oxxxx Mxxxxxx 1993444444Oxxxx Mxxxxxx, Yxxxxxx ICE
2Sxxxxxx Pxxxxxx 1993443333Pxxxxxx, Sxxxxxx ICE
3Jxxxx Pxxxxx 1993442222Pxxxxx, Jxxxx ICE
4Sxxxxxx Pxxxx 1993442211Pxxxx, Sxxxxxx ICE
Sheet201
Cell Formulas
RangeFormula
B1=MID(LEFT(A1,LEN(A1)-11),FIND(" ",A1)+1,255)&", "&LEFT(A1,FIND(" ",A1))&"ICE"


Formula copied down.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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