Reputation: 1
I've attached a photo of what I am trying to do below. I need to look at multiple columns and if any of them contain "apple" I need to count that row once. I am having a lot of trouble finding the solution.
Here's a photo of what I am trying to do
.
Upvotes: 0
Views: 903
Reputation: 1
try:
=INDEX(SUM(N(MMULT(REGEXMATCH(B2:E, "(?i)apple")*1, FLATTEN(COLUMN(B2:E)^0))<>0)))
Upvotes: 2