# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/nedyx/clearlines-functions/range-functions/intersection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
