考虑同一 Excel 文档中的以下 2 个工作表:
sheet1:
A B C
1 Extension File Type File Description
2 .a01
3 .a1wish
4 .a2m
sheet2:
A B C
1 Extension File Type File Description
2 .a Developer Static Library
3 .a00 Compressed ALZip Second Split Archive File
4 .a01 Compressed ALZip Third Split Archive File
5 .a02 Compressed ALZip Fourth Split Archive File
6 .a1wish Data Audials Wishlist File
7 .a26 Game Atari 2600 ROM
8 .a2c 3D Image Alice Object File
9 .a2l CAD ASAP2 ECU Description File
10 .a2m Audio AdLib Tracker 2 File
我需要sheet1.B2 : sheet1.C4
用取自的值填充单元格sheet2
。因此,例如sheet1.row2
必须根据.a01
扩展名填写:
A B C
1 Extension File Type File Description
2 .a01 Compressed ALZip Third Split Archive File
我想我需要VLOOKUP
这个,但不知道如何应用它。现在=VLOOKUP(A2;Sheet2!A2:C10;1)
用于单元格Sheet1.B2
并将其向右和向下拉。我得到了价值,但价值错误!例如,Sheet1.row2
现在看起来像
A B C
1 Extension File Type File Description
2 .a01 Compressed AdLib Tracker 2 File