Excel Question

KWR21

New Member
Joined
Sep 24, 2023
Messages
1
Office Version
  1. 365
  2. 2021
Platform
  1. MacOS
Hello, I have a question about this question I need answered. The question wants me to figure out what formula I could use to parse the last names and first names that exclude the titles and trim the spaces.

Some of the names on the long list are:
Mr. Yang Scott
Dr. Peterson James
Ms. Wenzel Ashley.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
If there are no suffixes or middle initials then you can try this:
Book1
ABC
1
2Mr. Yang ScottYangScott
3Dr. Peterson JamesPetersonJames
4Ms. Wenzel AshleyWenzelAshley
5Mr. WWL RFJXWWLRFJX
6Mr. CJX CHYKCJXCHYK
7Mr. OVU BHIAOVUBHIA
8Mr. AUD GJRQAUDGJRQ
9Mr. YDQ KDXKYDQKDXK
10Mr. ETQ PTNYETQPTNY
11Mr. PEK RSUZPEKRSUZ
12Mr. AFP SVOMAFPSVOM
13Mr. VTY MUJSVTYMUJS
14Mr. TQB GBLUTQBGBLU
Sheet1
Cell Formulas
RangeFormula
B2B2=TEXTAFTER(TEXTBEFORE($A2," ",2)," ")
C2:C14C2=TEXTAFTER($A2," ",2)
B3:B14B3=TEXTAFTER(TEXTBEFORE(A3," ",2)," ")
 
Upvote 0

Forum statistics

Threads
1,215,133
Messages
6,123,235
Members
449,092
Latest member
SCleaveland

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