multiple column matching using vlookup
I have 2 spreadsheets. I want to exactly match from 1st column (having activity code)and 2nd column (having names) of 1st spreadsheet with corresponding columns of second spreadsheet and transfer value in a column of 1st spreadsheet from corresponding row in second spreadsheet. I tried to use vlookup but not getting proper result as 1st column has some activity code against which there are multiple names in 2nd column and also some names has more than one activity code attached.
Please give reply immediately.
Prashant