Really didn't know how to title this thread.
The following is how I am going to receive a tab delimited file. No hope for getting it properly formatted. This is all in one line. There are any number of names separated by a semi-colon in one cell, followed by corresponding addresses also separated by a semi-colon. In the sample below, there are 4 names, 4 addresses:
GPO; Upper Dorset Street Post Office; Parnell Street Post Office; Summerhill Post Office <TAB> O'Connell Street Lower, Dublin 1; 58 Upper Dorset Street, Dublin 1; 97 Parnell Street, Dublin 1; Summerhill Parade, Dublin 1
I highlighted where there is a single tab in the line. There are a minimum of 200 lines like this up to 400 or so lines.
I need to figure out a F/R or a script that will reformat this list like the following:
GPO <TAB> O'Connell Street Lower, Dublin 1
Upper Dorset Street Post Office <TAB> 58 Upper Dorset Street, Dublin 1
Parnell Street Post Office <TAB> 97 Parnell Street, Dublin 1
Summerhill Post Office <TAB> Summerhill Parade, Dublin 1
In reality, there is no space before/after the tab but I thought it provided a little clarity for viewing.
The closest I can come is to have a block of Names followed by a block of addresses, which works once back into Excel I can manually move them to their appropriate place. I was hoping that I didn't need to do it that way though.
Thank you for any pointers on how to proceed.
Mike
The following is how I am going to receive a tab delimited file. No hope for getting it properly formatted. This is all in one line. There are any number of names separated by a semi-colon in one cell, followed by corresponding addresses also separated by a semi-colon. In the sample below, there are 4 names, 4 addresses:
GPO; Upper Dorset Street Post Office; Parnell Street Post Office; Summerhill Post Office <TAB> O'Connell Street Lower, Dublin 1; 58 Upper Dorset Street, Dublin 1; 97 Parnell Street, Dublin 1; Summerhill Parade, Dublin 1
I highlighted where there is a single tab in the line. There are a minimum of 200 lines like this up to 400 or so lines.
I need to figure out a F/R or a script that will reformat this list like the following:
GPO <TAB> O'Connell Street Lower, Dublin 1
Upper Dorset Street Post Office <TAB> 58 Upper Dorset Street, Dublin 1
Parnell Street Post Office <TAB> 97 Parnell Street, Dublin 1
Summerhill Post Office <TAB> Summerhill Parade, Dublin 1
In reality, there is no space before/after the tab but I thought it provided a little clarity for viewing.
The closest I can come is to have a block of Names followed by a block of addresses, which works once back into Excel I can manually move them to their appropriate place. I was hoping that I didn't need to do it that way though.
Thank you for any pointers on how to proceed.
Mike