Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Can you help me write a formula to extract the surname for a text.
For example, Text 1. Peter V Crazy 2. James Van-Cleef 3. N N M B Chan Results 1. Crazy 2. Van-Cleef 3. Chan Thanks. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=MID(A1,FIND("~",SUBSTITUTE(A1," ","~",LEN(A1)-LEN(SUBSTITUTE(A1,"
",""))))+1,9999) -- Gary''s Student - gsnu200908 "nc" wrote: Can you help me write a formula to extract the surname for a text. For example, Text 1. Peter V Crazy 2. James Van-Cleef 3. N N M B Chan Results 1. Crazy 2. Van-Cleef 3. Chan Thanks. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
=TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN(A1))) Mike "nc" wrote: Can you help me write a formula to extract the surname for a text. For example, Text 1. Peter V Crazy 2. James Van-Cleef 3. N N M B Chan Results 1. Crazy 2. Van-Cleef 3. Chan Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extract surname from forenames | Excel Discussion (Misc queries) | |||
Extract given and surname a string | Excel Worksheet Functions | |||
How do I combine two columns of text to 1 as in 1st name surname | Excel Discussion (Misc queries) | |||
Display only surname | Excel Worksheet Functions | |||
Extracting Surname from within a text string | Excel Worksheet Functions |