VLOOKUP vs INDEX

前端 未结 3 861
别跟我提以往
别跟我提以往 2020-12-04 00:45

In Excel, I\'m trying to do the following:

Where sheet1 column 1 = sheet2 column 2, return the value in sheet2 column D

3条回答
  •  旧巷少年郎
    2020-12-04 01:21

    The INDEX/MATCH function pair should look like this.

    =INDEX(sheet2!D:D, MATCH(sheet1!A1, sheet2!B:B, 0))
    

提交回复
热议问题