> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/cascade-faqs/functions-and-expressions/how-to-write-an-in-statement-with-multiple-variables.md).

# How to write an IN() statement with multiple variables

Using the IN() function to with multiple variables

Sometimes you might want to filter with two variables using a single Filter tool. This is possible using the [IN](/cascade/functions-and-expressions/functions/logical/in.md) function in Cascade.

`IN({Product}, "iPhone", "Wired Headphones")`

In this example, the user is filtering for rows with the value “iPhone” or “Wired Headphones” in the Product field.

<figure><img src="https://2577551913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MW_FvcY52Jcyt8JHFGs%2Fuploads%2FLhNG81Tzoa6t1kAI0yaj%2Fuse-two-variables-in-in-statement.png?alt=media&amp;token=002404cb-6494-41ab-86ae-fd3a9011fe4d" alt="Screenshot of Filter tool configuration using IN() statement"><figcaption><p>Screenshot of Filter tool configuration using <a href="/cascade/functions-and-expressions/functions/logical/in.md">IN()</a> statement</p></figcaption></figure>

Check out more on the [IN](/cascade/functions-and-expressions/functions/logical/in.md) function in Cascade docs.
