> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# AVERAGE

> The AVERAGE function calculates the average of multiple numerical values. It is supported across various YiDA scenarios, including forms, workflow design, and integration & automation. This function takes a set of numbers as parameters and returns their average.

The **AVERAGE** function calculates the average of multiple numerical values.

## Supported Product Scenarios

The AVERAGE function is supported in the following YiDA scenarios.

* Form (main table field)
* Form (business association rule)
* Form (validation)
* Workflow design (validation rule)
* Workflow design (association action)
* Integration & automation
* Workflow node
* Connector

## Format

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
AVERAGE(number1,number2···numberN)
```

## Attribute Description

| **Attribute** | **Required** | **Description**                                                                                   |
| ------------- | ------------ | ------------------------------------------------------------------------------------------------- |
| number        | Yes          | Number type. A set of numbers to calculate the average of. Separate multiple numbers with commas. |

## Return Value

| **Return value type** | **Description**               |
| --------------------- | ----------------------------- |
| Numerical             | The calculated average value. |

## Example

As shown in the figure below, use the `AVERAGE()` function to calculate the average of a set of numbers.

## Try It Out

Calculate the average of multiple numerical values.
