简体   繁体   English

部分匹配索引匹配多个标准

[英]Partial Match Index Match Multiple Criteria

i have formula, that i want to find anything that starts with 80 such as 80E or 80M. 我有公式,我想找到任何以80开头的东西,如80E或80M。 formula is here 公式就在这里

=INDEX('MFX SCR Mains Costs from SAP'!M:M,MATCH(1,(Corrected!A2='MFX SCR Mains Costs from SAP'!A:A)*("80"&" * "='MFX SCR Mains Costs from SAP'!M:M),0)) = INDEX('MFX SCR主要成本来自SAP'!M:M,MATCH(1,(更正!A2 ='MFX SCR主要成本来自SAP'!A:A)*(“80”&“*”='MFX来自SAP的SCR主要成本'!M:M),0))

Excel doesn't handle wildcards with the equals operator. Excel不使用equals运算符处理通配符。 You need to use the LEFT text function to extract the first 2 characters from column M to compare to exactly "80": 您需要使用LEFT文本函数从M列中提取前2个字符,以便与“80”完全比较:

=INDEX('MFX SCR Mains Costs from SAP'!M:M,MATCH(1,(Corrected!A2='MFX SCR Mains Costs from SAP'!A:A)*("80"=left('MFX SCR Mains Costs from SAP'!M:M,2)),0))

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

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