Similar to the vlookup solution that does rows, I am interested to lookup rows and display as columns. (all matches)
INPUT
<tbody>
StaffType
StaffMember
Manager
Jane
Worker
John
Worker
Tom
Manager
****
Worker
Harry
Worker
Bob
Worker
Joe
</tbody>
DESIRED OUTPUT
<tbody>...