A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
As far as I can see you have found your answer but anyway if you are interested see the solution below. In column C starting from C2 I have placed different titles that can have a name (of course you can expand or narrow this list according to your needs).
If you want to extract only the titles you can use this formula:
=IFERROR(TRIM(SUBSTITUTE(A2:.A20, TEXTAFTER(A2:.A20, C2:.C20), "")), "")
If you want to extract the titles in one column and the names in another column then you can use this formula.
=LET(n, A2:.A20, tr, TRIM(TEXTAFTER(n, C2:.C20)), HSTACK(IFERROR(TRIM(SUBSTITUTE(n, tr, "")) & ".", ""), IFERROR(tr, n)))
To apply these formulas require that you use Excel 365.
Hope this helps.