简体   繁体   中英

Populate excel cell value from a different sheet based on value in a column

I have different excel sheets and I am trying to populate values into one sheet from another sheet by comparing the values

Sheet 1 is like below

在此处输入图片说明

Sheet 2 has below columns

在此处输入图片说明

Now if the name is same, I want to populate Email & Mobile to Sheet 1 from Sheet 2

I tried using VLOOKUP, but I am not able to get the syntax right. Any help is appreciated.

Hope my question is clear, please feel free to drop in a comment if you need any clarification, thanks

for the email:

=vlookup(a2, sheet2!A:C, 2, false)

for the Mobile #:

=vlookup(a2, sheet2!A:C, 3, false)

这就是Sheet1的样子

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM