[英]Index Match With Multiple Criteria to find cell before (Excel)
I am looking to do a match index with a double criteria > but i want to return the results of the cell above the results.我正在寻找具有双重标准的匹配索引> 但我想返回结果上方单元格的结果。
eg例如
Two tables两张桌子
Table A is the reference point and i want to reference the Invoice Number and Product Description from Table A - find them in Table B, but i want to return the Invoice number in the above cell from table B.表 A 是参考点,我想参考表 A 中的发票编号和产品描述 - 在表 B 中找到它们,但我想从表 B 中返回上述单元格中的发票编号。
if i used Invoice number 987600/Product 1 from table A as an example.如果我使用表 A 中的发票编号 987600/产品 1 作为示例。
The look up would find Invoice Number 9876008, find Product 1, then return invoice numerb 608034 (As it is the one above 9876008) in table B查找将找到发票编号 9876008,找到产品 1,然后在表 B 中返回发票编号 608034(因为它是 9876008 以上的那个)
Thank you in advance先感谢您
Use AGGREGATE:使用聚合:
INDEX(TABLE2!C:C,AGGREGATE(15,7,(ROW(TABLE2!$C$2:$C$100)-1)/((TABLE2!$C$2:$C$100=9876008)*(TABLE2!$F$2:$F$100="Product 1")),1))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.