I have two sheets as below.
Sheet1:
Sno Emp ID Name Address 1 101 X. ? 2 01 Y. ?
Sheet2:
Sno Emp ID Name Address 1 10 D. XX 2 101 X. YY
I need that address in Sheet2 in Sheet1 address column.
Please help me out.
If you want the Home Address of the Employee:
Use the:
VLOOKUP( lookup ref, table ref search, result col, match )
= vlookup(B2, table-sheet2, 2nd column, exact match)
= vlookup(employee ID 101, table on sheet2, Name, exact match)
C2: Name Search, referencing the Employee ID, to TABLE
=VLOOKUP(B2,Sheet2!$B$2:$D$5,2,FALSE), for Name Search ref, Emp.ID
D2: Address Search, referenceing the Employee ID, to TABLE
=VLOOKUP(B2,Sheet2!$B$2:$D$5,3,FALSE)
Note: It's necessary to use the static notation $B$2:$D$5 for copy/paste functionality so that you can paste the formula to the cells in the column; else if you use dynamic notation B2:D5, the next cell will search B3:D6, then B4:D7, and so on, and that's unintended. The TABLE must be in, it is assumed by EXCEL, alphabetical/numeric order!
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다