DanniiMarie
New Member
- Joined
- May 21, 2018
- Messages
- 30
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
- 2003 or older
- Platform
- Windows
- MacOS
- Mobile
- Web
I have a list of employees and their manager's names. I need to consolidate the list so each manager name appears only once in column A and each employee is in a column to the right of the manager name. Ideally, the employees' names would be alphabetized from left to right, as well.
Here is a sample raw data set:
<tbody>
</tbody>
Here is what I'd like the final data set to look like:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Manager Name[/TD]
[TD]Employee1[/TD]
[TD]Employee2[/TD]
[TD]Employee3[/TD]
[TD]Employee4[/TD]
[TD]Employee5[/TD]
[/TR]
[TR]
[TD]Benni Lait[/TD]
[TD][TABLE="width: 141"]
<tbody>[TR]
[TD="class: xl65, width: 141"]Bonnee Plaunch[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 140"]
<tbody>[TR]
[TD="class: xl65, width: 140"]Rosabel Bourdis[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
<tbody>
</tbody>[/TD]
[TD]
<tbody>
</tbody>[/TD]
[TD]Catarina Francescozzi[/TD]
[TD]Dory Fayne[/TD]
[TD]Quint Minette[/TD]
[TD]Stefania Shute[/TD]
[/TR]
[TR]
[TD]
<tbody>
</tbody>[/TD]
[TD]Josy Jereatt[/TD]
[TD]
<tbody>
</tbody>[/TD]
[TD]Vanny Jell[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Augusto Lampett[/TD]
[TD]Averill Colbran[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cort Haslock[/TD]
[TD]April MacGeffen[/TD]
[TD]Clive Corain[/TD]
[TD]Marcelo Dumsday[/TD]
[TD]Trueman Poolton[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Moll Branscombe[/TD]
[TD]Tine Cardello[/TD]
[TD]Zarla Melmore[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I get a different data set like this each week and I'd like a less manual method to accomplish this task than what I've been using. Thanks!
Here is a sample raw data set:
Manager Name | Employee Name |
Cort Haslock | April MacGeffen |
Augusto Lampett | Averill Colbran |
Leta Bilson | Betteanne Christescu |
Benni Lait | Bonnee Plaunch |
Leta Bilson | Catarina Francescozzi |
Cort Haslock | Clive Corain |
Leta Bilson | Dory Fayne |
Joana Imeson | Josy Jereatt |
Cort Haslock | Marcelo Dumsday |
Joana Imeson | Nance Broadbury |
Leta Bilson | Quint Minette |
Benni Lait | Rosabel Bourdis |
Leta Bilson | Stefania Shute |
Moll Branscombe | Tine Cardello |
Cort Haslock | Trueman Poolton |
Joana Imeson | Vanny Jell |
Moll Branscombe | Zarla Melmore |
<tbody>
</tbody>
Here is what I'd like the final data set to look like:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Manager Name[/TD]
[TD]Employee1[/TD]
[TD]Employee2[/TD]
[TD]Employee3[/TD]
[TD]Employee4[/TD]
[TD]Employee5[/TD]
[/TR]
[TR]
[TD]Benni Lait[/TD]
[TD][TABLE="width: 141"]
<tbody>[TR]
[TD="class: xl65, width: 141"]Bonnee Plaunch[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 140"]
<tbody>[TR]
[TD="class: xl65, width: 140"]Rosabel Bourdis[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Leta Bilson |
<tbody>
</tbody>
[TD]
Betteanne Christescu |
<tbody>
</tbody>
[TD]Catarina Francescozzi[/TD]
[TD]Dory Fayne[/TD]
[TD]Quint Minette[/TD]
[TD]Stefania Shute[/TD]
[/TR]
[TR]
[TD]
Joana Imeson |
<tbody>
</tbody>
[TD]Josy Jereatt[/TD]
[TD]
Nance Broadbury |
<tbody>
</tbody>
[TD]Vanny Jell[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Augusto Lampett[/TD]
[TD]Averill Colbran[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cort Haslock[/TD]
[TD]April MacGeffen[/TD]
[TD]Clive Corain[/TD]
[TD]Marcelo Dumsday[/TD]
[TD]Trueman Poolton[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Moll Branscombe[/TD]
[TD]Tine Cardello[/TD]
[TD]Zarla Melmore[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I get a different data set like this each week and I'd like a less manual method to accomplish this task than what I've been using. Thanks!