Help with if text and auto identify team leaders

%3CLINGO-SUB%20id%3D%22lingo-sub-2766850%22%20slang%3D%22en-US%22%3EHelp%20with%20if%20text%20and%20auto%20identify%20team%20leaders%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2766850%22%20slang%3D%22en-US%22%3EHi%20I%20have%20a%20long%20list%20of%20names%20with%20many%20repeats%20due%20to%20the%20tasks%20they%20do.%20How%20can%20I%20auto%20populate%20the%20Column%20to%20show%20their%20team%20leaders%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20two%20Coloums.%20Are%3CBR%20%2F%3EName%20and%20team%20leader.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20a%20list%20of%20all%20the%20team%20leaders%20and%20who%20is%20in%20their%20team%20on%20a%20different%20sheet.%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you!%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2766850%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2766893%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20with%20if%20text%20and%20auto%20identify%20team%20leaders%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2766893%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1161030%22%20target%3D%22_blank%22%3E%40kaymiah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20please%20share%20some%20file%20with%20raw%20data%3F%20It%20will%20be%20easier%20to%20assist%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2769327%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20with%20if%20text%20and%20auto%20identify%20team%20leaders%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2769327%22%20slang%3D%22en-US%22%3Eyou%20provided%20us%20with%20nine%20names%20and%20two%20team%20leader%20names.%3CBR%20%2F%3EHow%20are%20we%20to%20help%20you%20auto%20populate%20using%20a%20formula%20if%20the%20formula%20has%20nothing%20to%20point%20to%3F%20you%20need%20to%20share%20that%20data%20set%20so%20we%20can%20suggest%20what%20formulas%20to%20use%20to%20make%20your%20life%20a%20bit%20easier%20but%20without%20that%20data%20set%20your%20guess%20is%20as%20good%20as%20ours%3C%2FLINGO-BODY%3E
Occasional Contributor
Hi I have a long list of names with many repeats due to the tasks they do. How can I auto populate the Column to show their team leaders?

The two Coloums. Are
Name and team leader.

I have a list of all the team leaders and who is in their team on a different sheet.

Thank you!
15 Replies

@kaymiah 

Can you please share some file with raw data? It will be easier to assist you.

Please find some example below.
Thank you
you provided us with nine names and two team leader names.
How are we to help you auto populate using a formula if the formula has nothing to point to? you need to share that data set so we can suggest what formulas to use to make your life a bit easier but without that data set your guess is as good as ours

@Yea_So 

 

Please find a data set. To confirm I am after a formula in D2 to auto populate based on the entry in WC column (C) based on the team leader for that person in WC column. This team info is in sheet two.

Hope this is clear. 

Many thanks,

@kaymiah 

 

The two most important columns in sheet1 are non existent.  Are the ID and Team Leaders column unavailable because those columns are the ones that will make your life easier.

Yea_So_0-1632267135896.png

which list are the team leader and how can I tell which one is the team leader for which group?

 

Please elaborate

To elaborate the column C and D are my focus. A and B are purely just information for me.
If you look in sheet 2 you will see the groups and the team leader in bold.
To clarify I’m looking to populate Column D based on the name in column C.

Thank you.

@kaymiah 

 

Here you go:

 

File attached

Much appreciated. This looks brilliant.
Thanks.
For my reference is there a Tutorial on the code used or a link.
Additionally is the file attached above possible to delete as it contains some real data and would appreciate if the code was pasted for any reference.
Many thanks

@kaymiah 

How to use INDEX and MATCH | Exceljet

 

Exceljet has lots of cool and intuitive tutorials you can learn many things from that site.

 

btw this is the main formula:

INDEX(teams[#All],MATCH(C97,teams[[#All],[team member]],0),2)

 

The rest is just to support the main formula

=IF(
ISBLANK(C97),

//Do this//

"Blank",
//Otherwise do this//
IF(
ISNA(INDEX(teams[#All],MATCH(C97,teams[[#All],[team member]],0),2)),

//Then display//
"Not Found",

//Otherwise do the main formula//
INDEX(teams[#All],MATCH(C97,teams[[#All],[team member]],0),2)
)
)

@kaymiah 

 

Here's a tutorial workbook attached

Sorry If I was not clear.
Can you delete all the attachments please in the thread.
Thank you.

@kaymiah 

 

there is nothing to see in this thread except dummy information if you bother to open the attachments

Thank you for clarification and changing the original template.
Thank you again!