Hi,
A sample spreadsheet of what I have is provided below:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID NUMBER[/TD]
[TD]CHEMICAL NAME[/TD]
[TD]HAZARD[/TD]
[TD]VALUE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]carcinogen[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]Respiratory, blood, kidney[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]chemical b[/TD]
[TD]immunotoxic, carcinogen[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]chemical c[/TD]
[TD]liver, carcinogen[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]chemical d[/TD]
[TD]kidney[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]chemical d[/TD]
[TD]neurotoxic[/TD]
[TD]suspected[/TD]
[/TR]
</tbody>[/TABLE]
Only the words 'recognized' or 'suspected' can be entered into the VALUE column and hazards that are either recognized or suspected of being caused by that chemical in that row are listed in the HAZARD column. I need to have a separate entry for each hazard, like the following table, using the same chemicals as above:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]CAS NUMBER[/TD]
[TD]CHEMICAL NAME[/TD]
[TD]HAZARD[/TD]
[TD]VALUE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]carcinogen[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]respiratory[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]blood[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]kidney[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]chemical b[/TD]
[TD]immunotoxic[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]chemical b[/TD]
[TD]carcinogen[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]chemical c[/TD]
[TD]liver[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]3 [/TD]
[TD]chemical c[/TD]
[TD]carcinogen[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]chemical d [/TD]
[TD]kidney[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]chemical d[/TD]
[TD]neurotoxic[/TD]
[TD]suspected[/TD]
[/TR]
</tbody>[/TABLE]
How can I create a new row for each comma-separated hazard?
Thank you in advance
A sample spreadsheet of what I have is provided below:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ID NUMBER[/TD]
[TD]CHEMICAL NAME[/TD]
[TD]HAZARD[/TD]
[TD]VALUE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]carcinogen[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]Respiratory, blood, kidney[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]chemical b[/TD]
[TD]immunotoxic, carcinogen[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]chemical c[/TD]
[TD]liver, carcinogen[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]chemical d[/TD]
[TD]kidney[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]chemical d[/TD]
[TD]neurotoxic[/TD]
[TD]suspected[/TD]
[/TR]
</tbody>[/TABLE]
Only the words 'recognized' or 'suspected' can be entered into the VALUE column and hazards that are either recognized or suspected of being caused by that chemical in that row are listed in the HAZARD column. I need to have a separate entry for each hazard, like the following table, using the same chemicals as above:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]CAS NUMBER[/TD]
[TD]CHEMICAL NAME[/TD]
[TD]HAZARD[/TD]
[TD]VALUE[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]carcinogen[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]respiratory[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]blood[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]chemical a[/TD]
[TD]kidney[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]chemical b[/TD]
[TD]immunotoxic[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]chemical b[/TD]
[TD]carcinogen[/TD]
[TD]suspected[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]chemical c[/TD]
[TD]liver[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]3 [/TD]
[TD]chemical c[/TD]
[TD]carcinogen[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]chemical d [/TD]
[TD]kidney[/TD]
[TD]recognized[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]chemical d[/TD]
[TD]neurotoxic[/TD]
[TD]suspected[/TD]
[/TR]
</tbody>[/TABLE]
How can I create a new row for each comma-separated hazard?
Thank you in advance