Excel – Compare 2 columns in Excel and copy data from 3rd column

microsoft excelmicrosoft-excel-2010

I'm trying to compare 2 columns that don't have the same size (one has 205 entries, the other 440) and if the data from column B matches the data in column A, the data from column C must be copied in column D at the same level of the entry that matched in column A. How can I do this?

Please let me know if you need more info. I don't know how to copy part of the sheet in order for you to get an exact idea of what I'm talking about.

Stefan

Best Answer

Sounds like a Lookup problem

Assuming Column A is the column with 205 entries and your data has headers:

in Cell D2 use a vlookup formula:

= VLOOKUP(A2, $B$2:$C$440, 2, FALSE)

Copy down this formula to D205

et voila

Related Question