Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two Excel 2007 sheets A,B with the same columns.

B contains less rows, but has a column with updated data (i.e. data in this column is newer than in the same column in A). I want to take every row in B, find the corresponding row in A (through a unique key, f.e. column C1) and update the value of the column with the updated version from B.


A           B   
C1 C2 C3    C1 C2 C3
1  2  3     1  2  99
2  6  7


A           B   
C1 C2 C3    C1 C2 C3
1  2  99    1  2  99
2  6  7

How could I achieve this?

share|improve this question
up vote 3 down vote accepted

You could use VLOOKUP to initially populate the data, then copy values onto a new sheet to remove the reference.

share|improve this answer
Thanks, it worked very well. In German versions of Excel, the function is called SVERWEIS. – p.vitzliputzli Apr 23 '12 at 20:21

you can use the Vlookup or the If functions

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.