---
title: "About operators"
description: "You use operators to perform certain operations with the formula parameters or modify the data specified by the Data source report parameter before the data is added in the report."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-operators/index.md
lastmod: 2026-02-19
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/llms.txt


# About operators

Last modified February 19, 2026

> You use operators to perform certain operations with the formula parameters or modify the data specified by the Data source report parameter before the data is added in the report.


You can add operator manually by typing them in the formula area or select them from the list of operators available in the formula editor.

There are several groups of operators in the formulas which are covered in the following sections.

## Arithmetic operators

Arithmetic operators perform common arithmetic operations with numeric values. The parameters of the arithmetic expressions are handled as the decimal values. The parameters of any other data type will be converted to the decimal type.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Operator</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description and examples</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">+ (addition)</td>
<td class="vismanet-table__cell"><p>Adds the value of one numeric expression to another or concatenates two strings.</p>
<p><strong>Example:</strong> <code>=A10+B10</code></p>
<p>Here, A10 and B10 are cell references. If the values in the cells are 12.85 and 2.25, the result of the expression would be 12.85 + 2.25 = 15.1.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">+ (subtraction)</td>
<td class="vismanet-table__cell"><p>Subtracts the value of one numeric expression from another.</p>
<p><strong>Example:</strong> <code>=A20-B30</code></p>
<p>Here, A20 and B30 are cell references. If the values in the cells are 12.85 and 2.25, the result of the expression would be 12.85 - 2.25 = 10.6.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">* (multiplication)</td>
<td class="vismanet-table__cell"><p>Multiplies the value of two expressions.</p>
<p><strong>Example:</strong> <code>=C10*D10</code></p>
<p>Here, A20 and B30 are cell references. Assuming that the parameters have the values C10 = 2.25 and D10 = 2, the example would evaluate to 2.25 * 2 = 4.5.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">/ (division)</td>
<td class="vismanet-table__cell"><p>Divides the values of two expressions.</p>
<p><strong>Example:</strong> <code>=A10/C10</code>.</p>
<p>Here, A10 and C10 are cell references. If the values in the cells are 4.0 and 2.0, the result of the expression would be 4.0 / 2.0 = 2.0.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">% (Mod)</td>
<td class="vismanet-table__cell"><p>Divides two numbers and returns only the remainder.</p>
<p><strong>Example:</strong> <code>=B15 % C15</code></p>
<p>Here, B15 and C15 are cell references. If the values in the cells are 15.0 and 6.0, the result of the expression would be 3.0.</p>
</td>
</tr>

</table>


## Logical operators

The logical operators, described below, compare Boolean expressions and return a Boolean result.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Operator</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description and examples</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">And</td>
<td class="vismanet-table__cell"><p>Performs logical conjunction on two Boolean expressions. If both expressions evaluate to <strong>True</strong>, then the operator returns <strong>True</strong>; if either or both expressions evaluate to <strong>False</strong>, <strong>And</strong> returns <strong>False</strong>.</p>
<p><strong>Example:</strong> <code>=(A10&gt;0) And (C10&gt;0)</code></p>
<p>In this example, A10 and C10 are cell references. If A10 = 10 and C10 = 20, then the expression would evaluate to <strong>True</strong>. Alternatively, f A10 = -10 and C10 = 20, the expression would evaluate to <strong>False</strong>.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Or</td>
<td class="vismanet-table__cell"><p>Performs logical disjunction on two Boolean expressions. If either expression evaluates to <strong>True</strong>, the operation returns <strong>True</strong>; if neither expression evaluates to <strong>True</strong>, <strong>Or</strong> returns <strong>False</strong>.</p>
<p><strong>Example:</strong> <code>=(A10&gt;0) Or (C10&gt;0)</code></p>
<p>In this example, A10 and C10 are cell references. If A10 = 10 and C10 = 20, then the expression would evaluate to <strong>True</strong>. Alternatively, f A10 = -10 and C10 = -20, the expression would evaluate to <strong>False</strong>.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Not</td>
<td class="vismanet-table__cell"><p>Performs logical negation on a Boolean expression, yielding the opposite of the expression it evaluates. If the expression evaluates to <strong>True</strong>, the operator yields <strong>False</strong>; alternatively, if the expression evaluates to <strong>False</strong>, <strong>Not</strong> yields <strong>True</strong>.</p>
<p><strong>Example:</strong> <code>=Not (A10&gt;C10)</code></p>
<p>In this example, A10 and C10 are cell references. If A10 is larger than C10, then the expression would evaluate to <strong>False</strong>. Alternatively, if A10 is smaller than C10, the expression would evaluate to <strong>True</strong>.</p>
</td>
</tr>

</table>


## Comparison operators

These operators, described below, compare two expressions and return a Boolean value that represents the result of the comparison.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Operator</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description and examples</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">=</td>
<td class="vismanet-table__cell"><p>Equality operator.</p>
<p><strong>Example:</strong> <code>=(A10=B10)</code></p>
<p>In this example, A10 and B10 are cell references. If the value in the A10 cell is equal to the value in C10, then the expression evaluates to <strong>True</strong>, otherwise the expression evaluates to <strong>False</strong>.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&lt;&gt;</td>
<td class="vismanet-table__cell"><p>Inequality operator.</p>
<p><strong>Example:</strong> <code>=(C10&lt;&gt;A10)</code></p>
<p>(where A10 and C10 are the links used as a formula parameters)</p>
<p>In this example, A10 and C10 are cell references. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to <strong>True</strong>, otherwise the expression evaluates to <strong>False</strong>.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&lt;</td>
<td class="vismanet-table__cell"><p>The <strong>less than</strong> operator.</p>
<p><strong>Example:</strong> <code>=(@10&lt;@12)</code> (where @10 and @12 are the links to cells in the current column)</p>
<p>In this example, @10 and @12 are the links to cells in the current column. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to <strong>True</strong>, otherwise the expression evaluates to <strong>False</strong>.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&gt;</td>
<td class="vismanet-table__cell"><p><strong>Greater than</strong> operator.</p>
<p><strong>Example:</strong> <code>=(C10&gt;A10)</code> (where A10 and C10 are the links used as a formula parameters)</p>
<p>In this example, A10 and C10 are cell references. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to <strong>True</strong>, otherwise the expression evaluates to <strong>False</strong>.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&lt;=</td>
<td class="vismanet-table__cell"><p>The <strong>less than or equal to</strong> operator.</p>
<p><strong>Example:</strong> <code>=(C10&lt;=A10)</code> (where A10 and C10 are the links used as a formula parameters)</p>
<p>In this example, A10 and C10 are cell references. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to <strong>True</strong>, otherwise the expression evaluates to <strong>False</strong>.</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">&gt;=</td>
<td class="vismanet-table__cell"><p>The <strong>greater than or equal to</strong> operator.</p>
<p><strong>Example:</strong> <code>=(A10&gt;=A10)</code> (where A10 and C10 are the links used as a formula parameters)</p>
<p>In this example, A10 and C10 are cell references. If the value in the A10 cell is not equal to the value in B10, then the expression evaluates to <strong>True</strong>, otherwise the expression evaluates to <strong>False</strong>.</p>
</td>
</tr>

</table>


## Other operators

This group includes the following operators.

<table class="vismanet-table">
  <colgroup>
    <col class="vismanet-table__col--key">
    <col>
  </colgroup>
<thead class="vismanet-table__head">
  <tr class="vismanet-table__header-row">
<th class="vismanet-table__cell vismanet-table__cell--header">Operator</th>
<th class="vismanet-table__cell vismanet-table__cell--header">Description and examples</th>
</tr>
</thead>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">In (a binary operator)</td>
<td class="vismanet-table__cell"><p>This operator is used in an elementary logical expression that evaluates the search results and returns <strong>True</strong> when the parameter matches one of the elements from the set of values.</p>
<p><strong>Example</strong>: <code>=(A20 In (10, 50, 57))</code> (where A20 is the link used as a formula parameter)</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">True (a binary constant)</td>
<td class="vismanet-table__cell"><p>This operator is used as a parameter in logical expressions.</p>
<p><strong>Example</strong>: <code>=((D30&lt;A30)=True)</code> (where D30 is the link used as a formula parameter)</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">False (a binary constant)</td>
<td class="vismanet-table__cell"><p>This operator is used as a parameter in logical expressions.</p>
<p><strong>Example:</strong> <code>=((C10=E10)=False)</code> (where C10 and E10 are the links to the data)</p>
</td>
</tr>

<tr class="vismanet-table__row">
<td class="vismanet-table__cell">Null (a value)</td>
<td class="vismanet-table__cell"><p>This operator is used as a parameter in logical expressions.</p>
<p><strong>Example:</strong> <code>=(@20=Null)</code> (where @20 is the cell in the current column and 10th row)</p>
</td>
</tr>

</table>


Parent topic:

[Formulas - overview](https://docs.vismasoftware.no/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-formulas/index.md)

<h2>Related pages</h2><h3>Concepts</h3>
<ul><li><a href="/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-parameters/index.md">About parameters</a></li>
</ul>


---

[View this page](https://docs.vismasoftware.no/visma-net-erp/help/general-ledger/manage-analytical-reports/formulas/about-operators/)
