hello,
I ve a spreadsheet in following format and looking to merge columns and make it to single.
Current:
[TABLE="width: 500"]
<tbody>[TR]
[TD]User[/TD]
[TD]Location[/TD]
[TD]Vendor[/TD]
[TD]CBOT[/TD]
[TD]CME[/TD]
[TD]NYMEX[/TD]
[TD]COMEX[/TD]
[/TR]
[TR]
[TD]Brian Hoyer[/TD]
[TD]New York[/TD]
[TD]CQG[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sydney Chen[/TD]
[TD]Los Angeles[/TD]
[TD]CQG[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Ram Nivas[/TD]
[TD]Dallas[/TD]
[TD]CQG[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Desire Output
if cbot or cme or nymex or comex has '1' then i want data in following format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]User[/TD]
[TD]Location[/TD]
[TD]Exchange[/TD]
[TD]Vendor[/TD]
[/TR]
[TR]
[TD]Brian Hoyer[/TD]
[TD]New York[/TD]
[TD]CBOT[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Brian Hoyer[/TD]
[TD]New York[/TD]
[TD]NYMEX[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Sydney Chen[/TD]
[TD]Los Angeles[/TD]
[TD]CME[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Sydney Chen[/TD]
[TD]Los Angeles[/TD]
[TD]NYMEX[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Sydney Chen[/TD]
[TD]Los Angeles[/TD]
[TD]COMEX[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Ramn Nivas[/TD]
[TD]Dallas[/TD]
[TD]CBOT[/TD]
[TD]CQG[/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance for your help
I ve a spreadsheet in following format and looking to merge columns and make it to single.
Current:
[TABLE="width: 500"]
<tbody>[TR]
[TD]User[/TD]
[TD]Location[/TD]
[TD]Vendor[/TD]
[TD]CBOT[/TD]
[TD]CME[/TD]
[TD]NYMEX[/TD]
[TD]COMEX[/TD]
[/TR]
[TR]
[TD]Brian Hoyer[/TD]
[TD]New York[/TD]
[TD]CQG[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sydney Chen[/TD]
[TD]Los Angeles[/TD]
[TD]CQG[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Ram Nivas[/TD]
[TD]Dallas[/TD]
[TD]CQG[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Desire Output
if cbot or cme or nymex or comex has '1' then i want data in following format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]User[/TD]
[TD]Location[/TD]
[TD]Exchange[/TD]
[TD]Vendor[/TD]
[/TR]
[TR]
[TD]Brian Hoyer[/TD]
[TD]New York[/TD]
[TD]CBOT[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Brian Hoyer[/TD]
[TD]New York[/TD]
[TD]NYMEX[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Sydney Chen[/TD]
[TD]Los Angeles[/TD]
[TD]CME[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Sydney Chen[/TD]
[TD]Los Angeles[/TD]
[TD]NYMEX[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Sydney Chen[/TD]
[TD]Los Angeles[/TD]
[TD]COMEX[/TD]
[TD]CQG[/TD]
[/TR]
[TR]
[TD]Ramn Nivas[/TD]
[TD]Dallas[/TD]
[TD]CBOT[/TD]
[TD]CQG[/TD]
[/TR]
</tbody>[/TABLE]
Thanks in advance for your help