ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   minus first word in column (https://www.excelbanter.com/excel-worksheet-functions/133645-minus-first-word-column.html)

Cathy

minus first word in column
 
In Column L, I have a persons first name and last name eg: John Smith. In
column N, I just want the persons last name to appear. I know this must be
an easy formula, but I just cannot figure it out.

I appreciate your help.

Gary''s Student

minus first word in column
 
=RIGHT(L1,FIND(" ",L1))
--
Gary''s Student
gsnu200709


"Cathy" wrote:

In Column L, I have a persons first name and last name eg: John Smith. In
column N, I just want the persons last name to appear. I know this must be
an easy formula, but I just cannot figure it out.

I appreciate your help.


Chip Pearson

minus first word in column
 

"Gary''s Student" wrote in message

=RIGHT(L1,FIND(" ",L1))


That won't work. If, for example, L1 contains "abc defghi", that formula
will return the right 4 characters, not the text to the right of the space
character.

Instead, try

=MID(L1,FIND(" ",L1,1)+1,LEN(L1))


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

"Gary''s Student" wrote in message
...
=RIGHT(L1,FIND(" ",L1))
--
Gary''s Student
gsnu200709


"Cathy" wrote:

In Column L, I have a persons first name and last name eg: John Smith.
In
column N, I just want the persons last name to appear. I know this must
be
an easy formula, but I just cannot figure it out.

I appreciate your help.





All times are GMT +1. The time now is 05:22 PM.

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