In a single formula how to extract the First and the Last Name from a full personal name?

Lacan

Board Regular
Joined
Oct 5, 2016
Messages
228
Office Version
  1. 365
Platform
  1. Windows
Hi Guys,

In a single formula how to extract always the First and the Last Name from a full personal name?
Thanks in advance! 👍👍🍻


Fórmula Principal para o Ficheiro VDF.xlsm
ABCDEFGH
1
2
3FULL NAME
4AGUEDA HAYDEE DE JESUS DO ESPIRITO SANTO AFRICANO RAMOS
5
6EXPECTED RESULTS
7AGUEDA RAMOS
8
9FORMULA
10
11
12
13
14
15
Folha11
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Hello, one way to do it:

Excel Formula:
=TEXTBEFORE(D4," ",1)&" "&TEXTAFTER(D4," ",-1)
 
Upvote 0
Solution
No formula based on first & last words will work where you have a multi-word surname (e.g. Van der Hausen)
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

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