mdmb
mdmb

Reputation: 5283

Check if each cell range in a row contains the same value

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

Answers (1)

player0
player0

Reputation: 1

=ARRAYFORMULA(IF(IFERROR(REGEXEXTRACT(B2:G2, "holiday"))<>"", TRUE))

0


=ARRAYFORMULA(IF(SUM(IF(IFERROR(REGEXEXTRACT(B3:G3, "holiday"))<>"", 1))=6, TRUE))

0

Upvotes: 1

Related Questions