Excel 匹配函数:当查找数组中只有一行时,无法在多个查找数组中查找多个值

Excel Match function: Lookup of multiple values in multiple lookup arrays not working when there is just one row in the lookup array

我想在单元格 A8B8C8 中的 table 列 Number1Number2Number2 中查找三个查找值String1。这是我使用的公式:

=MATCH(A8&B8&C8,tbl[Number1]&tbl[Number2]&tbl[String1],0)

当我在查找数组中有多行时,它工作正常。但是当只有一行时我得到一个 #VALUE! 错误。

不工作:

工作:

计算公式时看起来不错,但Excel似乎无法将第二个“12a”识别为数组:

能否避免这个问题,改进公式?

将 return 强制转换为数组的一种方法:

=MATCH(A8&B8&C8,IF({1},tbl[Number1]&tbl[Number2]&tbl[String1]),0)