> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/nedyx/clearlines-functions/range-functions/intersection.md).

# INTERSECTION

#### Syntax

**INTERSECTION**(*range;* *intersectRange*)

* *range* - the range where elements should be removed - ***Value type**: any*
* *intersectRange* - the range defining which elements remain in range - ***Value type**: any*

The function returns a copy of *range*, where only these elements remain which are included in *intersectRange* as well. All other cells are empty.

**Examples**

<figure><img src="/files/AxaX4gr5XDw21FalkTqQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Jv9jeg3aHmvMP59jJYXV" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/jTBOX0fbnpM4dsFPez2l" alt=""><figcaption></figcaption></figure>
