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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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