EXTRACTCHOICE()
Extract one Yes/No value within textual value
Returns one Yes/No expression based on whether yes, true, no, or false appears first in a string as follows:
TRUEif first occurrence in the text isyesortrue.FALSEif first occurrence in the text isnoorfalse.
Sample usage
EXTRACTCHOICE("Based on the evidence, I must conclude that yes, he is guilty.") returns TRUE
EXTRACTCHOICE("When I ask my son if he wants to eat broccoli, he screams NO!!!") returns FALSE
Syntax
EXTRACTCHOICE(text-to-extract-from)
text-to-extract-from- Any textual value.
Notes
Returns a single value, unlike the other EXTRACT() functions which all return a list of values.
See also
Was this helpful?
How can we improve it?