You want to use the VLOOKUP function
First argument is the value you are looking up.
Second argument is the entire table you want to include. The column you are searching in MUST be the left-most column in that range.
The third value is the column index, in the second argument, that you want to return.
Fourth value specifies whether you want it to do an approximate match or not. So:
=VLOOKUP(A2,Sheet1!A:C,3,FALSE)
Searches for an exact match for the value in A2, in the leftmost column of columns A through C in Sheet 1 and returns the corresponding value in the the third column of columns A through C in Sheet 1.
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.