满足条件的返回对应单元格
1.sheet1是完整数据2.sheet2是要返回值的表
诉求:sheet1中B列厂商和1行省份交叉为“是”的,将结果返回到sheet2中。
例如A厂商在上海为“是”(K2)、江苏也为“是”(L2),将信息返回到sheet2.展现如表。
请看附件:
A3=INDIRECT("Sheet1!b"&INT(AGGREGATE(15,2,(ROW($2:$11)*100+COLUMN($C:$AG))/(Sheet1!$C$2:$AG$11="是"),ROW(A1))/100))
B3=INDIRECT("Sheet1!r1c"&MOD(AGGREGATE(15,2,(ROW($2:$11)*100+COLUMN($C:$AG))/(Sheet1!$C$2:$AG$11="是"),ROW(A1)),100),)
下拉
页:
[1]