Hi,
I have searched and found code but none seem to work...
Let's assume the following from a dummy table: Sheet = 'Users'
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Name[/TD]
[TD]Empl ID[/TD]
[TD]Manager[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Mark[/TD]
[TD]00001[/TD]
[TD]Manager 1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Sue[/TD]
[TD]00002[/TD]
[TD]Manager 2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Joe[/TD]
[TD]00003[/TD]
[TD]Manager 3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Mary[/TD]
[TD]00004[/TD]
[TD]Manager 2[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Jeffrey[/TD]
[TD]00005[/TD]
[TD]Manager 1[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Eddy[/TD]
[TD]00006[/TD]
[TD]Manager 2[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Henry[/TD]
[TD]00007[/TD]
[TD]Manager 1[/TD]
[/TR]
</tbody>[/TABLE]
Goal(s):
1) Get User/Employee details using Empl ID as the Lookup.
I have a sheet 'Manager Lookup' that get's details based on "Empl ID"(B1) below, from the above table 'Users' using various Vlookups (to get- Name, Empl ID, Manager,...etc)
Sheet = 'Manager Lookup'
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Empl#:[/TD]
[TD]00002[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Username:[/TD]
[TD]Sue[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Manager:[/TD]
[TD]Manager 2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
2) Using the data pulled via Vlookup to get the Manager in (B3) for the Username in (B2) as a New Lookup Field...
Populate a Column of ALL the Employees that fall under that Manager i.e. "Manager 2"
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD]Employees[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD]Sue[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]Mary[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]Eddy[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like this without using VBA.
Thanks.
I have searched and found code but none seem to work...
Let's assume the following from a dummy table: Sheet = 'Users'
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Name[/TD]
[TD]Empl ID[/TD]
[TD]Manager[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Mark[/TD]
[TD]00001[/TD]
[TD]Manager 1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Sue[/TD]
[TD]00002[/TD]
[TD]Manager 2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Joe[/TD]
[TD]00003[/TD]
[TD]Manager 3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Mary[/TD]
[TD]00004[/TD]
[TD]Manager 2[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Jeffrey[/TD]
[TD]00005[/TD]
[TD]Manager 1[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Eddy[/TD]
[TD]00006[/TD]
[TD]Manager 2[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]Henry[/TD]
[TD]00007[/TD]
[TD]Manager 1[/TD]
[/TR]
</tbody>[/TABLE]
Goal(s):
1) Get User/Employee details using Empl ID as the Lookup.
I have a sheet 'Manager Lookup' that get's details based on "Empl ID"(B1) below, from the above table 'Users' using various Vlookups (to get- Name, Empl ID, Manager,...etc)
Sheet = 'Manager Lookup'
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Empl#:[/TD]
[TD]00002[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Username:[/TD]
[TD]Sue[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Manager:[/TD]
[TD]Manager 2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
2) Using the data pulled via Vlookup to get the Manager in (B3) for the Username in (B2) as a New Lookup Field...
Populate a Column of ALL the Employees that fall under that Manager i.e. "Manager 2"
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD]Employees[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD]Sue[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]Mary[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]Eddy[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like this without using VBA.
Thanks.