Seamus2626
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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))
=IF(ISERROR(FIND(":",A1));
ASKER