简体   繁体   English

使用索引匹配,其中匹配查找可以是多个值之一

[英]Using Index Match where a match lookup can be one of multiple values

The below formula is an index-match that accurately returns the value Calibrate Temperature Tx if it is found within my dataset.下面的公式是一个索引匹配,如果在我的数据集中找到它,它会准确地返回值Calibrate Temperature Tx

=INDEX('Equipment Strategy Review'!$C$6:$AK$3983,MATCH(1,('Equipment Strategy Review'!$C$6:$C$3983=[@[Corrected Equipment Tag]])*('Equipm**strong text**ent Strategy Review'!$AK$6:$AK$3983="Calibrate Temperature Tx"),0),35)

I need to expand this formula to also return values such as Calibrate Pressure Tx or Calibrate Flow Tx if found.如果找到,我需要扩展此公式以返回诸如Calibrate Pressure TxCalibrate Flow Tx之类的值。 How can this be achieved?如何做到这一点?

Note : No individual piece of equipment (Field C in Equipment Strategy Review) will have more than one record containing any of these strings ie Equipment A can only have a one of these calibration tasks, not all 3.注意:没有单个设备(设备策略审查中的字段 C)将有多个包含这些字符串的记录,即设备 A 只能具有这些校准任务中的一个,而不是全部 3。

Have you tried combining it with an IF Function?您是否尝试将其与 IF Function 结合使用?

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

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