Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel - Conditional results -

Status
Not open for further replies.
Aug 19, 2003
17
GB
Right, what I am trying to do is this.

Data is already in Excel.

I have 30 users that each process transactions that have their user name attached.

each user belongs to one of five teams.

I need a new column that shows the team that a user belongs to based on their name.

I have been playing with nested IF statements and have something that works up to the five names that I have done so far but this seems really cumbersome.

Cheers

KiwiRiccardo
Can anyone help????
 
Have a table with usernames in one column and team in the next column.

In the field you want the team name, do a vlookup for an exact match.

Blue
 
Hi,

On a new sheet enter a column fo names and a column of the name's related team.

Then on your original sheet a new column for team with formula
Code:
=VLOOKUP(A1,NewSheet!A$1$:B$30$,2,False)
assuming that A1 contains the first name and NewSheet is the name of your new sheet...

and copy down

VOLA! :)

Skip,
Skip@TheOfficeExperts.com
 
Use the vlookup function

the following is general syntax


=vlookup(name_cell_ref,absolute_ref_of_lookup_list,2)

...the 2 assumes that your lookup list has 2 columns and that names are in col 1 and team is in col 2
 
bluedragon2, SkipVought, ETID, Thanks for your help on this one. So easy when you know how!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top