---
title: Between and Not Between
slug: segment/between-and-not-between
docTags: 
createdAt: 2026-01-15T00:44:25.127Z
---

:::hint{type="info"}
These filter types are available fo&#x72;*&#x20;Number, Date,&#x20;*&#x61;nd *Decimal&#x20;*&#x66;ield types.
:::

## *Between* filter type

The *Between&#x20;*&#x66;ilter checks if a value falls within a specific range, including the start and end points (i.e. *Is this value between X and Y?*). Most platforms include both.

### Example

You want to find customers who spent between 100 and 500 dollars.

- **Field**:**&#x20;Total Spend**
- **Filter**: *Between 100 and 500*

Matches:

- **Spend** =*&#x20;100* ✅
- **Spend** = *250* ✅
- **Spend** = *500* ✅
- **Spend** = *99&#x20;*❌
- **Spend** = *501* ❌

![](https://support.deselect.com/hc/article_attachments/34761403986961)

## *Not Between* filter type

The *Not* *Between&#x20;*&#x66;ilter checks if a value is outside a specific range, meaning it's less than the lower bound or greater than the upper bound (i.e. *Is this value outside the range X and Y?*).

### Example

You want to find deliveries that happened not between April 1, 2025 and April 30, 2025.

- **Field**: **Delivery Date**
- **Filter**: *Not Between April 1, 2025 and April 30, 2025*.

**Matches**:

- **Delivery** **Date** = *March 1, 2025* ✅
- **Delivery Date** = *March 28, 2025* ✅
- **Delivery Date** = *January 1, 2025* ✅
- **Delivery Date** = *April 1, 2025&#x20;*❌
- **Delivery Date** =*&#x20;April 30, 2025* ❌

![](https://support.deselect.com/hc/article_attachments/34761403987473)

## Video tutorial

::embed[]{url="https://vimeo.com/694865478?fl=pl&fe=cm"}

