小编ara*_*den的帖子

比较两列,并在Excel中返回特定的相邻单元格

我使用的是组合的if,vlookup,match,iserror功能,可惜我一直没能找到合适的配方.

比较两列匹配很容易.一旦找到匹配,困难部分就会返回特定的细胞.

所以我正在处理的是这样的事情:

Header     Column A   Column B   Column C  Column D
Row 1      111        AAA        112
Row 2      222        BBB        111
Row 3      333        CCC        221
Row 4      444        DDD        333
Run Code Online (Sandbox Code Playgroud)

我试图在匹配列值Column A,用Column C.所以,如果匹配,我希望Column B填入相应的值Column D.这不是一个很好的解释,但请允许我直观地向您展示我正在寻找的东西

Header     Column A   Column B   Column C  Column D
Row 2      111        AAA        112
Row 3      222        BBB        111       AAA
Row 4      333        CCC        221
Row 5 …
Run Code Online (Sandbox Code Playgroud)

excel formulas vlookup excel-match

6
推荐指数
1
解决办法
20万
查看次数

标签 统计

excel ×1

excel-match ×1

formulas ×1

vlookup ×1