• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Extract employee name from each row

Hello Guys,
I want to extract the employee name from each row. I have attached a sample spreadsheet with desired result.

Appreciate all your help
 

Attachments

  • Test_Entries.xlsx
    9.2 KB · Views: 7
Please try
For MS365
=LET(z,B2:B10,TEXTBEFORE(RIGHT(z,2+LEN(TEXTAFTER(z,CHAR(SEQUENCE(,26,97)))))," -"))

or old version
=MID(LEFT(B2,FIND(" -",B2)-1),AGGREGATE(15,6,FIND(CHAR(ROW($97:$122)),B2),1)-1,99)
 

Attachments

  • Test_Entries.xlsx
    10.9 KB · Views: 10
Back
Top