I have a data set in below type in a column. How can I extract & put them into separate columns.
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 242"]
<tbody>[TR]
[TD]Code:1+Name:Book+Size:200pg+Price:100+Vendor:Abooks[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 242"]
<tbody>[TR]
[TD]Code:2+Name:Pen+Size:Standard+Price:10+Vendor:Abooks[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 242"]
<tbody>[TR]
[TD]Code:3+Name:Bag+Size:Standard+Price:250+Vendor:TopBags[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I worked to some extent using below formula.
MID(A1,1,FIND("+",A1)-1) = Code:1 , MID(Q7,FIND("+",A1,1)+1,FIND("+",A1,2)) = Name:Bo
I want to get the data into separate cells as follows;
[TABLE="width: 500"]
<tbody>[TR]
[TD]Code:1<strike></strike>
[/TD]
[TD]Name:Book<strike></strike>
[/TD]
[TD]Size:200pg<strike></strike>
[/TD]
[TD]Price:100<strike></strike>
[/TD]
[TD]Vendor:Abooks<strike></strike>
[/TD]
[/TR]
[TR]
[TD]Code:2<strike></strike>
[/TD]
[TD]Name:Pen<strike></strike>
[/TD]
[TD]Size:Standard<strike></strike>
[/TD]
[TD]Price:10<strike></strike>
[/TD]
[TD]Vendor:Abooks<strike></strike>
[/TD]
[/TR]
[TR]
[TD]Code:3<strike></strike>
[/TD]
[TD]Name:Bag<strike></strike>
[/TD]
[TD]Size:Standard<strike></strike>
[/TD]
[TD]Price:250<strike></strike>
[/TD]
[TD]Vendor:TopBags<strike></strike>
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 242"]
<tbody>[TR]
[TD]Code:1+Name:Book+Size:200pg+Price:100+Vendor:Abooks[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 242"]
<tbody>[TR]
[TD]Code:2+Name:Pen+Size:Standard+Price:10+Vendor:Abooks[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 242"]
<tbody>[TR]
[TD]Code:3+Name:Bag+Size:Standard+Price:250+Vendor:TopBags[/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
<strike></strike>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I worked to some extent using below formula.
MID(A1,1,FIND("+",A1)-1) = Code:1 , MID(Q7,FIND("+",A1,1)+1,FIND("+",A1,2)) = Name:Bo
I want to get the data into separate cells as follows;
[TABLE="width: 500"]
<tbody>[TR]
[TD]Code:1<strike></strike>
[/TD]
[TD]Name:Book<strike></strike>
[/TD]
[TD]Size:200pg<strike></strike>
[/TD]
[TD]Price:100<strike></strike>
[/TD]
[TD]Vendor:Abooks<strike></strike>
[/TD]
[/TR]
[TR]
[TD]Code:2<strike></strike>
[/TD]
[TD]Name:Pen<strike></strike>
[/TD]
[TD]Size:Standard<strike></strike>
[/TD]
[TD]Price:10<strike></strike>
[/TD]
[TD]Vendor:Abooks<strike></strike>
[/TD]
[/TR]
[TR]
[TD]Code:3<strike></strike>
[/TD]
[TD]Name:Bag<strike></strike>
[/TD]
[TD]Size:Standard<strike></strike>
[/TD]
[TD]Price:250<strike></strike>
[/TD]
[TD]Vendor:TopBags<strike></strike>
[/TD]
[/TR]
</tbody>[/TABLE]