---
title: Logic
slug: logic
docTags: 
createdAt: 2025-09-22T04:55:46.000Z
---

### AND

**Description:&#x20;**&#x52;eturns TRUE if all conditions are TRUE. It returns FALSE if any of the conditions are FALSE.

**Example:&#xA0;**

*AND(logical1, logical2, ...)*

### FALSE

**Description:&#x20;**&#x52;eturns a logical value of FALSE.

**Example:&#xA0;**

*False(stringvalue)*

### IF

**Description:&#x20;**&#x52;eturns one value if a specified condition evaluates to TRUE, or another value if it evaluates to FALSE.

**Example:&#xA0;**

*IF(logical\_test, value\_if\_true, value\_if\_false)*

### NOT

**Description:&#x20;**&#x54;his function returns the reversed logical value.

**Example:&#xA0;**

*NOT(logical)*

### OR

**Description:&#x20;**&#x52;eturns TRUE if any of the conditions are TRUE. Otherwise, it returns FALSE.

**Example:&#xA0;**

*OR(logical1, logical2, ...)*

### TRUE

**Description:&#x20;**&#x46;unction returns a logical value of TRUE.

**Example:&#xA0;**

*True(stringvalue)*

### XOR

**Description:&#x20;**&#x52;eturns the exclusive OR for the given arguments

**Example:&#xA0;**

*XOR(logical\_value1, logical\_value2, ...)*
