realtoast
New Member
- Joined
- Nov 24, 2015
- Messages
- 47
- Office Version
- 365
- Platform
- Windows
- MacOS
- Mobile
- Web
Experts, I have a table that has a single column containing the full names of all employees and their respective dependents. There's also a unique identifier (Employee Code) that associates all family members. I need a formula in a column to the left of the name column that places the employee's name adjacent to themselves and also adjacent to their family members.
Here's the current table, with no formulas, followed by the desired result.
Here's what it should look like when done:
Here's the current table, with no formulas, followed by the desired result.
Employee Code | EE Name | Name | Relationship |
A5A0 | [formula here] | SMITH, JOHN JACOB | Employee |
A5A0 | SMITH, JENNY | Spouse | |
A5A0 | SMITH, TIMOTHY | Child | |
A5A0 | SMITH, AMY | Child | |
A5A0 | SMITH, GARY M | Child | |
A5A0 | SMITH, LILLYE | Child | |
A1HD | MILLER, SCOTT TIMOTHY | Employee | |
A58K | MARTINEZ, SHELLY | Employee | |
A55X | KELLER, MAXWELL | Employee | |
A59X | JAMES, MARTIN SHORT | Employee | |
A3S4 | CANTELME, JAMES S | Employee | |
A4PP | VIDOR, DARTH | Employee | |
A3AO | MCCMILLAN, SCARLET | Employee | |
A59S | POLLY, TERRENCE | Employee | |
A59S | POLLY, MARY R | Spouse | |
A1M3 | KIMBAL, MICHELLE A | Employee | |
A04D | COLLINGSWORTH, ANDREW T | Employee | |
A04D | COLLINGSWORTH, ELIZABETH | Spouse | |
A04D | COLLINGSWORTH, SAMUEL K | Child | |
A04D | COLLINGSWORTH, EMILY | Child | |
A04D | COLLINGSWORTH, SCOTTY | Child |
Here's what it should look like when done:
Employee Code | EE Name | Name | Relationship |
A5A0 | SMITH, JOHN JACOB | SMITH, JOHN JACOB | Employee |
A5A0 | SMITH, JOHN JACOB | SMITH, JENNY | Spouse |
A5A0 | SMITH, JOHN JACOB | SMITH, TIMOTHY | Child |
A5A0 | SMITH, JOHN JACOB | SMITH, AMY | Child |
A5A0 | SMITH, JOHN JACOB | SMITH, GARY M | Child |
A5A0 | SMITH, JOHN JACOB | SMITH, LILLYE | Child |
A1HD | MILLER, SCOTT TIMOTHY | MILLER, SCOTT TIMOTHY | Employee |
A58K | MARTINEZ, SHELLY | MARTINEZ, SHELLY | Employee |
A55X | KELLER, MAXWELL | KELLER, MAXWELL | Employee |
A59X | JAMES, MARTIN SHORT | JAMES, MARTIN SHORT | Employee |
A3S4 | CANTELME, JAMES S | CANTELME, JAMES S | Employee |
A4PP | VIDOR, DARTH | VIDOR, DARTH | Employee |
A3AO | MCCMILLAN, SCARLET | MCCMILLAN, SCARLET | Employee |
A59S | POLLY, TERRENCE | POLLY, TERRENCE | Employee |
A59S | POLLY, TERRENCE | POLLY, MARY R | Spouse |
A1M3 | KIMBAL, MICHELLE A | KIMBAL, MICHELLE A | Employee |
A04D | COLLINGSWORTH, ANDREW T | COLLINGSWORTH, ANDREW T | Employee |
A04D | COLLINGSWORTH, ANDREW T | COLLINGSWORTH, ELIZABETH | Spouse |
A04D | COLLINGSWORTH, ANDREW T | COLLINGSWORTH, SAMUEL K | Child |
A04D | COLLINGSWORTH, ANDREW T | COLLINGSWORTH, EMILY | Child |
A04D | COLLINGSWORTH, ANDREW T | COLLINGSWORTH, SCOTTY | Child |