JimSpringer
New Member
- Joined
- Apr 17, 2019
- Messages
- 4
I have a list generated from another program of all of the locations one person worked at. It looks like this. The order of the locations is listed randomly:
<tbody>
</tbody>
I was able to get it into a format like this:
<tbody>
</tbody>
What I need to generate is a list like this one:
<tbody>
</tbody>
Ideally, I would generate it from the first table, without having to make the second one. I am stuck, however, on how to make this happen. It seems like it should be simple, but I can't get it to work. Asking for help.
Gary | Linda | Marissa | Brad | Xavier |
Lincoln | Wausau | Annapolis | Laredo | Bethesda |
Laredo | Bethesda | Waco | Annapolis | |
St Louis | Wausau | |||
<tbody>
</tbody>
I was able to get it into a format like this:
Brad | Gary | Linda | Marissa | Xavier | |
Annapolis | NO | NO | NO | YES | YES |
Bethesda | NO | NO | NO | YES | YES |
Laredo | YES | YES | NO | NO | NO |
Lincoln | NO | YES | NO | NO | NO |
St Louis | NO | YES | NO | NO | NO |
Waco | YES | NO | NO | NO | NO |
Wausau | NO | NO | YES | NO | YES |
<tbody>
</tbody>
What I need to generate is a list like this one:
Annapolis | Bethesda | Laredo | Lincoln | St Louis | Waco | Wausau |
Marissa | Marissa | Brad | Gary | Gary | Brad | Linda |
Xavier | Xavier | Gary | Xavier | |||
<tbody>
</tbody>
Ideally, I would generate it from the first table, without having to make the second one. I am stuck, however, on how to make this happen. It seems like it should be simple, but I can't get it to work. Asking for help.