简体   繁体   English

VLookup不完全匹配

[英]VLookup without an exact match

Consider I have following values in Workbook1 (disregard the quotes): 考虑我在Workbook1中具有以下值(忽略引号):

Cell A1 - "C123 - Description"
Cell B1 - "Input"
Cell C1 - "Output"
Cell D1 - "Change"

Now, Workbook2 has 现在,Workbook2具有

Cell A1 - "C123"

Question: 题:

How do I do a vlookup in Workbook2 for "C123" from Workbook1 since "C123" is not "C123 - Description" ie both the A1 values are not exact? 我如何在Workbook2中针对Workbook1中的“ C123”执行vlookup,因为“ C123”不是“ C123-描述”,即两个A1值都不准确?

Please let me know if I need to be more clear with my question 请让我知道是否需要进一步说明我的问题

使用通配符:

=VLOOKUP(A1 & " *",Sheet2!A:D,4,FALSE)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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