Selecting Values from a cell seperated by semicolon

Snowbull

New Member
Joined
Aug 12, 2015
Messages
1
Hi,

I am using Excel 2007 in windows 7 I would like to delete values within a cell which are separated by semicolon. Eg
[TABLE="width: 151"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD] [TABLE="class: grid, width: 1000"]
<colgroup><col style="width:48pt" width="64"> <col style="mso-width-source:userset;mso-width-alt:3181;width:65pt" width="87"> <col style="width:48pt" width="64"> </colgroup><tbody>[TR]
[TD="width: 64"]A1
[/TD]
[TD="width: 87"]B1 ; C1 ; D1 ; B2 ; C2 ; D2
[/TD]
[TD="width: 64"]D1[/TD]
[/TR]
[TR]
[TD="width: 64"]A2[/TD]
[TD="width: 87"]B2; C3; D1; B4; C4; D2[/TD]
[TD]D2[/TD]
[/TR]
[TR]
[TD="width: 64"]A3[/TD]
[TD="width: 87"]B5; C5; D1; B6; C6; D2[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the above example D1 and D2 are in the third colomn which means D1 and D2 should be deleted from the second column and all other values should remain. In the real senario I have 208 rows in colum1 a minimum of 20 values in each cell in column 2 and 101 rows in column 3.

Please advise a solution for this.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,226,730
Messages
6,192,699
Members
453,747
Latest member
tylerhyatt04

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top