Excel – Compare Excel sheet column data, then fill data to column next if any match

excelvlookup

I have two excel sheets which I want to compare values of Column A, and fill values of column B from Sheet1 to Sheet2 if match

I want to check if any Value in Sheet1 Column A, matches any Value in Sheet2 Column A. Then copy values of cell on the right of the match (column B) of Sheet1, to Column B, Cell next to the match in Sheet2.

Values in Column A, Sheet1, are unique numbers in random Order.
Values in Column A, Sheet2, may match numbers of sheet1, in random Order.

Example

Steet1, Cell A2, has number of product, let's say "nn00" and Cell B2 has the Price of thet product, let's say 100€.

So what I need is, if there is product "nn00" found in Column A, cell A17, of Sheet2, to fill the price in B17, as found in Sheet1

Best Answer

You probably want to use a normal

=vlookup(A2;'Sheet2'!A:B;2;0)

?

Edit

I tried to give you an answer that you can copy&paste for your solution (assuming "Sheet2" has the Name "Sheet2"). If you want to know how the function works, you can look here: https://support.office.com/en-in/article/VLOOKUP-function-0bbc8083-26fe-4963-8ab8-93a18ad188a1

Related Topic