Dear all
I need to search several folders for a match on names taken from a namelist, and then display the department name of the folde the name was found in.
Namelist[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Department
[/TD]
[/TR]
[TR]
[TD]Tina
[/TD]
[/TR]
[TR]
[TD]Kim
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Lars
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Bo
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Sheet 1 (value listed in A1 is department)
[TABLE="width: 500"]
<tbody>[TR]
[TD]JUR
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Name
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Tina
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Lars
[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2 (value listed in A1 is department)[TABLE="width: 500"]
<tbody>[TR]
[TD]FIN
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Name
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Kim
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Bo
[/TD]
[/TR]
</tbody>[/TABLE]
I have tried Vlookup and search, but can't get them to work.
Please help me
Thank you for takeing the time
I need to search several folders for a match on names taken from a namelist, and then display the department name of the folde the name was found in.
Namelist[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Department
[/TD]
[/TR]
[TR]
[TD]Tina
[/TD]
[/TR]
[TR]
[TD]Kim
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Lars
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Bo
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Sheet 1 (value listed in A1 is department)
[TABLE="width: 500"]
<tbody>[TR]
[TD]JUR
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Name
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Tina
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Lars
[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2 (value listed in A1 is department)[TABLE="width: 500"]
<tbody>[TR]
[TD]FIN
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Name
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Kim
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Bo
[/TD]
[/TR]
</tbody>[/TABLE]
I have tried Vlookup and search, but can't get them to work.
Please help me
Thank you for takeing the time