I want to extract text before a comma, or space or if condition 1 or 2 is not met return text in cell:
Example:
James, John
Jones Tom
Lily
Expected result:
James
Jones
Lily
=LEFT(A1,(FIND(" ",A1,1)-1)) extracts text before space
=LEFT(A1,(FIND(", ",A1,1)-1)) extracts text before comma...