Link to home
Start Free TrialLog in
Avatar of Seamus2626
Seamus2626Flag for Ireland

asked on

Cut text

I have a massive list of names

Structured as

Smith, John: Operations (LDN)

I only want Smith, John

Can i have formula that cuts just before the semi colon?

All data is listed in Col A

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Missus Miss_Sellaneus
Missus Miss_Sellaneus
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Seamus2626

ASKER

Thanks!
If one of the names doesn't have a comma, there will be an error. You can do:
=IF(ISERROR(FIND(":",A1));A1;LEFT(A1,FIND(":",A1)-1))