Applies ToSharePoint Server 订阅版 SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 企业版 Microsoft 365 中的 SharePoint SharePoint Foundation 2010 SharePoint Server 2010 Microsoft 365 小型企业版中的 SharePoint Windows SharePoint Services 3.0

Calculates the average (arithmetic mean) of the values in the list of arguments. Unlike the AVERAGE functions, text and logical values such as TRUE and FALSE are included in the calculation.

Syntax

AVERAGEA(value1,value2,...)

Value1, value2,...     are 1 to 30 arguments for which you want the average.

Remarks

  • Arguments that contain text evaluate as 0 (zero). Empty text ("") evaluates as 0 (zero). If the calculation must not include text values in the average, use the AVERAGE function.

  • Arguments that contain TRUE evaluate as 1; arguments that contain FALSE evaluate as 0 (zero).

Examples

Col1

Col2

Col3

Col4

Col5

Col6

Formula

Description (Result)

10

7

9

2

0

=AVERAGEA([Col1],[Col2],[Col3],[Col4],[Col5])

Average of the numbers, and the empty argument (5.6)

10

10

9

2

1

=AVERAGEA([Col1],[Col2],[Col3],[Col4],[Col6])

Average of the numbers (6.4)

需要更多帮助?

需要更多选项?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.