
Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 24, 2020 10:57 AM
Is there a way to filterByFormula with an “IN” type of function. I.e. only return rows where the state field value is in the list [“OR”, “CA”, “FL”] ?
Reply
1 Reply 1

Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 24, 2020 02:13 PM
Welcome to the Airtable community forums!
The filterByFormula in the API works the same way as filtering in the user interface. You cannot use a simple IN
function in your formula, because Airtable does not have such a formula function.
However, you can build a formula that has the effect that you want.
OR(
FIND("OR", {field name}),
FIND("CA", {field name}),
FIND("FL", {field name})
)
Reply
