您的位置:首页 > 其它

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

2017-01-18 21:37 726 查看
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:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: