Pianoman23
New Member
- Joined
- May 16, 2014
- Messages
- 25
Hi guys.
I have a worksheet that contains around 90,000 rows.
Column A contains product descriptions imported from an outside source. Other columns contain codes and usage data, etc, and are not relevant here.
The descriptions in Col A vary insofar as the parentheses are not consistent; e.g.
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]Abilify 5mg tablets (Otsuka Pharmaceuticals (U.K.) Ltd) 28 tablet 4 x 7 tablets[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]Able Spacer (Clement Clarke International Ltd) 1 device
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]ActiLymph class 1 (18-21mmHg) below knee closed toe lymphoedema garment standard medium Sand (Activa Healthcare Ltd) 2 device[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
What I need to be able to do is find the position in the string of the first (; the second ( and similarly with ).
In some cases the bracketed content is removed and in some cases it is used; so, in the case of the above three items they should read:
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]Abilify 5mg tablets 28 tablet 4 x 7 tablets[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]Able Spacer 1 device
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]ActiLymph class 1 (18-21mmHg) below knee closed toe lymphoedema garment standard medium Sand 2 device
Can anyone help with a formula for this?
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
I have a worksheet that contains around 90,000 rows.
Column A contains product descriptions imported from an outside source. Other columns contain codes and usage data, etc, and are not relevant here.
The descriptions in Col A vary insofar as the parentheses are not consistent; e.g.
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]Abilify 5mg tablets (Otsuka Pharmaceuticals (U.K.) Ltd) 28 tablet 4 x 7 tablets[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]Able Spacer (Clement Clarke International Ltd) 1 device
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]ActiLymph class 1 (18-21mmHg) below knee closed toe lymphoedema garment standard medium Sand (Activa Healthcare Ltd) 2 device[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
What I need to be able to do is find the position in the string of the first (; the second ( and similarly with ).
In some cases the bracketed content is removed and in some cases it is used; so, in the case of the above three items they should read:
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]Abilify 5mg tablets 28 tablet 4 x 7 tablets[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]Able Spacer 1 device
[TABLE="width: 394"]
<tbody>[TR]
[TD="width: 394"]ActiLymph class 1 (18-21mmHg) below knee closed toe lymphoedema garment standard medium Sand 2 device
Can anyone help with a formula for this?
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]