bb19august
New Member
- Joined
- Feb 1, 2019
- Messages
- 18
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Car[/TD]
[TD]Bus[/TD]
[TD]Train[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]Car, Bus[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]Bus, Train[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]No[/TD]
[TD]Car, Train[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]Car, Bus[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]Yes[/TD]
[TD]Car, Train[/TD]
[/TR]
</tbody>[/TABLE]
Request your help to have a formula in excel to get a result as shown above. Cells could have numbers or blanks or text. if there is any number/text in any cell(s)the header(s) has to copied and concatenated and separated by comma.
<tbody>[TR]
[TD]Car[/TD]
[TD]Bus[/TD]
[TD]Train[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]Car, Bus[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]Bus, Train[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD]No[/TD]
[TD]Car, Train[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]Car, Bus[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]Yes[/TD]
[TD]Car, Train[/TD]
[/TR]
</tbody>[/TABLE]
Request your help to have a formula in excel to get a result as shown above. Cells could have numbers or blanks or text. if there is any number/text in any cell(s)the header(s) has to copied and concatenated and separated by comma.