EXCEL:带有数字和文本匹配的嵌套 If 语句

EXCEL: Nested If Statement with numbers AND text matching

我想表达的逻辑:

If a value in column "A" is greater than another cell value (A3), and a value in column C includes the string "non-toil", then add a count for all of the rows that satisfy these conditions.

我手机里的密码是:

=IF(RawData!A1:A2000,<A3, COUNTIF(RawData!C1:C2000, "*non-toil*",))

使用计数:

=COUNTIFS(RawData!A1:A2000,"<" & A3,RawData!C1:C2000, "*non-toil*")