--- title: "Use the OR Function to Test If Any Condition Is Met" slug: "or-function" description: "Learn to simplify conditional logic in Pigment with the OR function. Check if one or more conditions are true in your formulas." tags: ["OR", "Test one condition", "functions ", "Pigment Blocks", "Pigment Boards", "formula syntax", "Modeling and Formulas"] updated: 2025-05-30T09:38:33Z published: 2025-08-22T12:00:18Z canonical: "kb.pigment.com/or-function" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.pigment.com/llms.txt > Use this file to discover all available pages before exploring further. # OR function ## Description Tests to see if at least one condition is met. ## Syntax ```plaintext logical1 OR logical2… ``` ## Return type Boolean (TRUE or FALSE) ## Examples | **Case** | **Results** | **Return Type** | | --- | --- | --- | | `TRUE OR FALSE` | `TRUE` | `boolean` | | `x > 2 OR y > 2` | `TRUE` if x or y are greater than 2, `FALSE` otherwise | `boolean` | | `TRUE OR Blank` | `TRUE` | `boolean` | | `Blank OR TRUE` | `TRUE` | `boolean` | | `FALSE OR Blank` | `FALSE` | `boolean` | | `Blank OR Blank` | `Blank` | `boolean` | --- **Excel equivalent**: [OR(logical1, [logical2], ...)](https://support.microsoft.com/en-us/office/or-function-7d17ad14-8700-4281-b308-00b131e22af0) **See also**: [AND](/v1/docs/and-function)