Thanks for taking time to read my enquiry.
I am trying to separate a text string output from a dataset that has a combined first name, middle Initial, family name, date of birth, hours and cost structure in one cell. The task is to separate into 6 columns.
I have been experimenting with substitute and textsplit which works fine when the delimiter is "-" and date of birth is using a "/". Example:
George E Smith-26/11/1948-26-1785 the formula result is correct across the 6 columns - first name, middle Initial, family name, date of birth, hours and cost
However, there are entries that use the following a "/" instead of "-" and a "-" instead of a "/". The formula of course separates the date of birth into 3 columns when we require one.
Text: George E Smith/26-11-1948/26/1787 is my challenge. I have tried using different methods for the delimiter but either the name doesn't separate as required or the DoB isn't correctly set out.
Your advice would be most welcomed.
Mel
I am trying to separate a text string output from a dataset that has a combined first name, middle Initial, family name, date of birth, hours and cost structure in one cell. The task is to separate into 6 columns.
I have been experimenting with substitute and textsplit which works fine when the delimiter is "-" and date of birth is using a "/". Example:
George E Smith-26/11/1948-26-1785 the formula result is correct across the 6 columns - first name, middle Initial, family name, date of birth, hours and cost
However, there are entries that use the following a "/" instead of "-" and a "-" instead of a "/". The formula of course separates the date of birth into 3 columns when we require one.
Text: George E Smith/26-11-1948/26/1787 is my challenge. I have tried using different methods for the delimiter but either the name doesn't separate as required or the DoB isn't correctly set out.
Your advice would be most welcomed.
Mel