Cross referencing columns

F

fgwiii

Hello,

I have 3 columns of values. Column A contains Subject IDs, Column B contains
the initials for those subjects. Column C contains a smaller list of just
Subject IDs.

What I would like to do is to match all of the Subject IDs in columns A & C
and where ever the Subject IDs match, place (or copy) the values that are
currently in column B into column D.

Normally I would do this is Access via a query, but I am curious if is
possible in Excel.

Thanks

Fred
 
D

David Billigmeier

Do you mean the subject ID's in column C are a subset of column A? So you
want to match each subject ID in column C to Column A and pull the
corresponding initial from column B?

Sounds like a VLOOKUP() will work for you. Assuming your data begins in row
1, in D1 enter the following formula and drag down:
=VLOOKUP(C1,$A$1:$B$1000,2,FALSE)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top