intil | lwp | owp | training | black brink | photo ark | edge fellows | bci | rhino | ocean | arcitic | |
barbara | x | x | x | ||||||||
barbara | x | x | x | x | |||||||
barbara | x | x | x | ||||||||
adam | x | x | x | x | |||||||
adam | x | x | x | ||||||||
adam | x | x | x | ||||||||
adam | x | x | |||||||||
<tbody>
</tbody>
and here my question is i need to display all x in a one column and names have duplicates where ever x is there i have to display top most
expected table
intil | lwp | owp | training | black brink | photoark | edge fellows | bci | rhino | ocean | arctic | |
barbara | x | x | x | x | x | x | x | ||||
barbara | |||||||||||
barbara |
<tbody>
</tbody>