ivannamber
ivannamber

Reputation: 21

Convert TRUE or FALSE to Yes or No in REGEXMATCH

How to convert boolean True or False to "Yes" or "No" in Google Sheets?

=REGEXMATCH(A1;"word")

Upvotes: 2

Views: 1345

Answers (2)

player0
player0

Reputation: 1

for a single cell:

=IF(A1="word"; "yes"; "no")

for a range of cells:

=ARRAYFORMULA(IF(A1:A10="word"; "yes"; "no"))

Upvotes: 1

Caner
Caner

Reputation: 59258

=IF(REGEXMATCH(A1,"word"), "Yes", "No")

Upvotes: 1

Related Questions