Reputation: 5283
How can I check in Google Sheets if each cell in a range e.g. B2:G2
contains a word e.g. holiday
?
Upvotes: 0
Views: 84
Reputation: 1
=ARRAYFORMULA(IF(IFERROR(REGEXEXTRACT(B2:G2, "holiday"))<>"", TRUE))
=ARRAYFORMULA(IF(SUM(IF(IFERROR(REGEXEXTRACT(B3:G3, "holiday"))<>"", 1))=6, TRUE))
Upvotes: 1