首页 技术 正文
技术 2022年11月23日
0 收藏 674 点赞 5,089 浏览 1355 个字

@AVG

Returns the average of all values in expList.

【返回表达式列表的平均值】

Syntax

@AVG (SKIPNONE | SKIPMISSING | SKIPZERO | SKIPBOTH, expList)

Parameter

Description

SKIPNONE【从不忽略】

Includes all cells specified in the average operation regardless of their content.

【不论内容如何,对所有指定的单元进行平均操作】

SKIPMISSING【忽略Missing】

Excludes all values that are #MISSING in the average operation.

【除missing外,进行平均操作】

SKIPZERO【】

Excludes values of zero from the average calculation.

【外,进行平均操作】

SKIPBOTH【和missing】

Excludes all values of zero or #MISSING from the average calculation.

【或missing外,进行平均操作】

expList【表达式列表】

Comma-delimited list of member names, variable names, functions, or numeric expressions. expList provides a list of numeric values across which the average is calculated.

【用逗号分开成员名称,变量名称,函数或数字表达式清单。对表达式列表提供一系列数值与其交叉进行平均计算】

Example

The following example is based on the Sample Basic database. The calculation averages the values for the individual states making up the western region and places the results in West:

【如下实例基于“Sample Basic”数据库。由单独的州数据计算出西部区域的平均值】

FIX(Sales)

West=@AVG(SKIPNONE,California:Nevada);

ENDFIXThis example produces the following report:

Sales      Jan       Actual

Cola    Diet Cola    Caffeine Free Cola

====    =========    ==================

California       678       118             145

Oregon           160       140             150

Washington       130       190             #MI

Utah             130       190             170

Nevada            76        62             #MI

West           234.8     140             93

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:8,903
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,429
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,245
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,057
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,689
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,726