ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help!! Formulas (https://www.excelbanter.com/excel-worksheet-functions/19088-help-formulas.html)

Simon

Help!! Formulas
 
Can anyone help??

I have a name in cell A1, but I want to split the name into cells A2 and A3.
eg, A1 = Simon Thomas, I want B1 to = Simon & C1 to = Thomas
Does anyone know the formula for this??

Thank you in advance

Domenic

Assuming that names contain first and last name only...

First name:

=LEFT(A1,FIND(" ",A1)-1)

Last name:

=RIGHT(A1,LEN(A1)-FIND(" ",A1))

Hope this helps!

In article ,
"Simon" wrote:

Can anyone help??

I have a name in cell A1, but I want to split the name into cells A2 and A3.
eg, A1 = Simon Thomas, I want B1 to = Simon & C1 to = Thomas
Does anyone know the formula for this??

Thank you in advance


Duke Carey

To get the first portion

=LEFT(A1,SEARCH(" ",A1,1)-1)

to get the last portion

=RIGHT(A1,LEN(A1)-SEARCH(" ",A1,1))

This will not address cases where you have names such as

Saint James Susan or Billy Bob Thornton

but will work for standard 2 name entries



"Simon" wrote:

Can anyone help??

I have a name in cell A1, but I want to split the name into cells A2 and A3.
eg, A1 = Simon Thomas, I want B1 to = Simon & C1 to = Thomas
Does anyone know the formula for this??

Thank you in advance


Bob Phillips

You could just copy column A to B, and then use DataText To Columns with a
space delimiter.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Simon" wrote in message
...
Can anyone help??

I have a name in cell A1, but I want to split the name into cells A2 and

A3.
eg, A1 = Simon Thomas, I want B1 to = Simon & C1 to = Thomas
Does anyone know the formula for this??

Thank you in advance





All times are GMT +1. The time now is 05:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com