Hello,
I was given a file to clean up. It has over 15,000 address entries in a row format:
[TABLE="width: 192"]
<tbody>[TR]
[TD="width: 64"]ID[/TD]
[TD="width: 64"]Agency[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD="align: right"]201[/TD]
[TD]Name[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 2"]Address 1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 2"]City,State, Zip[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Phone #[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
There is an id number assigned in the cell in column A at the Agency name. All the address fields start in column B. The ID # is only assigned to the agency name.
A problem is that not all entries have each of the address fields. There might only be an agency with a phone # or agency,address 1,city/state/zip and no phone #.
Is there any code or formula that can assign the id code of agency to each of its respective address entries? So it looks like this:
A B
201 Agency
201 Address 1
201 City, State Zip
201 Phone Number
Thanks
Tamboy
I was given a file to clean up. It has over 15,000 address entries in a row format:
[TABLE="width: 192"]
<tbody>[TR]
[TD="width: 64"]ID[/TD]
[TD="width: 64"]Agency[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD="align: right"]201[/TD]
[TD]Name[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 2"]Address 1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="colspan: 2"]City,State, Zip[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Phone #[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
There is an id number assigned in the cell in column A at the Agency name. All the address fields start in column B. The ID # is only assigned to the agency name.
A problem is that not all entries have each of the address fields. There might only be an agency with a phone # or agency,address 1,city/state/zip and no phone #.
Is there any code or formula that can assign the id code of agency to each of its respective address entries? So it looks like this:
A B
201 Agency
201 Address 1
201 City, State Zip
201 Phone Number
Thanks
Tamboy