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 Help

Status
Not open for further replies.

mattm31

Technical User
Mar 9, 2005
79
GB
I know this will be easy for most of you but i cant seem to get my head round it this morning,

I have column A filled with numbers and column C with numbers in it. I want to compare A with C and if it finds a match in the range fill column B with the contents of column D.

Thanks for your help

 
just an update on this because i dont think i was very clear the part i'm having problems with is If i find a match to A1 in C3 how do i get it to copy the contents of D3 to B1
 
hi,

If i find a match to A1 in C3 how do i get it to copy the contents of D3 to B1

INDEX() & MAtch() OR VLOOKUP()

[tt]
=INDEX(D:D,MATCH(A1,B:B,0),1)

or

=VLOOKUP(A1,B:D,3,false)
[/tt]
Look in Excel HELP for the documentation in each of these spreadsheet functions. These are basic functions that you ought to understand what they do, how they do it and under what conditions they are best used.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top