bb19august
New Member
- Joined
- Feb 1, 2019
- Messages
- 18
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]TESTF1[/TD]
[TD]TESTF2[/TD]
[TD]TESTF3[/TD]
[TD]TESTF4[/TD]
[TD]TESTR1[/TD]
[TD]TESTR2[/TD]
[TD]TESTR3[/TD]
[TD]TESTR4[/TD]
[TD]RESULT[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]YES[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD]YES[/TD]
[TD]F1, F3, R1, R3, R4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]NO[/TD]
[TD][/TD]
[TD]NO[/TD]
[TD][/TD]
[TD]NO[/TD]
[TD]NO[/TD]
[TD][/TD]
[TD][/TD]
[TD]NO RESULT[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]NO RESULT[/TD]
[/TR]
</tbody>[/TABLE]
Need help with a formula or function to get a result, if the cell has "YES" or any specific text/NUMBER (above eg. "YES"), which concatenates the header names after trimming it to last two characters and separated by comma and a space.
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]TESTF1[/TD]
[TD]TESTF2[/TD]
[TD]TESTF3[/TD]
[TD]TESTF4[/TD]
[TD]TESTR1[/TD]
[TD]TESTR2[/TD]
[TD]TESTR3[/TD]
[TD]TESTR4[/TD]
[TD]RESULT[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]YES[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD]NO[/TD]
[TD]YES[/TD]
[TD]YES[/TD]
[TD]F1, F3, R1, R3, R4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]NO[/TD]
[TD][/TD]
[TD]NO[/TD]
[TD][/TD]
[TD]NO[/TD]
[TD]NO[/TD]
[TD][/TD]
[TD][/TD]
[TD]NO RESULT[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]NO RESULT[/TD]
[/TR]
</tbody>[/TABLE]
Need help with a formula or function to get a result, if the cell has "YES" or any specific text/NUMBER (above eg. "YES"), which concatenates the header names after trimming it to last two characters and separated by comma and a space.