I want to return the column headings for each x in a record (row) I can find the first using index and match but not subsequent column headings.
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]ad[/TD]
[TD]ae[/TD]
[TD]af[/TD]
[TD]ag[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]edu[/TD]
[TD]chat[/TD]
[TD]human[/TD]
[TD]footprint[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
here i need to display header value(edu,chat,...)where ever x value is there and display header value in another column
how to write the formula
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]ad[/TD]
[TD]ae[/TD]
[TD]af[/TD]
[TD]ag[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]edu[/TD]
[TD]chat[/TD]
[TD]human[/TD]
[TD]footprint[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[TD]x[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD]x[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]x[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
here i need to display header value(edu,chat,...)where ever x value is there and display header value in another column
how to write the formula