AVERAGEA 函數

套用到
SharePoint Server 2019 SharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 企業版 SharePoint Foundation 2010 SharePoint Server 2010 Windows SharePoint Services 3.0

計算引數清單中各值的平均值 (算術平均值)。 與 AVERAGE 函式不同,計算中包含文字及邏輯值如 TRUE、FALSE。

語法

平均 (值1值2......)

值1,值2,... 是你想要平均值的1到30個參數。

註解

  • 包含文字的參數值為 0 (0) 。 空白文字 ("") 會視為 0 (零)。 若計算時平均值中不需包含文字值,請使用 AVERAGE 函數。
  • 包含 TRUE 的引數會視為 1,包含 FALSE 的引數會視為 0 (零)。

範例

第一條 第二條 第三條 第四列 第五大筆 第六條 公式 描述 (結果)
10 7 9 2 0 =平均 ([Col1],[Col2],[Col3],[Col4],[Col5]) 數字平均,空論證 (5.6)
10 10 9 2 1 =平均值 ([Col1],[Col2],[Col3],[Col4],[Col6]) 平均數字 (6.4)