Expected result:
Row 1: False
Row 2: True
Could you provide some more details about what it is youâre looking to achieve?
I want to use a formula that will return true or false whether something was tagged in a text field. I want to ensure that I didnât miss using tags where I should.
What do you mean with tagged in a text field? Are you thinking about checkboxes?
I mean tagged as shown here:
Using the @ function. I kept trying to use Contains or Find or RegexMatch but for some reason â@â doesnât exist to those. But Substitute can see the @ just fine.
I suggest checking for the actual row IDs instead
Get Row ID:
thisRow._Merge().ParseJSON("identifier")
Get references in text:
Table77.Filter(thisRow.Text._Merge().ContainsText(CurrentValue.[Row ID]))
Cool! I donât really get what your formulas do exactly but I was able to get it to work by checking if âTable77.Filter(thisRow.Text._Merge().ContainsText(CurrentValue.[Row ID]))â exists.
Create an additional column to see what values we are working with
thisRow.Text._Merge().ToText()
Looks like this for the first row for example, notice the identifier
{
"root": {
"children": [
{
"id": "cl-Qv8dejnaQb",
"type": "Line",
"style": "Paragraph",
"children": [
{
"text": ""
},
{
"id": "esv-zbcQc5ag67",
"type": "InlineStructuredValue",
"value": {
"name": "Bravo",
"type": "ref",
"objectId": "grid-W3t_CbMG09",
"identifier": "i-ctzF8rkhgM"
},
"children": [
{
"text": ""
}
]
},
{
"text": " "
}
],
"alignment": "Left",
"lineLevel": 0
}
]
},
"type": "slate"
}