wps的office,exl表格写公式,当两个单元格同时满足特定条件时,第三个单元格取值。

2024-11-22 16:09:35
推荐回答(1个)
回答(1):

你的引用应该是A9和B6吧:
=IF(AND(COUNTIF(A9,{"*开元*"}),B6="粘土"),开元!B33,IF(AND(COUNTIF(A9,{"*开元*"}),B6="纯粘土"),开元!C33,IF(AND(COUNTIF(A9,{"*开元*"}),B6="粗粘土"),开元!D33,IF(AND(COUNTIF(A9,{"*开元*"}),B6="细粘土"),开元!E33,IF(AND(COUNTIF(A9,{"*科灵*"}),B6="粘土"),科灵!B33,IF(AND(COUNTIF(A9,{"*科灵*"}),B6="纯粘土"),科灵!C33,""))))))&IF(AND(COUNTIF(A9,{"*科灵*"}),B6="粗粘土"),科灵!D33,IF(AND(COUNTIF(C6,{"*科灵*"}),B6="细粘土"),科灵!E33,""))