All Microsoft Excel Experts Read Here Please.

Voodoo

Senior Member
Joined
Apr 30, 2005
Messages
841
Reaction score
55
Good day.

I have the following Excel problem. Can you help?

Example:

...Math Science Biology
A Dave Pete John
B Mary Cate Dave
C Jack Dave Bob

How can I have excel give me all the subjects as well as classes that Dave teaches ie. Math(A), Biology(C) and Science(B)

Thanks in advance.
Voodoo
 
Use the lookup function:

=LOOKUP("Dave",B2:D2,$A$2:$A$4)

Assuming your table is in the top most corner of the workbook, and go from there
 
Top
Sign up to the MyBroadband newsletter
X