Hi
I have a list of names in a column A, which I'd like to split out, so that the First Name appears in column B and the Surname appears in column C.
In the simple example below, cell A1 has the name Smith, John (with a space after the comma).
But cell A2 has the name Smith,John (without a space after the comma).
Is there a way to use one formula (which takes into account whether there's a space after the comma or not) to extract the First Name (in cells B1 and B2), then have a formula that extracts the Surname into C1 and C2?
If there isn't, I'd be grateful if anyone knows of a formula which will extract the names into columns B and C?
Please let me know if you'd like me to clarify the question.
TIA
I have a list of names in a column A, which I'd like to split out, so that the First Name appears in column B and the Surname appears in column C.
In the simple example below, cell A1 has the name Smith, John (with a space after the comma).
But cell A2 has the name Smith,John (without a space after the comma).
Is there a way to use one formula (which takes into account whether there's a space after the comma or not) to extract the First Name (in cells B1 and B2), then have a formula that extracts the Surname into C1 and C2?
If there isn't, I'd be grateful if anyone knows of a formula which will extract the names into columns B and C?
Please let me know if you'd like me to clarify the question.
TIA
Smith, John |
Smith,John |