是否可以进行 vlookup 搜索前 8 个字符和后 2 个字符?
Is it possible to do a vlookup searching for the first 8 characters and the last 2 characters?
对于 post 中的任何错误,我深表歉意,因为我是新手。基本上我正在尝试进行 vlook up 搜索单个字符串的前 8 个字符和最后 2 个字符,即。 (20.5/020/025/IE)。我用如图所示的左右公式分隔了我需要的东西,它工作正常,结果如下所示
=LEFT(A2,FIND("/",A2)+3)& RIGHT(A2,FIND("/",A2)-2)
First 8 Last 2
Result 20.5/010/ IE
What im searching 20.5/020/025/IE
现在我不知道如何进行部分 vlookup 以匹配以前 8 位开头并以最后 2 位结尾的值。任何帮助将不胜感激。
谢谢
MATCH 允许使用通配符,所以使用这样的东西:
=INDEX(B:B,MATCH("THIS IS " & "*" & "CC",A:A,0))
对于 post 中的任何错误,我深表歉意,因为我是新手。基本上我正在尝试进行 vlook up 搜索单个字符串的前 8 个字符和最后 2 个字符,即。 (20.5/020/025/IE)。我用如图所示的左右公式分隔了我需要的东西,它工作正常,结果如下所示
=LEFT(A2,FIND("/",A2)+3)& RIGHT(A2,FIND("/",A2)-2)
First 8 Last 2
Result 20.5/010/ IE
What im searching 20.5/020/025/IE
现在我不知道如何进行部分 vlookup 以匹配以前 8 位开头并以最后 2 位结尾的值。任何帮助将不胜感激。 谢谢
MATCH 允许使用通配符,所以使用这样的东西:
=INDEX(B:B,MATCH("THIS IS " & "*" & "CC",A:A,0))