

Creator II
2021-11-09
11:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IF Condition with a list
Hi folks - I'm trying to crreate an filter box within my script and I keep getting "missing )" errors.
I'm selecting values from a field that are either Included or Excluded. I just can't seem to get the syntax right. Any help is appreciated.
Am I using the correct function with MATCH??
if(match(SCBCOUNTRY='AE','BH','QA'), 'Excluded', 'Included') as CountryInd,
Thanks, George
3,476 Views
2 Replies


MVP
2021-11-09
12:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if(match(SCBCOUNTRY,'AE','BH','QA'), 'Excluded', 'Included') as CountryInd,
Wrong syntax for match. It doesn't take an equal sign.

Partner - Specialist
2021-11-09
12:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Maybe something like below.
Function is correct but some syntax error.
if(match(SCBCOUNTRY , 'AE','BH','QA'), 'Excluded', 'Included') as CountryInd
Thanks,
Ashutosh
3,422 Views
