Avg Function (Access custom web app)

Office 2013 and later

Calculates the arithmetic mean of a set of values contained in a specified field.

Last modified: March 09, 2015

Applies to: Access 2013 | Access 2016

Important note Important

Microsoft no longer recommends creating and using Access web apps in SharePoint. As an alternative, consider using Microsoft PowerApps to build no-code business solutions for the web and mobile devices.

Avg(NumericExpression)

The Avg function contains the following argument.

Argument

Description

NumericExpression

A string expression identifying the field that contains the numeric data you want to average or an expression that performs a calculation using the data in that field. Operands in NumericExpression can include the name of a table field, a variable, or a function (which can be either intrinsic or user-defined but not one of the other SQL aggregate functions).

The average calculated by Avg is the arithmetic mean (the sum of the values divided by the number of values). You could use Avg, for example, to calculate average freight cost.

The Avg function does not include any Null values in the calculation.

Show: