# OR

The OR function returns TRUE if at least one of the arguments is TRUE and returns FALSE when all the arguments evaluate to FALSE.

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

```excel-formula
or(logical_test1,[logical_test2],...)
```

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

logical\_test1 – The first condition to be evaluated. This is a required argument.

logical\_test2,.. – The additional conditions that are to be evaluated. These are optional arguments.

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

Either True or False

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

```excel-formula
if(or(Region == "West", Region =="East"), 25, 30)
```

Will return 25 if the region is West or East; otherwise, returns 30

### **Excel equivalent** <a href="#excel-equivalent" id="excel-equivalent"></a>

[OR](https://support.microsoft.com/en-us/office/or-function-7d17ad14-8700-4281-b308-00b131e22af0)


---

# 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.inforiver.com/editable/formula-and-functions/logical-functions/or.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.
