# IN

The IN function returns TRUE if the value being searched for is present in the input array.

### Syntax <a href="#syntax" id="syntax"></a>

```excel-formula
in(value,[item1,item2...])
```

### Arguments <a href="#arguments" id="arguments"></a>

value - The string which is being searched for.

\[item1,item2...] - The input array to searched.

### **Return value** <a href="#return-value" id="return-value"></a>

Either True or False

### **Example** <a href="#example" id="example"></a>

```excel-formula
if(in(Region, ["West","East"]),25, 30)
```

Returns 25 if the region is West or East; otherwise, it returns 30
