I've done a search on this and can find how to count two criteria in different cells, but not two in the same cell.
I've a sheet of text entries, that briefly describe laws. I'd like to count all those with the word "young" in them, but then to discount all those which also have the word "bill" in them, as these are not valid laws, only proposals.
For the first, I have =COUNTIF(B$1:M$33, "*young*") which works perfectly.
For the second, I would imagine SUMPRODUCT counts cells which have young or bill, but not necessarily both.
Please can someone tell me how I add something like AND "*bill*" to the formula above? Or do I need a totally different formula?
Very many thanks!
I've a sheet of text entries, that briefly describe laws. I'd like to count all those with the word "young" in them, but then to discount all those which also have the word "bill" in them, as these are not valid laws, only proposals.
For the first, I have =COUNTIF(B$1:M$33, "*young*") which works perfectly.
For the second, I would imagine SUMPRODUCT counts cells which have young or bill, but not necessarily both.
Please can someone tell me how I add something like AND "*bill*" to the formula above? Or do I need a totally different formula?
Very many thanks!