Case-insensitive
=IF(REGEXMATCH(LOWER(A2),"paid"),"Complete","Open")Matches paid, Paid and PAID.
Return a label when a cell contains a word or phrase, including partial matches.
Return a label when a cell contains a word or phrase, including partial matches. Use =IF(REGEXMATCH(A2,"paid"),"Complete","Open"), then replace the sample ranges with the columns in your sheet.
REGEXMATCH checks for a partial text match. IF chooses the returned label.
| A | |
|---|---|
| 1 | Status note |
| 2 | |
| 3 | |
| 4 | |
| 5 |
=IF(REGEXMATCH(LOWER(A2),"paid"),"Complete","Open")Matches paid, Paid and PAID.
=IF(REGEXMATCH(LOWER(A2),"paid|settled"),"Complete","Open")Treats either word as a match.
=IF(A2="Paid","Complete","Open")Use this when partial matches should not count.
Wrap the source cell in LOWER and write the search text in lowercase.
Add IF(A2="","",…) around the formula.
Wrap the source cell in LOWER and write the search text in lowercase.
Add IF(A2="","",…) around the formula.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.