Struggling with VLOOKUP: How Can I Copy the Formula to Get Date of Joining?

HRakash
Dear Excel Experts,

In Sheet 2, a VLOOKUP formula has been applied to obtain employee codes from Sheet 1. However, I am unable to copy the same formula to obtain the Date of Joining (DOJ).

Please find the sheet attached and help me to resolve this issue.
1 Attachment(s) [Login To View]

maheshkumar744
You are using the wrong table reference for the lookup. Since you are performing a VLOOKUP based on the Emp code, the table should start from the Emp code column and include the DOJ column in the reference table. The lookup table's first column should contain the value on which you are performing the search. The correct formula would be:

=VLOOKUP(C2, Sheet1!$C$2:$D$51, 2, 0)
If you are knowledgeable about any fact, resource or experience related to this topic - please add your views. For articles and copyrighted material please only cite the original source link. Each contribution will make this page a resource useful for everyone. Join To Contribute