First name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have list of Employee names in one column, it include first and second names.
I want to take only first name of all employees.
Is there any formula to take only first name.

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

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Besides it with a formula, you can do this with Data > TextToColumns >
Delimited > Space > Next > and choosing not to import the second
column............

Vaya con Dios,
Chuck, CABGx3
 
Hi Bob,

Why we need to give -1 in the formula.
What is the logic behind this?
And if name contains only one name, i am getting error i.e.,#VALUE!
thanks in advance and regards
 
Hi Bob,

Why we need to give -1 in the formula.
What is the logic behind this?
And if name contains only one name, i am getting error i.e.,#VALUE!
thanks in advance and regards
 
Vishu,

The -1 is to ignore the space.

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


--

HTH

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top