L
Lamb Chop
I have a list of the contact list exported from a software which I have no
control of what it generate.
For example,
Column A Column B
Surname: Smith Title: Prof
First Name: John Email: (e-mail address removed)
Address: Virtual Street
State: Victoria
Postcode: 1299
Home Number: 123456
Fax: 456789
Mobile: 98765
<empty row.>
Surname: Peters Occupation: Teacher
First Name: Davis Email: (e-mail address removed)
Address: Virtual Street
Home Number: 99999
Mobile: 98765
<Empty row>
<another record starts>
....
....
...
etc...
I need to put the name, Home nuimber and emails into a single column and
separate the fields by #, e.g.
John Smith#123456#[email protected]
Davis Peters#99999#[email protected]
....
...
....
The trick of the data is that the lenght of the records are not the same,
e.g. some missed the Fax number, some missed the address. Therefore, some
records occupy 5 rows and some with 6 or 7 rows. Some use 2 columns, while
some use only 1 column. (never more than two columns).
Between each record there is a empty row to separate them.
All the field started with some key words, e.g. "Surname:", "First Name:",
"email:" etc
Any suggestion?
Thanks in advance.
control of what it generate.
For example,
Column A Column B
Surname: Smith Title: Prof
First Name: John Email: (e-mail address removed)
Address: Virtual Street
State: Victoria
Postcode: 1299
Home Number: 123456
Fax: 456789
Mobile: 98765
<empty row.>
Surname: Peters Occupation: Teacher
First Name: Davis Email: (e-mail address removed)
Address: Virtual Street
Home Number: 99999
Mobile: 98765
<Empty row>
<another record starts>
....
....
...
etc...
I need to put the name, Home nuimber and emails into a single column and
separate the fields by #, e.g.
John Smith#123456#[email protected]
Davis Peters#99999#[email protected]
....
...
....
The trick of the data is that the lenght of the records are not the same,
e.g. some missed the Fax number, some missed the address. Therefore, some
records occupy 5 rows and some with 6 or 7 rows. Some use 2 columns, while
some use only 1 column. (never more than two columns).
Between each record there is a empty row to separate them.
All the field started with some key words, e.g. "Surname:", "First Name:",
"email:" etc
Any suggestion?
Thanks in advance.