Hello, I am relatively new to excel. I want to create a function that will search for a name and result the heading (team).
[TABLE="width: 290"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]Capitals[/TD]
[TD]Wizards[/TD]
[TD]Nationals[/TD]
[TD]Redskins[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Corey[/TD]
[TD]Hannah[/TD]
[TD]Test1[/TD]
[/TR]
[TR]
[TD]Mike[/TD]
[TD]Amy[/TD]
[TD]Test3[/TD]
[TD]Test2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Each heading will have around 10 users.
An example of the end result that I want is insert corey into a cell and have it output the team corey is on[TABLE="width: 500"]
<tbody>[TR]
[TD]User[/TD]
[TD]Team[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 290"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]Capitals[/TD]
[TD]Wizards[/TD]
[TD]Nationals[/TD]
[TD]Redskins[/TD]
[/TR]
[TR]
[TD]James[/TD]
[TD]Corey[/TD]
[TD]Hannah[/TD]
[TD]Test1[/TD]
[/TR]
[TR]
[TD]Mike[/TD]
[TD]Amy[/TD]
[TD]Test3[/TD]
[TD]Test2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Each heading will have around 10 users.
An example of the end result that I want is insert corey into a cell and have it output the team corey is on[TABLE="width: 500"]
<tbody>[TR]
[TD]User[/TD]
[TD]Team[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]