Excel数据分析与业务建模_第三章_引用函数INDEX(语法详解及应用实例)

INDEX函数可以返回指定区域(Array)内特定行号、列号所对应的单元格的内容。常与MATCH函数配套使用。

Syntax of the INDEX function
The INDEX function enables you to return the entry in any row and column within an array of numbers. The most commonly used syntax for the INDEX function is the following:
INDEX(Array,Row Number,Column Number)
To illustrate, the INDEX(A1:D12,2,3) formula returns the entry in the second row and third column of the A1:D12 array. This entry is the one in cell C2.


新发现:
1. 不指定行号(行号为0)时,可用SUM(INDEX(区域,0,列号))计算特定列的合计值;相应地,列号也一样
2. 通过将INDEX与MATCH函数配合使用,可实现类似透视表(PIVOT TABLE)的统计功能。

应用实例:
源数据:

使用INDEX和MATCH:


直接插入Pivot table:
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值