I need a formula to return the count of the number of rows where my Receipt # column is not blank, and where the Notes column does not contain insufficient funds and does not contain pre-authorized payment. I've gotten the formula to work for the first two criteria, but I can't get it to work when I try to add the criteria of the additional check for the Notes column to not contain pre-authorized payment.
Here is the formula I have:
=COUNTIFS([Receipt #]:[Receipt #], <>"", Notes:Notes, NOT(CONTAINS("insufficient funds", @cell)), Notes:Notes, NOT(CONTAINS(“pre-authorized payment”,@cell)))
It's the second "NOT(CONTAINS" that doesn't work, I have gotten it to work up to then, so I'm not sure if I should be grouping the "pre-authorized payment" exclusion with the first NOT(CONTAINS statement, or if I should have it separate like I do in this formula but am just not doing it correctly.