Whenever you have to match the column records of two sheets, VLOOKUP can be useful for the same. It can be used as follows:
Sheet 1:
Column A
Clmn. A: Name Clmn B: Age
A =VLOOKUP(A1, Sheet2!A1:C3, 3, 0)
B
C
Sheet 2:
Clmn. A: Name Clmn B: DOB Clmn C: Age
C
B
A
Explanation:
VLOOKUP(A1, Sheet2!A1:C3, 3, 0)
- A1:C3 = Existing Sheet range, based on which details, required data should be retrieved.
- Sheet2: Select the sheet from where you need to fetch the data.
- A1:C3: Entire Range from where data should be fetched (A=Name, B=DOB, C=Age).
- 3: Number of the column where the data is mentioned (i.e., Age).
- 0: Default
It's confusing, but you may try.
Thanks,
Ankita