I'm trying to place an IF condition on a cell.
Cell A1 may be any of the following options: 1.Req no (ie. REQ123) 2. A date 3. Any text that does not have the string REQ
Cell A2 will have the formula. What I'd like to happen may be any of the ff:
Also, the formula for the conditions above will be nested on an AND and OR function.
I'm kinda stuck so any help will be appreciated! Thank you!
In this formula, anything that does not match one of the three conditions you listed will show "FALSE". So if you have a number in A1, that will show "FALSE" unless you change the formatting.
=IF(
ISDATE(A1),
"Blue",
IF(
ISTEXT(A1),
IF(
REGEXMATCH(A1, ".?REQ.?"),
"Red",
"Yellow"
)
)
)