Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Filtering a column based on delimited text

I am trying to create a filter that would limit rows based on a delimited string passed into CUSTOMDATA() I've found some samples of how to delimit text, but for the life of me I can't figure out ...
  • Anonymous's avatar
    Anonymous
    6 years ago

    If you have a table with a column [Country], then this filter does filter for the passed in countries in CUSTOMDATA();

     

    // Filter for the Country column
    =SEARCH( [Country], CUSTOMDATA(), 1, -1) > 0

     

    You can also use the CONTAINSSTRING function. It'll be even easier.

     

    Best

    D