Repository: datawhalechina/free-excel Branch: main Commit: 0039fcbdc61a Files: 147 Total size: 1.3 MB Directory structure: gitextract_7vcgmclr/ ├── LICENSE ├── Makefile ├── Markdown/ │ ├── Datawhale.md │ ├── chap1.md │ ├── chap10.md │ ├── chap2.md │ ├── chap3.md │ ├── chap4.md │ ├── chap5.md │ ├── chap6.md │ ├── chap7.md │ ├── chap8.md │ ├── chap9.md │ ├── src/ │ │ └── 1.txt │ ├── 主页.md │ ├── 作者.md │ └── 练习题参考操作.md ├── README.md ├── data/ │ ├── chap1/ │ │ ├── 2.1.xlsx │ │ ├── Titanic_normal.csv │ │ ├── Titanic_special.txt │ │ └── Titanic_tab.txt │ ├── chap10/ │ │ └── 10.1.xlsx │ ├── chap2/ │ │ ├── 2.1.xlsx │ │ ├── 2.2.xlsx │ │ └── 2.3.xlsx │ ├── chap3/ │ │ └── 3.1.xlsx │ ├── chap4/ │ │ ├── 4.1.xlsx │ │ └── 4.2.xlsx │ ├── chap5/ │ │ ├── 5.1.xlsx │ │ └── 5.2.xlsx │ ├── chap6/ │ │ └── 6.1.xlsx │ ├── chap7/ │ │ ├── 7.1.xlsx │ │ └── 7.2.xlsx │ ├── chap8/ │ │ ├── 8.1.xlsx │ │ ├── 8.2.xlsx │ │ └── 8.3.xlsx │ └── chap9/ │ └── 9.1.xlsx ├── docs/ │ ├── .nojekyll │ ├── Content/ │ │ ├── chap1.html │ │ ├── chap10.html │ │ ├── chap2.html │ │ ├── chap3.html │ │ ├── chap4.html │ │ ├── chap5.html │ │ ├── chap6.html │ │ ├── chap7.html │ │ ├── chap8.html │ │ ├── chap9.html │ │ └── index.html │ ├── Datawhale.html │ ├── _sources/ │ │ ├── Content/ │ │ │ ├── chap1.rst.txt │ │ │ ├── chap10.rst.txt │ │ │ ├── chap2.rst.txt │ │ │ ├── chap3.rst.txt │ │ │ ├── chap4.rst.txt │ │ │ ├── chap5.rst.txt │ │ │ ├── chap6.rst.txt │ │ │ ├── chap7.rst.txt │ │ │ ├── chap8.rst.txt │ │ │ ├── chap9.rst.txt │ │ │ └── index.rst.txt │ │ ├── Datawhale.rst.txt │ │ ├── index.rst.txt │ │ ├── 主页.rst.txt │ │ ├── 作者.rst.txt │ │ └── 练习题参考操作.rst.txt │ ├── _static/ │ │ ├── 1 │ │ ├── _sphinx_javascript_frameworks_compat.js │ │ ├── basic.css │ │ ├── css/ │ │ │ └── s4defs-roles.css │ │ ├── doctools.js │ │ ├── documentation_options.js │ │ ├── jquery-3.6.0.js │ │ ├── jquery.js │ │ ├── language_data.js │ │ ├── pygments.css │ │ ├── scripts/ │ │ │ └── pydata-sphinx-theme.js │ │ ├── searchtools.js │ │ ├── sphinx_highlight.js │ │ ├── styles/ │ │ │ ├── pydata-sphinx-theme.css │ │ │ └── theme.css │ │ ├── underscore-1.13.1.js │ │ ├── underscore.js │ │ ├── vendor/ │ │ │ └── fontawesome/ │ │ │ └── 5.13.0/ │ │ │ └── LICENSE.txt │ │ └── webpack-macros.html │ ├── doctrees/ │ │ ├── Content/ │ │ │ ├── chap1.doctree │ │ │ ├── chap10.doctree │ │ │ ├── chap2.doctree │ │ │ ├── chap3.doctree │ │ │ ├── chap4.doctree │ │ │ ├── chap5.doctree │ │ │ ├── chap6.doctree │ │ │ ├── chap7.doctree │ │ │ ├── chap8.doctree │ │ │ ├── chap9.doctree │ │ │ └── index.doctree │ │ ├── Datawhale.doctree │ │ ├── environment.pickle │ │ ├── index.doctree │ │ ├── 主页.doctree │ │ ├── 作者.doctree │ │ └── 练习题参考操作.doctree │ ├── genindex.html │ ├── index.html │ ├── objects.inv │ ├── search.html │ ├── searchindex.js │ ├── 主页.html │ ├── 作者.html │ └── 练习题参考操作.html ├── make.bat ├── source/ │ ├── 1.txt │ ├── Content/ │ │ ├── chap1.rst │ │ ├── chap10.rst │ │ ├── chap2.rst │ │ ├── chap3.rst │ │ ├── chap4.rst │ │ ├── chap5.rst │ │ ├── chap6.rst │ │ ├── chap7.rst │ │ ├── chap8.rst │ │ ├── chap9.rst │ │ └── index.rst │ ├── Datawhale.rst │ ├── _static/ │ │ ├── 1.txt │ │ └── css/ │ │ └── s4defs-roles.css │ ├── conf.py │ ├── index.rst │ ├── 主页.rst │ ├── 作者.rst │ └── 练习题参考操作.rst └── 历史版本/ └── V2.0/ ├── 0. 前言.md ├── 1. 数据缘何而来.md ├── 1.txt ├── 10. Excel数据看板.md ├── 2. Excel数据格式.md ├── 3. Excel的快捷操作.md ├── 4. Excel的表合并.md ├── 5. Excel的函数-IF函数.md ├── 6. Excel的函数-查找函数 .md ├── 7. Excel的函数-动态函数.md ├── 8. Excel数据可视化.md ├── 9. Excel数据透视.md ├── LICENSE ├── README.md └── images/ └── 1.txt ================================================ FILE CONTENTS ================================================ ================================================ FILE: LICENSE ================================================ MIT License Copyright (c) 2021 Datawhale Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: Makefile ================================================ # Minimal makefile for Sphinx documentation # # You can set these variables from the command line, and also # from the environment for the first two. SPHINXOPTS ?= SPHINXBUILD ?= sphinx-build SOURCEDIR = source BUILDDIR = build # Put it first so that "make" without argument is like "make help". help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) .PHONY: help Makefile # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: Makefile @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) ================================================ FILE: Markdown/Datawhale.md ================================================ # Datawhale `Datawhale` 是一个专注于 `AI` 领域的开源组织,希望构建对学习者最有价值的开源社区。 作为一个由国内外各个高校的教授、学生、企业从业者等创建的开放式组织形态,抱有开源精神和探索精神,愿景:for the learner,和学习者一起成长。 Datawhale官网:https://datawhale.club/ Datawhale知乎号:https://www.zhihu.com/people/datawhale2018 ## 微信公众号 ================================================ FILE: Markdown/chap1.md ================================================ # 第一章 Excel与数据格式 ## 1.数据缘何而来 Execel是我们常见的用来进行数据处理的工具,其中Excel文件主要包含有2种格式分别是`xls`或`xlsx`,`xls`和`xlsx`主要区别如下: | xls | xlsx | | :------------------------------------ | ------------------------------ | | 97-2003版 | 2007之后版 | | 只能打开xls格式,无法直接打开xlsx格式 | 可以直接打开xls、xlsx格式 | | 只有65536行、256列 | 可以有1048576行、16384列 | | 占用空间大 | 占用空间小,运算速度也会快一点 | 因此,推荐大家使用最新版本的Excel或者WPS进行相关的学习与操作。 ### 1.1 了解Excel Excel文每个数据文件叫做工作簿,每个工作簿里面含有多个工作表,每个工作表里面的格子叫做单元格。 在Excel中点击新建文档后,Excel默认的文档名称是工作簿1,也就是一个Excel文档,就是一个工作簿 ![1.1](.\src\chap1\1.1.png) 在新建的工作簿中,可以看到左下方有`Sheet1`的标签,每个工作簿里面可以含有多个工作表,Excel表中最大支持255个工作表 ![1.2](.\src\chap1\1.2.png) 单元格就是工作表中间每一个格子 ![1.3](.\src\chap1\1.3.png) 在Excel最上方是工具栏,如果希望在Excel中导入第三方插件,可以点击`文件`-->`选项`-->`自定义功能区`点击右侧的√,即可导入相关模块 ![1.5](.\src\chap1\1.5.gif) ### 1.2 Excel存储格式 Excel中的数据可以存储为不同的类型格式,其中常用的存储类似分别是xlsx、csv以及txt,一般情况下,csv文件采用是逗号分隔,txt文件采用的是制表符作为分隔,例如`data/chap1/Titanic_normal.csv`和`data/chap1/Titanic_tab.txt`,而在较为特殊的情况下,数据的分隔符合可能不是常规的分隔符合,例如`data/chap1/Titanic_special.txt`,使用记事本打开这个文件发现文件采用`|`作为分隔的符合,那么这样的文件如何使用Excel打开呢? 1.6 这里推荐大家使用以下的操作方案,操作路径为菜单栏选择:**数据-->获取和转换数据-->从文件/CSV** ![1.5](.\src\chap1\1.7.gif)点击**加载**后可以看到我们导入的数据集,接着按快捷键`ctrl+s`保存工作簿到本地。 > 至此我们已经成功加载数据集到工作表当中,需要注意的是此时构建的数据表跟原始数据是存在连接关系,更改csv文件的数据后在点击路径:**设计-外部表数据-刷新**后就可以更新工作表数据。如果要取消链接关系则点击路径:**设计-外部数据表-取消链接**即可。 ## 2.Excel数据格式 ### 2.1 单元格数据类型 打开`data/chap1/2.1.xlsx`文件,点击【单元格数据类型】工作表,可以看到Excel有11种数据类型 ![2.1](.\src\chap1\2.1.png) 在平时工作和学习中常见的数据类型有3种分别是数字、文本和日期,接下来就详细讲解这3种格式的相关应用 #### 2.1.1 数字 数值是单元格最常见的数据之一,12位数的时候会以科学计数法显示。 打开`data/chap1/2.1.xlsx`文件,点击【真假数字】工作表看到展示的是真假数值列,真数值默认情况下是右对齐(方便观测数据位数),假数值是数值型文本属于**文本**,左上角会有个绿色三角错误检查,当数据是文本时,无法完成数字运算操作。 ![2.2](.\src\chap1\2.2.png) Excel会自带数据纠错功能,点击黄色感叹号可以看到,将文本转出数字,或者使用`=VALUE()`函数将文本转成数字 ![2.3](.\src\chap1\2.3.gif) #### 2.1.2 文本 文本为Excel中的常见格式,主要为文本字符串,例如下图就是典型的文本数据。当数据是文本类型时就可以完成文本数据相关操作。 ![2.4](.\src\chap1\2.4.png) #### 2.1.3 日期 Excel中的标准日期由年月日组成的数据,例如`2021/1/1`,同时日期又是很特殊的数值,在Excel里面日期最早是1900年1月1日,对应的数值为1,通过两日期相减可以得到日期相差的天数。需要注意的是如果是`2021-01-01`的数据就要看是否实际数据为`'2021/1/1'`,否则为文本型日期,需要进行转换才行。观察下图真假日期,可以发现真日期右对齐,假日期左对齐(内容跟显示的一致),真日期转格式可以看到单元格数据仍然是真日期格式(内容跟显示不一致)。 ![2.5](.\src\chap1\2.5.gif) ### 2.2 单元格格式 设置单元格格式可以点击单元格后,**右键-设置单元格格式**选项,或者按快捷键**ctrl+1**,或者通过工具栏:**开始-数字**去快速做更改。单元格可以设置的格式类型包括: * 数字:调整数值格式或者日期格式。 * 对齐:调整对齐方式。 * 字体:更改字体、字型、字号等。 * 边框:单元格边框设置。 * 填充:填充单元格背景颜色,标注数据经常使用。 * 保护:锁定单元格或者隐藏公式。 #### 2.2.1 数值格式 设置单元格格式分类选择数值,对数值设置小数点一般保留两位,同时能让数值对齐,使用千分位分隔符能更容易观察数值大小。 2.6 #### 2.2.2 文本格式 文本常见的设置格式用于对文本进行加单引号、双引号或者逗号的情况。 例如对真假日期中的假日期增加单引号 ![2.7](.\src\chap1\2.7.gif) #### 2.2.3 日期格式 通过日期分类调整日期格式为年-月-日,需要注意的是文本型的日期格式无法调整,而数值是可以调整为日期。 ![2.8](.\src\chap1\2.8.png) ### 2.3 转换单元格数据 #### 2.3.1 数值和文本相互转换 打开`data/chap1/2.1.xlsx`,将数值转换成文本 ![2.9](.\src\chap1\2.9.gif) #### 2.3.2 日期和文本相互转换 打开`data/chap1/2.1.xlsx`,将不规范日期转成规范日期,然后转成文本 ![2.10](.\src\chap1\2.10.gif) ## 练习 1. 使用Excel数据导入功能,完成`data/chap1/Titanic_normal.csv`和`data/chap1/Titanic_special.txt`数据导入 2. 完成`data/chap1/2.1.xlsx`中案例1-4中的问题 ================================================ FILE: Markdown/chap10.md ================================================ ## 第十章Excel看板 > 数据看板作为数据动态展示的一种重要方式,被广泛的应用于各个领域,因此本节根据1个案例讲解使用Excel制作数据看板的过程,以期起到抛砖引玉的效果,在学习技能的同时也将其应用到实践的工作中 ## 1.业务背景 打开`data/chap10/10.1.xlsx`中的数据源,这是某厂家在淘宝、拼多多、京东这3个电商销售平台的销售数据,现在你是这个厂家的员工,老板想知道商品在不同渠道的每周销售情况,想请你做一个数据周报看板。 ![10.1](.\src\chap10\10.1.png) ## 2.实现分析 1.既然是周报看板,需要确定每天日期所在周数与每周的第几天 2.根据确定周数对销售金额进行汇总 3.对销售金额进行动态展示 ## 3.实现过程 ### **1.**确定周数 确定日期所在的周数用【WEEKNUM函数】,确定日期是第几周可以用【WEEKDAY函数】 在H2单元格输入 **=WEEKNUM(B2,2)** 在I2单元格输入 **=WEEKDAY(B2,11)** (如果想得到中文星期几 可以输入 =TEXT(B2,"aaaa")) ![10.2](.\src\chap10\10.2.gif) ### **2.销售基础整理** 新建1个工作表,确定动态数据的变量为周数,并确定需要计算的指标,本周开始日期、介绍日期、销售额、订单数、上周销售额、上周订单数、销售额变化、订单数变化 使用公式求解相关的基础数据 在C3单元格输入公式`=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001)` 如果发现数据日期变成了44200,显然就是格式不正确,只需要将单元格的格式转为日期即可 ![10.3](.\src\chap10\10.3.gif) 在C4单元格输入公式`=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001,0,0,-1)` ![10.4](.\src\chap10\10.4.gif) 对于本周的销售额,可以使用SUMIFS函数获得 ,在C5单元格中输入 `=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)` ![10.5](.\src\chap10\10.5.gif) 对于本周的订单数,可以使用COUNTIFS函数获得 ,在C6单元格中输入 `=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)` ![10.6](.\src\chap10\10.6.gif) 对于上周开始日期,可以使用本周开始日期-7,在E3单元格中输入 `=C3-7` 对于上周结束日期,可以使用本周结束日期-7,在E4单元格中输入 `=C4-7` 对于上周销售额,可以使用SUMIFS函数获得 ,在E5单元格中输入 `=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)` 对于上周的订单数,可以使用COUNTIFS函数获得 ,在E6单元格中输入 `=COUNTIFS(数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)` ![10.7](.\src\chap10\10.7.gif) 对于相比上周销售额变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C7单元格中输入 `=TEXT(((C5-E5)/E5)*100,"0.00")&"%"` 对于相比上周订单数变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C8单元格中输入 `=TEXT(((C6-E6)/E6)*100,"0.00")&"%"` 当然也可以直接设置单元格格式为【百分比】 ![10.8](.\src\chap10\10.8.gif) 当然这个【相比上周销售额变化】指标是一个比较重要的指标,可以对这个指标进行格式设置 选择C6单元格并设置条件格式,判断C5单元格与E5单元格值的大小,如果C5>=E5,那么C6单元值为红,否则为绿色 ![10.9](.\src\chap10\10.9.gif) ### **3.周销售数据变化趋势** 对于每周的数据需要做一个统计,并对每周数据的下单金额与下单数进行整理 装B13-B19单元格输入星期数 现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式 `=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&'计算过程'!B13)` 现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式 `=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&'计算过程'!B13)` ![10.10](.\src\chap10\10.10.gif) 接下来就对数据进行可视化展示 ![10.11](.\src\chap10\10.11.gif) ### **4.周销售渠道整理** 对于每周的数据需要做一个统计,并对每周数据的渠道分布进行整理 装G3-G6单元格分别输入产品的电商渠道京东、拼多多、淘宝 在H3单元格中输入SUMIFS函数求不同渠道的销售金额,并进行向下填充 `=SUMIFS(数据源!$F:$F,数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)` 在I3单元格中输入COUNTIF函数求不同渠道的下单数,并进行向下填充 `=COUNTIFS(数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)` ![10.12](.\src\chap10\10.12.gif) 接下来就对数据进行可视化展示,将图片进行简单的美化,就可以得到下单金额饼状图与下单数的柱状图 ![10.13](.\src\chap10\10.13.gif) ### **5.看板绘制** 完成了前面的全部计算后,接下来的工作就是将绘制的图结合在一起进行展示 首先是上述计算的数据与绘图的信息集合到一起 ![10.13](.\src\chap10\10.13.png) 其中本周的总销量、本周订单数、当前周数、开始日期以及结束日期都是引用计算过程中的值 本周总销量的值为`=计算过程!$C$5` 本周总订单的值为`=计算过程!$C$6` 本周周数的值为`=计算过程!$C$2` 本周的开始日期为`=计算过程!$C$3` 本周的结束日期为`=计算过程!$C$4` 因为本周的变化情况带有条件单元格式,因此不能直接引用,需要将其转化成链接图片的形式,具体操作为 1.复制C7单元格 2.粘贴选择链接的图片 ![10.14](.\src\chap10\10.14.png) 对于本周的周数,需要设置按钮方便调节 1.选择开发工具 2.选择插入,选择数值调节按钮 3.选择设置控件格式 4.设置控件的对应参数 ![10.15](.\src\chap10\10.15.png) 到这里就完成了看板90%的步骤,点击按钮,能看动态展示看板的相关数据 ![10.16](.\src\chap10\10.16.png) 最后就对看板进行相应的美化,在看板美化过程中也参考了其他EXCEL教程中的配色,因此最后的看板展示效果为 ![10.17](.\src\chap10\10.17.png) ## 练习 1.完成数据看板,需要通过按钮调节周数,同时销售额,订单数以及数据图进行变化 ## 思考 ​ 1.为什么每周的介绍日期和开始日期都可以使用XLOOKUP获得 ​ 2.为什么每周1的下单金额之和可以通过SUMIF函数求 ​ 3.为什么设置按钮调节每周的数据变化,这样有什么好处 ## 后记 > 行文至此,以上就是Free-excel教程的全部内容,整个教程的编写过程中也广泛的参阅了各式各样的Excel教程,尽力让本教程变得轻松易学,希望读者能掌握相关的Excel技巧,并能灵活的运用到工作中,面对数字化社会,数据将渗透到生活的点点滴滴,拥抱数字,同时也拥抱变化。 > > --作者:牧小熊,Datawhale成员,数据分析师 ================================================ FILE: Markdown/chap2.md ================================================ # 第二章 Excel的快捷操作 > 在本节中我们将了解Excel中的各种快捷操作,目前已知的Excel快捷操作键有230个,本篇重点介绍那些常用的Excel快捷操作键。 ## 1.Excel快捷操作简介 ### 1.1文件相关 - `Ctrl` + `N` 创建一个新的Excel工作簿 - `Ctrl` + `w` 关闭当前工作簿 - `Ctrl` + `S` 保存当前的Excel工作簿 - `F12` 将当前文件进行另存为 - `Ctrl` + `p` 打印当前工作表 ### 1.2通用快捷键 - `Ctrl` + `z` 撤销当前操作 - `Ctrl` + `Y` 恢复撤销,可以用这个快捷键恢复被撤消的操作 - `Ctrl` + `C` 复制所选单元格 - `Ctrl` + `x` 剪切所选单元格 - `Ctrl` + `v` 粘贴所选单元格 - `Ctrl` + `F` 弹出查找和替换对话框 - `Ctrl` + `G` 显示定位对话框 ### 1.3表格选择 - `Ctrl` + `A` 全选表格 - `Ctrl` + `→` 移动到数据区域的右边缘 - `Ctrl` + `←` 移动到数据区域的左边缘 - `Ctrl` + `↑` 移动到数据区域的上边缘 - `Ctrl` + `↓` 移动到数据区域的下边缘 ### 1.4单元格编辑 - `F2` 编辑当前单元格(跟双击单元格效果一致) - `Alt` + `Enter` 在当前单元格内换行 (直接按 `Enter`会跳转到下一行) - `Enter` 下移一个单元格 - `Shift` + `Enter` 上移一个单元格 - `Tab` 右移一个单元格 - `Shift` + `Tab` 左移一个单元格 - `Ctrl` + `Enter` 输入完成,并停留在当前单元格 - `Ctrl` + `;`(分号) 输入当前日期(显示为年/月/日) - `Ctrl` +` Shift` + `: ` 输入当前时间 (显示为小时/分钟) - `Ctrl` + `E` 快速填充 ### 1.5Excel格式化 - `Ctrl` + `1`(数字1) 设置单元格格式 - `Ctrl` + `B` 加粗或取消加粗 - `Ctrl` + `i` 加斜体或取消斜体 ### 1.6Excel公式 - `F4` 绝对引用和相对引用切换 - `Alt`+`=` 自动插入求和公式 ## 2.Excel快捷操作实践 ### 2.1自动插入求和公式 打开文件`data/chap2/2.1.xlsx`,点击【案例1】 1.选中案例1中的表格区域(**注意这里要把汇总的那一行也选上**) 2.使用快捷键`Alt`+`=` ,自动插入求和公式,可以看到,对上述的Excel表格区域进行自动求和。 ![2.1](.\src\chap2\2.1.gif) ### 2.2自动进行列差异比对 打开文件`data/chap2/2.2.xlsx`,点击【案例1】,我们现在的任务是找到1月和2月客户数不同的区域,如何快速定位? 1.选中需要进行列差异比对的区域,注意选择顺序从左往右 2.使用快捷键`ctrl`+`\` (**注意是“\”不是"/"**),可以快速定位到区域4、区域8以及区域10所对应的客户数不同 3.选择填充颜色,即可快速显示两列的差异 注意这里的选择方向,从右往左选择,那么默认最右边为参考标准,其他列的数据可参考标准比较,如果从左往右选择,那最左边就是参考标准,其他的操作同上。 ![2.2](.\src\chap2\2.2.gif) ### 2.3自动填充 在excel中很多重复、繁琐的工作由数据提取和数据合并这类问题造成,**2013年以后的Excel**支持智能填充,能灵活的解决这类问题。需要注意的是,自动填充的数据需要是同一个规范数据才可以完成自动填充。 打开文件`data/chap2/2.3.xlsx`,点击【案例1】,需要提取客户的手机号 1.手动提取客户1的手机号,并输入到【B2】 2.选择需要快速填充的列,也就是【B2-B11】 3.按`ctrl`+`E`进行自动填充 ![2.3](.\src\chap2\2.3.gif) ## 练习 1.完成`data/chap2/2.1.xlsx`工作簿中的【案例2】【案例3】的快捷键自动求和任务 2.完成`data/chap2/2.2.xlsx`工作簿中的【案例2】【案例3】的多行快速比对任务(提示:需要选中所有待比对表格框) 3.完成`data/chap2/2.3.xlsx`工作簿中的【案例2】【案例3】【案例4】的填充任务 ================================================ FILE: Markdown/chap3.md ================================================ # 第三章 Excel的表合并 > 当遇到需要将多个表的行记录合并在一起的时候,我们一般会手动复制粘贴,这会带来很多重复繁琐的操作,并且容易出错,可以使用Excel的合并计算工具来快速完成。 ## 1.多表行合并 打开文件`data/chap3/3.1.xlsx`,点击【案例1】可以看到有3个消费表格,每个客户的消费金额不同,现在需要你统计每个客户在消费的总金额。 一般的操作方法是将这3个数据复制粘贴,那么有没有更加优雅的方法呢?这里推荐使用合并计算 **1.选择需要汇总的单元格起点** **2.选择Excel中的数据栏** **3.找到数据栏中的合并计算块** **4.选择合并计算函数中的求和** **5.点击引用位置右侧的引用项** **6.选择第一个数据表所在的范围** **7.点击添加** **8.将3个数据表添加到所有引用位置** **9.选择标签位置信息** **10.点击完成** 可以看到完成了所有客户消费金额的求和计算~ ![3.1](.\src\chap3\3.1.gif) ## 2.多表列合并 打开文件`data/chap3/3.1.xlsx`,点击【案例2】可以看到有3个不同的消费表格,每个客户的消费金额不同,现在需要你统计每个客户在3个不同消费的总金额。 使用合并计算选择3个不同项目的数据区域 ![3.2](.\src\chap3\3.2.gif) ## 练习 ​ 1.选择`data/chap3/3.1.xlsx`工作簿中的【案例1】得到不同客户的消费次数 ​ 2.选择`data/chap3/3.1.xlsx`工作簿中的【案例2】得到不同客户的不同项目的消费次数 ================================================ FILE: Markdown/chap4.md ================================================ # 第四章 Excel函数-逻辑判断 > Excel中有着非常丰富的函数,这些函数能大幅度提升我们的工作效率,本节中会重点介绍一些常用的Excel函数。 ## 1.if函数 打开文件`data/chap4/4.1.xlsx`,点击【案例1】,现在需要对客户的原始得分进行校正,当客户的原始得分为负时,校正为0 针对上面遇到的问题,可以使用IF函数,Excel函数用法如下 【IF函数】**=IF(判断条件,如果满足则,如果不满足则)** 针对遇到的问题,那么在C2单元格中输入 **=IF(B2<0,0,B2)** ----> **注意,这里的逗号要使用英文的逗号** 那么这个公式是什么意思呢?判断B2单元格是不是小于0,如果是,则C2单元格为0,如果不是则返回B2单元格的值,可以看到C2单元格实际返回值为0,这是因为B2的值为-1,满足判断条件,因此C2单元格返回为0 那么如何进行公式批量填充呢? 这里推荐一个比较优雅的方法 1.在C2单元格写Excel公式 2.选择需要填充公式的区域,包括C2单元格 3.点击C2单元格,进入公式编辑状态 4.使用快捷键`CTRL`+`Enter`进行批量填充 ![4.1](.\src\chap4\4.1.gif) 打开文件`data/chap4/4.1.xlsx`,点击【案例2】,现在有客户的1月、2月消费金额,如果客户2个月的消费金额都超过400,那么就认为这个客户为高消费客户。 这里与5.1中的案例不同,需要IF函数与逻辑函数进行配合 【AND函数】**=AND(条件1,条件2,...)** 【OR函数】**=OR(条件,条件2,...)** AND函数,需要所有条件全部满足,才返还TRUE,OR函数,所有条件中只要有1个条件满足,就返还TRUE 针对遇到的问题,那么在D2单元格中输入 **=IF(AND(B2>400,C2>400),"高消费客户","")** -----> 这里""代表返回空值 随后对整列的函数进行填充,具体填充方法见5.1中详解 ![4.2](.\src\chap4\4.2.gif) ## 2.ifs函数 打开文件`data/chap4/4.1.xlsx`,点击【案例3】,有员工的相关考核分,考核得分在4.8分以上,优秀;考核得分在3.5-4.7分,良好;考核得分在0-3.4分,一般。 这里可以使用IFS函数,具体用法为 【IFS函数】=IFS(判断条件1,如果满足条件1则,判断条件2,如果满足条件2则) 针对遇到的问题,则可以在C2单元格输入 **=IFS(B3<=3.4,"一般",AND(B3>=3.5,B3<=4.7),"良好",B3>=4.8,"优秀")** 对整列数据进行函数填充 ![4.3](.\src\chap4\4.3.gif) ## 3.sumif函数 > 在Excel数据任务处理中,会遇到大量的求和的任务,SUMIF函数在求和任务中具有天然优势,因此在本节中将详细的讲解SUMIF函数的相关用法 【SUMIF函数】=SUMIF(条件区域,求和条件,[实际求和区域]) --->实际求和区域位选择条件 ### 案例1 打开`data/chap4/4.2xlsx`中的【案例1】现在有几名同学的考试成绩,现在想统计数学成绩在90分以上的成绩之和 那么可以输入如下的函数公式 **=SUMIF(B:B,">=90",B:B)** 第一个参数为条件区域,因为要判断数学成绩,所以这里选择B列,当然这里也可以修改为实际的区域B2:B12 第二个参数为判定条件,判定条件为大于等于90 第三个参数为实际求和区,这是选填参数 ![4.4](.\src\chap4\4.4.gif) ### 案例2 打开`data/chap4/4.2xlsx`中的【案例2】,现在想统计小米系列的产品销售额 SUMIF函数支持模糊匹配,因此我们输入如下公式 **=SUMIF(B:B,"小米*",C:C)** 使用小米*匹配所有的小米系产品 ![4.5](.\src\chap4\4.5.gif) ### 案例3 打开`data/chap4/4.2xlsx`中的【案例3】,现在想统计1月-3月的预计销售额预计销售和实际销售额 因此可以巧用SUMIF函数,将条件区域进行横向选择,条件选择自己需要的字段,因此输入如下两个函数公式,并向下拖拽填充其他位置 `=SUMIF($B$2:$G$2,I$2,B3:G3)` `=SUMIF($B$2:$G$2,H$2,B3:G3)` `$`在Excel中是绝对引用,公式中引用的单元格如果使用绝对引用 `$`,那么向下拖拽的过程中,这个单元格不会增加。 ![4.6](.\src\chap4\4.6.png) 例如,在J3单元格中输入`=C3`,在K3单元格中输入`=$C$3`并向下拖拽进行公式填充,观察区别 发现,如果使用绝对引用,引用格式值并不会随着公式的拖拽而改变,这就是绝对引用与非绝对引用的区别。 ![4.7](.\src\chap4\4.7.gif) ### 案例4 打开`data/chap4/4.2xlsx`中的【案例4】,现在需要统计语文成绩在80分以上,90分以下同学的数学成绩之和 那么遇到这种情况应该怎么处理呢?相比于前面的案例,这里有2个筛选条件,而SUMIF函数无法满足需求,这里可以使用SUMIFS函数 【SUMIFS函数】=SUMIFS(求和区域,条件区域1,条件1,条件区域2,条件2) 因此写如下函数公式 **=SUMIFS(C2:C13,B2:B13,">80",B2:B13,"<90")** 因为要求数学成绩,所以第一个参数为C2:C13,而筛选条件为语文,因此条件区域为B2:B13 ![4.8](.\src\chap4\4.8.gif) ## 4.countifs函数 打开`data/chap4/4.2xlsx`中的【案例5】,现在需要统计语文成绩超过60,数学成绩超过65,英语成绩超过70的同学个数 那么遇到这种情况应该怎么处理呢?其实countifs函数与sumifs函数用法非常接近,求满足所有条件的个数 【COUNTIFS函数】=COUNTIFS(条件区域1,条件1,条件区域2,条件2) 因此写如下函数公式 **=COUNTIFS(B2:B13,">60",C2:C13,">65",D2:D13,">70")** ![4.9](.\src\chap4\4.9.gif) ## 练习 1.选择`data/chap4/4.1.xlsx`工作簿中的【案例1】,将客户原始得分为1以下的校正为0 2.选择`data/chap4/4.1.xlsx`工作簿中的【案例2】,客户1月2月中只要有1个月消费超过400,即为"高消费客户" 3.选择`data/chap4/4.1.xlsx`工作簿中的【案例3】,能否不使用IFS函数,使用IF函数通过嵌套完成相应的务。 4.打开`data/chap4/4.2xlsx`中的【案例1】语文成绩在80分以上的同学成绩之和 5.打开`data/chap4/4.2xlsx`中的【案例2】统计所有苹果系列产品的销售额 6.打开`data/chap4/4.2xlsx`中的【案例6】完成所有手机的销售额求和 ================================================ FILE: Markdown/chap5.md ================================================ # 第五章 Excel函数-文本函数 ## 1.Text函数 Text函数可以将数值转换为指定格式的文本,其语法格式为TEXT(value,format_text) 【TEXT函数】=TEXT(值,自定义数字格式代码) ### 案例1 打开`data/chap5/5.1.xlsx`,点击【案例1】,将客户的消费日期和消费金额转成大写 针对遇到的问题,那么在D2单元格中输入 **=TEXT(C2,"[DBNUM2]")** ----> **注意,这里的逗号要使用英文的逗号** 在E2单元格中输入 **=TEXT(A2,"[DBNUM1]yyyy年m月d日")** DBNUM1和DBNUM2为2种常见的中文格式,一般金额用DBNUM2,日期用DBNUM1 ![5.1](.\src\chap5\5.1.gif) ### 案例2 打开`data/chap5/5.1.xlsx`,点击【案例2】,将客户的消费日期转换为周次,即星期几 针对遇到的问题,那么在D2单元格中输入 **=TEXT(A2,"aaaa")** ![5.2](.\src\chap5\5.2.gif) ### 案例3 打开`data/chap5/5.1.xlsx`,点击【案例3】,取客户消费的年、月、日 针对遇到的问题,那么在D2单元格中输入 **=TEXT(A2,"yyyy")** 或者 **=TEXT(A2,"e")** 在E2单元格中输入 **=TEXT(A2,"m")** 或者 **=TEXT(A2,"mm")** 注意.这2种格式是有区别的 在F2单元格中输入 **=TEXT(A2,"d")** 或者 **=TEXT(A2,"dd")** ![5.3](.\src\chap5\5.3.gif) ## 2.mid函数 打开`data/chap5/5.2.xlsx`,点击【案例1】,提取身份证中的生日,并转换成2022年12月4日这种格式 面对这个问题,可以使用mid函数提取生日 【MID函数】=MID(text,start_num,num_chars) test:为要提取的文本字符串 start_num:为文本中要提取的第一个字符串的位置 num_chars为提取字符串的长度 因此可以在B2中输入 因为生日是8位数字,所以最后一个参数填8 **=MID(A2,7,8)** 在C2中输入格式化的生日 **=TEXT(MID(A2,7,8),"0000年00月00日")** 问题:这里TEXT函数格式为什么没有使用yyyy年mm月dd日 这种格式? 因为MID(A2,7,8)提取出来的是文本,不是日期,因此Excel无法识别日期的年月,所以用数字格式进行代替 ![5.4](.\src\chap5\5.4.gif) 文本提取中相似的函数有LEFT,RIGHT LEFT函数,以字符串左侧为起始位置,返回指定数量的字符 【LEFT函数】=MID(text,,num_chars) text:要提取的字符串或单元格引用; num_chars:要提取的字符数量 RIGHT函数,从字符串右侧首字符开始,从右向左提取指定的字符,其功能和LEFT函数完全一样,只是方向不同 【RIGHT函数】=MID(text,num_chars) text:要提取的字符串或单元格引用; num_chars:要提取的字符数量 ## 3.replace函数 打开`data/chap5/5.2.xlsx`,点击【案例2】,现在需要将Excel表格打印,为了不泄露客户电话号码,需要将电话后5位进行屏蔽 REPLACEI函数作用:把一个文本字符串,人为指定一个位置,用定个数新字符进行替换。 【REPLACEI函数】=REPLACEI(old_text,start_num,num_chars,new_text) old_text:需要替换的文本 start_num:需要替换文本的开始位置 num_chars:替换文本的长度 new_text:替换内容 因此可以在B2单元格中输入 **=REPLACE(A2,11,5,"#####")** ![5.5](.\src\chap5\5.5.gif) ## 练习 1.完成`data/chap5/5.1.xlsx`工作簿中的【案例1-3】 2.完成`data/chap5/5.2.xlsx`工作簿中的【案例1】中身份证后6位加密 ================================================ FILE: Markdown/chap6.md ================================================ # 第六章 Excel函数-查找函数 > VLOOKUP是经典的查找与引用函数,在Excel数据查询任务中有多种用途。XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,**非常推荐大家使用XLOOKUP函数**,如果自己的电脑Excel不是最新版不支持XLOOKUP函数,也可以来学习VLOOKUP函数。 > 在本节教程中会重点介绍XLOOKUP函数的相关用法,对于VLOOKUP不好解决,XLOOKUP能解决的问题放在了【案例5】、【案例6】、【案例7】 ## 1.VLOOKUP ### 案例1 打开文件`data/chap6/6.1xlsx`,点击【案例1】,根据岗位编号,得到该员工的应发工资 针对这个问题,可以使用VLOOKUP函数 【VLOOKUP函数】**=VLOOKUP(要查找的值,查找区域,要返回的结果在查找区域的第几列,精确匹配或近似匹配)** **在L3单元格中输入如下公式** **=VLOOKUP(K2,A2:H50,8,FALSE)** 因为应发工资在整个单元格中的第8列,所以第3个参数为8,第4个参数选择TRUE或者FALSE,TRUE为模糊匹配,FALSE为精确匹配,因此第4个参数选择为FALSE, 有的EXCEL版本第4个参数是0是精确查找,1是精确匹配,根据实际情况输入即可。 ![6.1](.\src\chap6\6.1.gif) ### 案例2 打开文件`data/chap6/6.1xlsx`,点击【案例2】,根据岗位编号,得到该员工的应发工资 在案例2的任务中我们发现,这里的员工的编号位于最后一列,那么应该如何处理呢? 如果按照正常的VLOOKUP的函数用法在L2单元格输入=VLOOKUP(K2,A2:H19,7,FALSE),输入后会发现并没有安装预期得到应发工资。 ![6.2](.\src\chap6\6.2.gif) 这是因为VLOOKUP函数的限制,必须查找的区域在被查找值的左侧,当然这里有其他的办法解决。 这里用到了换列的小技巧,如果感兴趣可以看相关文章,[Excel技巧:一文搞懂 IF{1,0} 的用法](https://zhuanlan.zhihu.com/p/377654196) 那么在L2中输入如下函数 **=VLOOKUP(K2,IF({1,0},H2:H19,G2:G19),2,FALSE)** 这个函数中,将G2:G17列与H2:H19列做成了一个临时数据组,并让这2列交换位置,这样G2:G19列就在临时数组中的第2列,因此VLOOKUP中第3个参数为2 ![6.3](.\src\chap6\6.3.gif) ### 案例3 打开文件`data/chap6/6.1xlsx`,点击【案例3】,根据性别与部门信息,获得员工编号 案例3的任务与前面不同的是,无法只通过1个信息完全定位到员工编号,因此这里使用了一个技巧,在L3单元格中输入 **=VLOOKUP(J2&K2,IF({1,0},C2:C20&D2:D20,A2:A20),2,0)** 细心的同学可能发现了其中的技巧,就是将多个条件通过&连接成一个字符串,同时将待查找的数据也连接起来,从而通过这个连接的特殊字符来查找数据 ![6.4](.\src\chap6\6.4.gif) ### 案例4 打开文件`data/chap6/6.1xlsx`,点击【案例4】,当不知道具体的信息,需要进行模糊查询 那么如何使用VLOOKUP进行模糊查询呢? **=VLOOKUP("*"&K2,A2:F20,2,0)** Excel中的通配符匹配规则见如下,因为DW为2个字符,我们选择* 还记得第四章中的SUMIFS函数中的案例,计算小米系列的销量中,我们就使用了通配符 ![6.5](.\src\chap6\6.5.png) ![6.6](.\src\chap6\6.6.gif) ## 2 XLOOKUP > XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,**非常推荐大家使用XLOOKUP函数**,如果不能支持这个函数也不用灰心,使用VLOOKUP函数也能完成绝大多数查询问题 因为XLOOKUP函数功能非常强大,因此在本节中对函数进行讲解 【XLOOKUP函数】**==XLOOKUP(想要查找值, 想要在哪个数据区域中查找, 要返回的数据区域,, [if_not_found], [match_mode], [search_mode])** 第四参数(可选参数):if_not_found,找不到结果,就返回第四参数,如果省略第四参数函数默认返回#N/A这个错误值 第五参数(可选参数):match_mode,指定匹配类型 参数为:0 ,精确匹配,未找到结果,返回 #N/A。 这是默认选项。 参数为:-1,近似匹配,未找到结果,返回下一个较小的项。 参数为:1,近似匹配,未找到结果,返回下一个较大的项。 参数为:2 ,通配符匹配 第六参数(可选参数):search_mode, 指定要使用的搜索模式 参数为:1,从第一项开始执行搜索。 这是默认选项。 参数为:-1,从最后一项开始执行反向搜索。 参数为:2,根据 lookup_array 按升序排序的二进制搜索。 如果未排序,将返回无效结果。 参数为:-2,根据lookup_array 按降序排序的二进制搜索。 如果未排序,将返回无效结果。 ### 案例1 打开文件`data/chap6/6.1xlsx`,一起来实现【案例1】 我们在M2单元格中输入如下公式 **=XLOOKUP(K2,A1:A50,H1:H50)** 第1个K2 就是需要查询的岗位编号DW0005 第2个参数为A1:A50,也就是要查哪一列,**细心的同学已经注意到这里与VLOOKUP的不同** 第3个参数就是需要返回的哪一列,也就是返回H列 ### 案例2 打开文件`data/chap6/6.1xlsx`,一起来实现【案例2】 我们在L2单元格中输入如下公式 **=XLOOKUP(J2,H1:H19,G1:G19)** 细心的同学就发现上面的公式中没有用到列的转换,这个公式的可读性非常强,这是就是XLOOKUP比VLOOKUP更加强大的地方 ### 案例3 打开文件`data/chap6/6.1xlsx`,一起来实现【案例3】 我们在M2单元格中输入如下公式 **=XLOOKUP(J2&K2,C1:C20&D1:D20,A1:A20)** 在XLOOKUP中的多条件查找,只需要使用**&**,将多个条件的信息连接起来即可,非常的方便 ### 案例4 打开文件`data/chap6/6.1xlsx`,一起来实现【案例4】 我们在M2单元格中输入如下公式 **=XLOOKUP("*"&K2,A2:A20,B2:B20,,2)** 在使用XLOOKUP进行通配符查找事,需要指定第5个参数为2,即告诉XLOOKUP需要用通配符进行查找,这里是好VLOOKUP不同的地方 具体通配符用法,可见1.4的讲解 ### 案例5 打开文件`data/chap6/6.1xlsx`,一起来实现【案例5】,姓名6在数据表中出现了2次,想知道他的最后销售额应该怎么操作? 我们在I2单元格中输入如下公式 **=XLOOKUP(H2,B1:B20,F1:F20,0,0,-1)** 前3个参数想必大家已经很熟悉了,第4个参数是0,就是当XLOOKUP查找不到时,就返回0,第5个参数是0,就是选择精确匹配,第6个参数选择搜索参数,这里选择-1,从后开始往前搜索,因此这样设置就能获得正确结果。 ### 案例6 打开文件`data/chap6/6.1xlsx`,一起来实现【案例6】,这里有4个人,现在想知道这4个人的最大销售额 **=MAX(XLOOKUP(H2:H5,B2:B20,F2:F20,0,0,1))** 先通过XLOOKUP批量查找这4个人销售额,再通过MAX函数,求这4个人中的最大的销售额。 ![6.7](.\src\chap6\6.7.gif) ### 案例7 打开文件`data/chap6/6.1xlsx`,一起来实现【案例7】,当数据集以横向形式时,如果查询到需要的数据 在C2单元格中输入如下公式 **=XLOOKUP(B6,B2:L2,B1:L1)** 细心的同学发现,横向数据的查询方法与纵向数据并无太大区别 ![6.8](.\src\chap6\6.8.gif) ## 练习 ​ 1.选择VLOOKUP和XLOOKUP这2种函数中的一种,完成`data/chap6/6.1xlsx`中的【案例1-4】 ================================================ FILE: Markdown/chap7.md ================================================ # 第七章 Excel函数-动态函数 > 在本节中会讲解一些Excel更新的动态函数,从而帮助大家更好的掌握Excel的数据处理与分析 ## 1.FILTER函数 > 在工作中,我们需要根据指定的条件,将符合条件的所有记录从数据源表格式查找过来,一是可以用高级筛选。但高级筛选在查询下一个单位时 ,需要重新设置一次,很麻烦。二是用函数公式查询。典型的套路有:INDEX+SMALL+ROW、或者LOOKUP+COUNTIF+OFFSET,而这样的方法对初学者非常不友好,而EXCEL新更新的感受FILTER可以很好的解决这个问题。 【FILTER】函数=FILTER(数据区域,筛选条件,[无满足条件的记录时返回的值]) 接下来就看看FILTER的实际应用案例 ### 案例1 打开`data/chap7/7.1xlsx`中的【案例1】 获得湖北区的相关数据 在J2单元格中输入 **=FILTER(A2:G30,C2:C30="湖北区")** 注意数据区域不包含标题 生成的数据的动态数组(WPS由于不兼容动态数组,稍微和Excel有点区别,会产生数据溢出的情况) ![7.1](.\src\chap7\7.1.gif) ### 案例2 打开`data/chap7/7.1xlsx`中的【案例1】 如果在实际的任务中不需要所有的列,只需要其中的几行,那么应该怎么操作? 可以在K2单元格中输入 **=FILTER(F2:G30,C2:C30="湖北区")** 细心的同学就发现了这里与7.1.1中的不同,如果需要返回其中的几行,只需要将数据区域修改为自己需要的区域即可 现在需要知道湖北区的最大销售金额是多少 **=MAX(FILTER(F2:F30,C2:C30="湖北区"))** ![7.2](.\src\chap7\7.2.gif) ### 案例3 打开`data/chap7/7.1xlsx`中的【案例1】 FILTER函数中的多条件筛选,使用`+`来表示或,使用`*`表示且 例如,需要计算湖北区、湖南区大最大销售金额,那么函数公式为 **=MAX(FILTER(F2:F30,(C2:C30="湖北区")+(C2:C30="湖南区")))** ![7.3](.\src\chap7\7.3.gif) 例如,需要计算湖北区商品2的最大销售金额,那么函数公式为 **=MAX(FILTER(F2:F30,(C2:C30="湖北区")*(D2:D30="商品2")))** ![7.4](.\src\chap7\7.4.gif) ## 2.SUBTOTAL函数 Excel中有数据筛选非常好用,那么,如果想统计筛选后的结果应该怎么弄?例如想知道筛选后的销售总额 打开`data/chap7/7.2xlsx`中的案例1,使用筛选选择不同的区,而SUM求和并没有变化 如果想实现上述需求,可以使用【SUBTOTAL函数】 【SUBTOTAL函数】=SUBTOTAL(功能函数,选择区域) 功能函数 数字 1-11 或 101-111,用于指定要为分类汇总使用的函数。 如果使用 1-11,将包括手动隐藏的行,如果使用 101-111,则排除手动隐藏的行;始终排除已筛选掉的单元格。详见附件1 在J2单元格中输入如下公式 **=SUBTOTAL(9,F2:F21)** 可以看到SUBTOTAL对筛选的数据列进行正确的求和,而SUM无法跟随选择的数据列进行正确求和 ![7.5](.\src\chap7\7.5.gif) 【附件1】 ![7.6](.\src\chap7\7.6.png) ## 练习 1.打开`data/chap7/7.1xlsx`中的【案例1】计算河北区中商品1的最小销售额 2.打开`data/chap7/7.1xlsx`中的【案例1】计算湖北中什么渠道下的什么商品具有最高销售额 ================================================ FILE: Markdown/chap8.md ================================================ ## 第八章Excel数据可视化 > 对于Excel中的数据可视化,相信各位读者应该能很熟练的使用,使用Excel汇总各种类型图,包括柱状图、折线图等等,从而让数据进行图形化展示。基于此,本节中对Excel中的数据作图部分不做展开讲解,本节更加偏重于讲解另一类辅助数据可视化的部分。 ## 1 条形图 打开`data/chap8/8.1xlsx`中的【案例1】,现在有湖北区2022/01/01的不同商品的销售额,怎么更加直观的展示销售额之间的差别呢? 这里可以使用条形图对销售的金额进展可视化展示 选择【开始】-->【条件格式】-->【数据条】 ![8.1](.\src\chap8\8.1.gif) 通过对销售金额进行数据条的填充,读者可以很快锁定湖北区2022/01/01销售额中,韩闲具有最高销售额为9442 如果只想显示条形图,不想显示金额应该如果操作? 选择条形图区域--->条件格式--->管理规则 打开管理规则后可以看到,选择设置的规则,点击编辑规则 选择仅显示数据条,当然可以在颜色的地方选择自己喜欢的颜色 选择之后得到如下效果 ![8.2](.\src\chap8\8.2.gif) ## 2 条件单元格格式 打开`data/chap8/8.2xlsx`,现在有不同业务员向客户推销商品的相关信息,现在需要将截止日期还没有过今天的标注出来,应该如何操作? EXCEL中【TODAY】函数可以获得当前日期 这里,可以使用Excel中的条件格式进行自动识别 1.选择需要设置条件的列; 2.选择条件格式; 3.选择新建规则 这里选择使用公式确定要设置格式的单元格 因为选择的区域为B2:B10 因此输入的公式满足B2要求,剩余的单元格会自动填充,因此输入的公式为 **=B2>TODAY()** 接下来设置单元格的格式,在本节示范中选择对满足条件的单元格填充为黄色,得到如下效果图 ![8.3](.\src\chap8\8.3.gif) ## 3 迷你图 打开`data/chap8/8.3.xlsx`中原始数据,现在知道不同业务员1-12月的销售额,且销售额最差月份以及业务员的销售额的变化趋势,应该怎么操作? 1.确定销售额最差月份 这里可以使用XLOOKUP公式,具体公式为 `=XLOOKUP(MIN(B2:M2),B2:M2,$B$1:$M$1)` ![8.4](.\src\chap8\8.4.gif) 2.在B2插入新的单元格,命名为趋势图 点击插入,找到迷你图部分,选择折线,数据范围选择为C2:N13,防止迷你图的位置选择在B2:B13单元格 ![8.5](.\src\chap8\8.5.gif) 生成迷你图后,可以在显示处,调整迷你图显示的重要点,这里显示折线中的最低点,通过图中可以看到,蔡勇仁的销售业绩趋势是不断下降,而江宁寒的销售业绩不断上升,迷你图能够很好的展示原数据与数据变化的趋势情况 ![8.6](.\src\chap8\8.6.gif) ## 练习 ​ 1.选择`data/chap8/8.2.xlsx`工作簿中的【案例1】,对拜访客户数大于5以上的业务员进行黄色填充 ================================================ FILE: Markdown/chap9.md ================================================ ## 第九章 Excel数据透视 > 数据透视是Excel中个强大的数据处理和分析工具,能够快速实现数据的汇总与统计分析,本节重点讲解Excel数据透视的相关操作 ## 1Excel数据透视表 打开`data/chap9/9.1.xlsx`中的数据源,现在对数据源进行数据透视 1.选择插入 2.选择数据透视表 3.选择表格区域 4.选择数据透视表放置的位置 可以看到,在新的数据表中出现了数据透视表 ![9.1](.\src\chap9\9.1.gif) 例如,想知道不同月份的不同区域销售金额统计情况,可以将区域置于列,月置于行,金额的求和项置于值,即可得到不同区域不同月份的销售金额之和 ![9.2](.\src\chap9\9.2.gif) 如果又想知道不同店员的销售额怎么办呢? 1.点击数据透视表分析 2.点击插入切片器 3.选择插片器的字段 点击不同的店员,可以直接统计该店员的销售额,这里的插片器相当于直接筛选店员的数据做统计。如果想统计多个店员的数据,可以点击切片器的多选项,可以同时统计多个店员的数据。 ![9.3](.\src\chap9\9.3.gif) ## 2Excel数据透视图 打开`data/chap9/9.1.xlsx`中的数据源,现在对数据源进行数据透视图 1.选择插入 2.选择数据透视图 3.选择创建数据透视图,选择数据源作为数据区域 4.选择新工作表 ![9.5](.\src\chap9\9.5.gif) 选择月为类别,选择区域为图例,选择金额求和作为值,得到如下透视图 ![9.6](.\src\chap9\9.6.gif) 如果,想切换透视图的类型,可以选择不同的图像类型,例如我们想知道不同月份销售的变化趋势,可以选择为折线图 ![9.7](.\src\chap9\9.7.gif) 当然数据透视图也支持插片器,同样是选择店员作为切片的条件 ![9.8](.\src\chap9\9.8.gif) ## 练习 ​ 1.选择`data/chap9/9.1.xlsx`工作簿中的【数据源】绘制不同的透视图 ================================================ FILE: Markdown/src/1.txt ================================================ ================================================ FILE: Markdown/主页.md ================================================ # 主页 free excel中文意为自由Excel,源于希望学习者能够通过该教程能够更加自由地使用Excel进行数据分析、数据统计,解放Excel不再为Excel所困。内容上会更加偏实践应用,力求尽可能简单而又具有一定深度。其他很多教程都是按功能模块来讲解,而且还详细的说明每个功能,令人枯燥乏味。Free Excel根据多年工作经验总结而成,很多内容是常用且重要的,同时学完后能加深对Excel的理解。授之以鱼不如授之以渔,让我们开始愉快的Excel之旅吧! 本教程的数据集在 [此处](https://github.com/datawhalechina/free-excel) 下载。 ## 教程大纲 ![home](D:\Myfolders\桌面\test\Markdown\src\home.png) # 更新版本与更新时间 - V1.0 2021-08-08 - V2.0 2022-09-09 - V2.1 2022-11-27 V2.1教程配套Excel版本为2019及以上,请自行装好环境以便操作。如果电脑没有Excel,可以下载WPS进行相关的操作学习。 注:本课程中部分函数为Excel新更新的内容,如果想体验Excel新添加的函数,可将Excel更新至最新版,或将WPS更新至11.1版及以上 ================================================ FILE: Markdown/作者.md ================================================ # 作者 牧小熊,华中农业大学硕士,Datawhale成员,互联网金融数据分析师 ## 开源内容 - [《free-excel》](https://github.com/datawhalechina/free-excel) - [《心跳信号分类》](https://github.com/datawhalechina/team-learning-data-mining/tree/master/HeartbeatClassification) - [《python自动化办公》](https://github.com/datawhalechina/office-automation) - [《如何打一个数据挖掘比赛- 入门篇》](https://linklearner.com/#/learn/detail/0) ## 如何联系我 :https://github.com/muxiaoxiong :1335008986@qq.com :https://www.zhihu.com/people/muxiaoxiong 知乎 ================================================ FILE: Markdown/练习题参考操作.md ================================================ ## 练习题参考操作 ## 第一章 1.1使用Excel数据导入功能,完成`data/chap1/Titanic_normal.csv`和`data/chap1/data/chap1/Titanic_special.txt`数据导入 ![1.1](.\src\练习题参考操作\1.1.gif) 1.2完成`data/chap1/2.1.xlsx`中案例1-4中的问题 ![1.2](.\src\练习题参考操作\1.2.gif) ## 第二章 2.1.完成`data/chap2/2.1.xlsx`工作簿中的【案例2】【案例3】的快捷键自动求和任务 ![2.1](.\src\练习题参考操作\2.1.gif) 2.2.完成`data/chap2/2.2.xlsx`工作簿中的【案例2】【案例3】的多行快速比对任务(提示:需要选中所有待比对表格框) ![2.2](.\src\练习题参考操作\2.2.gif) 2.3.完成`data/chap2/2.3.xlsx`工作簿中的【案例2】【案例3】【案例4】的填充任务 ![2.3](.\src\练习题参考操作\2.3.gif) ## 第三章 3.1.选择`data/chap3/3.1.xlsx`工作簿中的【案例1】得到不同客户的消费次数 3.2.选择`data/chap3/3.1.xlsx`工作簿中的【案例2】得到不同客户的不同项目的消费次数 ![3.1](.\src\练习题参考操作\3.1.gif) ## 第四章 4.1.选择`data/chap4/4.1.xlsx`工作簿中的【案例1】,将客户原始得分为1以下的校正为0 4.2.选择`data/chap4/4.1.xlsx`工作簿中的【案例2】,客户1月2月中只要有1个月消费超过400,即为"高消费户" 4.3.选择`data/chap4/4.1.xlsx`工作簿中的【案例3】,能否不使用IFS函数,使用IF函数通过嵌套完成相应的务。 ![4.1](.\src\练习题参考操作\4.1.gif) 4.4.打开`data/chap4/4.2xlsx`中的【案例1】语文成绩在80分以上的同学成绩之和 4.5.打开`data/chap4/4.2xlsx`中的【案例2】统计所有苹果系列产品的销售额 4.6.打开`data/chap4/4.2xlsx`中的【案例6】完成所有手机的销售额求和 ![4.2](.\src\练习题参考操作\4.2.gif) ## 第五章 5.1.完成`data/chap5/5.1.xlsx`工作簿中的【案例1-3】 参考教程 5.2.完成`data/chap5/5.2.xlsx`工作簿中的【案例1】中身份证后6位加密 ![5.2](.\src\练习题参考操作\5.2.gif) ## 第六章 6.1.选择VLOOKUP和XLOOKUP这2种函数中的一种,完成`data/chap6/6.1xlsx`中的【案例1-4】 参考教程 ## 第七章 7.1.打开`data/chap7/7.1xlsx`中的【案例1】计算河北区中商品1的最小销售额 ![7.1](.\src\练习题参考操作\7.1.gif) 7.2.打开`data/chap7/7.1xlsx`中的【案例1】计算湖北中什么渠道下的什么商品具有最高销售额 ![7.2](.\src\练习题参考操作\7.2.gif) ## 第八章 8.1.选择`data/chap8/8.2.xlsx`工作簿中的【案例1】,对拜访客户数大于5以上的业务员进行黄色填充 ![8.1](.\src\练习题参考操作\8.1.gif) ## 第九章 9.1.选择`data/chap9/9.1.xlsx`工作簿中的【数据源】绘制不同的透视图 ![9.1](.\src\练习题参考操作\9.1.gif) ## 第十章 10.1.完成数据看板,需要通过按钮调节周数,同时销售额,订单数以及数据图进行变化 参考教程 ================================================ FILE: README.md ================================================ # Free-Excel free excel中文意为**自由Excel**,源于希望学习者能够通过该教程能够更加自由地使用Excel进行数据分析、数据统计,解放Excel不再为Excel所困。内容上会更加偏实践应用,力求尽可能简单而又具有一定深度。其他很多教程都是按功能模块来讲解,而且还详细的说明每个功能,令人枯燥乏味。Free Excel根据多年工作经验总结而成,很多内容是常用且重要的,同时学完后能加深对Excel的理解。授之以鱼不如授之以渔,让我们开始愉快的Excel之旅吧! 本课程提供了**网页**与**Markdown** 2种不同的版本来展现课程内容 ## 文件内容 - data :项目数据集 - docs :网页版课程 - Markdown:MD版课程 - 历史版本:V2.0课程 ## 环境 本教程所使用Excel版本为2016或者2019,未提供下载安装,请自行装好环境以便操作。如果电脑没有Excel,可以下载WPS进行相关的操作学习。 WPS下载链接:https://www.wps.cn/product 注:本课程中部分函数为Excel新更新的内容,如果想体验Excel新添加的函数,可将Excel更新至最新版,或将WPS更新至11.1版及以上 ## 更新版本 | 版本 | 日期 | 更新内容 | | :---------: | :--------: | :------------------: | | v1.0.0 beta | 2021-08-08 | 添加章节内容及数据集 | | v2.0.0 | 2022-09-09 | 全新的Excel内容与教程 | | v2.1.0 | 2022-12-17 | 全新的Excel内容增加了网页版 | ## 贡献 | 贡献者 | 版本 | 主页 | 联系 | | :----------------: | :-----------:| :--------------------------: | :--------------------: | | Jan Yang(简杨君) | v1.0.0 beta | https://github.com/yangjiada | yang.jiada@foxmail.com | | 牧小熊(聂雄伟) | v2.0.0 |https://github.com/muxiaoxiong| xiongweinie@foxmail.com| ## 关注我们 > "Datawhale是一个专注AI领域的开源组织,以“for the learner,和学习者一起成长”为愿景,构建对学习者最有价值的开源学习社区。关注我们,一起学习成长。" [![img](Markdown/src/datawhale.jpg)](https://github.com/datawhalechina/team-learning-sql/blob/main/img/datawhale_code.jpeg) ================================================ FILE: data/chap1/Titanic_normal.csv ================================================ PassengerId,Pclass,Name,Sex,Age,SibSp,Parch,Ticket,Fare,Cabin,Embarked 892,3,"Kelly, Mr. James",male,34.5,0,0,330911,7.8292,,Q 893,3,"Wilkes, Mrs. James (Ellen Needs)",female,47,1,0,363272,7,,S 894,2,"Myles, Mr. Thomas Francis",male,62,0,0,240276,9.6875,,Q 895,3,"Wirz, Mr. Albert",male,27,0,0,315154,8.6625,,S 896,3,"Hirvonen, Mrs. Alexander (Helga E Lindqvist)",female,22,1,1,3101298,12.2875,,S 897,3,"Svensson, Mr. Johan Cervin",male,14,0,0,7538,9.225,,S 898,3,"Connolly, Miss. Kate",female,30,0,0,330972,7.6292,,Q 899,2,"Caldwell, Mr. Albert Francis",male,26,1,1,248738,29,,S 900,3,"Abrahim, Mrs. Joseph (Sophie Halaut Easu)",female,18,0,0,2657,7.2292,,C 901,3,"Davies, Mr. John Samuel",male,21,2,0,A/4 48871,24.15,,S 902,3,"Ilieff, Mr. Ylio",male,,0,0,349220,7.8958,,S 903,1,"Jones, Mr. Charles Cresson",male,46,0,0,694,26,,S 904,1,"Snyder, Mrs. John Pillsbury (Nelle Stevenson)",female,23,1,0,21228,82.2667,B45,S 905,2,"Howard, Mr. Benjamin",male,63,1,0,24065,26,,S 906,1,"Chaffee, Mrs. Herbert Fuller (Carrie Constance Toogood)",female,47,1,0,W.E.P. 5734,61.175,E31,S 907,2,"del Carlo, Mrs. Sebastiano (Argenia Genovesi)",female,24,1,0,SC/PARIS 2167,27.7208,,C 908,2,"Keane, Mr. Daniel",male,35,0,0,233734,12.35,,Q 909,3,"Assaf, Mr. Gerios",male,21,0,0,2692,7.225,,C 910,3,"Ilmakangas, Miss. Ida Livija",female,27,1,0,STON/O2. 3101270,7.925,,S 911,3,"Assaf Khalil, Mrs. Mariana (Miriam"")""",female,45,0,0,2696,7.225,,C 912,1,"Rothschild, Mr. Martin",male,55,1,0,PC 17603,59.4,,C 913,3,"Olsen, Master. Artur Karl",male,9,0,1,C 17368,3.1708,,S 914,1,"Flegenheim, Mrs. Alfred (Antoinette)",female,,0,0,PC 17598,31.6833,,S 915,1,"Williams, Mr. Richard Norris II",male,21,0,1,PC 17597,61.3792,,C 916,1,"Ryerson, Mrs. Arthur Larned (Emily Maria Borie)",female,48,1,3,PC 17608,262.375,B57 B59 B63 B66,C 917,3,"Robins, Mr. Alexander A",male,50,1,0,A/5. 3337,14.5,,S 918,1,"Ostby, Miss. Helene Ragnhild",female,22,0,1,113509,61.9792,B36,C 919,3,"Daher, Mr. Shedid",male,22.5,0,0,2698,7.225,,C 920,1,"Brady, Mr. John Bertram",male,41,0,0,113054,30.5,A21,S 921,3,"Samaan, Mr. Elias",male,,2,0,2662,21.6792,,C 922,2,"Louch, Mr. Charles Alexander",male,50,1,0,SC/AH 3085,26,,S 923,2,"Jefferys, Mr. Clifford Thomas",male,24,2,0,C.A. 31029,31.5,,S 924,3,"Dean, Mrs. Bertram (Eva Georgetta Light)",female,33,1,2,C.A. 2315,20.575,,S 925,3,"Johnston, Mrs. Andrew G (Elizabeth Lily"" Watson)""",female,,1,2,W./C. 6607,23.45,,S 926,1,"Mock, Mr. Philipp Edmund",male,30,1,0,13236,57.75,C78,C 927,3,"Katavelas, Mr. Vassilios (Catavelas Vassilios"")""",male,18.5,0,0,2682,7.2292,,C 928,3,"Roth, Miss. Sarah A",female,,0,0,342712,8.05,,S 929,3,"Cacic, Miss. Manda",female,21,0,0,315087,8.6625,,S 930,3,"Sap, Mr. Julius",male,25,0,0,345768,9.5,,S 931,3,"Hee, Mr. Ling",male,,0,0,1601,56.4958,,S 932,3,"Karun, Mr. Franz",male,39,0,1,349256,13.4167,,C 933,1,"Franklin, Mr. Thomas Parham",male,,0,0,113778,26.55,D34,S 934,3,"Goldsmith, Mr. Nathan",male,41,0,0,SOTON/O.Q. 3101263,7.85,,S 935,2,"Corbett, Mrs. Walter H (Irene Colvin)",female,30,0,0,237249,13,,S 936,1,"Kimball, Mrs. Edwin Nelson Jr (Gertrude Parsons)",female,45,1,0,11753,52.5542,D19,S 937,3,"Peltomaki, Mr. Nikolai Johannes",male,25,0,0,STON/O 2. 3101291,7.925,,S 938,1,"Chevre, Mr. Paul Romaine",male,45,0,0,PC 17594,29.7,A9,C 939,3,"Shaughnessy, Mr. Patrick",male,,0,0,370374,7.75,,Q 940,1,"Bucknell, Mrs. William Robert (Emma Eliza Ward)",female,60,0,0,11813,76.2917,D15,C 941,3,"Coutts, Mrs. William (Winnie Minnie"" Treanor)""",female,36,0,2,C.A. 37671,15.9,,S 942,1,"Smith, Mr. Lucien Philip",male,24,1,0,13695,60,C31,S 943,2,"Pulbaum, Mr. Franz",male,27,0,0,SC/PARIS 2168,15.0333,,C 944,2,"Hocking, Miss. Ellen Nellie""""",female,20,2,1,29105,23,,S 945,1,"Fortune, Miss. Ethel Flora",female,28,3,2,19950,263,C23 C25 C27,S 946,2,"Mangiavacchi, Mr. Serafino Emilio",male,,0,0,SC/A.3 2861,15.5792,,C 947,3,"Rice, Master. Albert",male,10,4,1,382652,29.125,,Q 948,3,"Cor, Mr. Bartol",male,35,0,0,349230,7.8958,,S 949,3,"Abelseth, Mr. Olaus Jorgensen",male,25,0,0,348122,7.65,F G63,S 950,3,"Davison, Mr. Thomas Henry",male,,1,0,386525,16.1,,S 951,1,"Chaudanson, Miss. Victorine",female,36,0,0,PC 17608,262.375,B61,C 952,3,"Dika, Mr. Mirko",male,17,0,0,349232,7.8958,,S 953,2,"McCrae, Mr. Arthur Gordon",male,32,0,0,237216,13.5,,S 954,3,"Bjorklund, Mr. Ernst Herbert",male,18,0,0,347090,7.75,,S 955,3,"Bradley, Miss. Bridget Delia",female,22,0,0,334914,7.725,,Q 956,1,"Ryerson, Master. John Borie",male,13,2,2,PC 17608,262.375,B57 B59 B63 B66,C 957,2,"Corey, Mrs. Percy C (Mary Phyllis Elizabeth Miller)",female,,0,0,F.C.C. 13534,21,,S 958,3,"Burns, Miss. Mary Delia",female,18,0,0,330963,7.8792,,Q 959,1,"Moore, Mr. Clarence Bloomfield",male,47,0,0,113796,42.4,,S 960,1,"Tucker, Mr. Gilbert Milligan Jr",male,31,0,0,2543,28.5375,C53,C 961,1,"Fortune, Mrs. Mark (Mary McDougald)",female,60,1,4,19950,263,C23 C25 C27,S 962,3,"Mulvihill, Miss. Bertha E",female,24,0,0,382653,7.75,,Q 963,3,"Minkoff, Mr. Lazar",male,21,0,0,349211,7.8958,,S 964,3,"Nieminen, Miss. Manta Josefina",female,29,0,0,3101297,7.925,,S 965,1,"Ovies y Rodriguez, Mr. Servando",male,28.5,0,0,PC 17562,27.7208,D43,C 966,1,"Geiger, Miss. Amalie",female,35,0,0,113503,211.5,C130,C 967,1,"Keeping, Mr. Edwin",male,32.5,0,0,113503,211.5,C132,C 968,3,"Miles, Mr. Frank",male,,0,0,359306,8.05,,S 969,1,"Cornell, Mrs. Robert Clifford (Malvina Helen Lamson)",female,55,2,0,11770,25.7,C101,S 970,2,"Aldworth, Mr. Charles Augustus",male,30,0,0,248744,13,,S 971,3,"Doyle, Miss. Elizabeth",female,24,0,0,368702,7.75,,Q 972,3,"Boulos, Master. Akar",male,6,1,1,2678,15.2458,,C 973,1,"Straus, Mr. Isidor",male,67,1,0,PC 17483,221.7792,C55 C57,S 974,1,"Case, Mr. Howard Brown",male,49,0,0,19924,26,,S 975,3,"Demetri, Mr. Marinko",male,,0,0,349238,7.8958,,S 976,2,"Lamb, Mr. John Joseph",male,,0,0,240261,10.7083,,Q 977,3,"Khalil, Mr. Betros",male,,1,0,2660,14.4542,,C 978,3,"Barry, Miss. Julia",female,27,0,0,330844,7.8792,,Q 979,3,"Badman, Miss. Emily Louisa",female,18,0,0,A/4 31416,8.05,,S 980,3,"O'Donoghue, Ms. Bridget",female,,0,0,364856,7.75,,Q 981,2,"Wells, Master. Ralph Lester",male,2,1,1,29103,23,,S 982,3,"Dyker, Mrs. Adolf Fredrik (Anna Elisabeth Judith Andersson)",female,22,1,0,347072,13.9,,S 983,3,"Pedersen, Mr. Olaf",male,,0,0,345498,7.775,,S 984,1,"Davidson, Mrs. Thornton (Orian Hays)",female,27,1,2,F.C. 12750,52,B71,S 985,3,"Guest, Mr. Robert",male,,0,0,376563,8.05,,S 986,1,"Birnbaum, Mr. Jakob",male,25,0,0,13905,26,,C 987,3,"Tenglin, Mr. Gunnar Isidor",male,25,0,0,350033,7.7958,,S 988,1,"Cavendish, Mrs. Tyrell William (Julia Florence Siegel)",female,76,1,0,19877,78.85,C46,S 989,3,"Makinen, Mr. Kalle Edvard",male,29,0,0,STON/O 2. 3101268,7.925,,S 990,3,"Braf, Miss. Elin Ester Maria",female,20,0,0,347471,7.8542,,S 991,3,"Nancarrow, Mr. William Henry",male,33,0,0,A./5. 3338,8.05,,S 992,1,"Stengel, Mrs. Charles Emil Henry (Annie May Morris)",female,43,1,0,11778,55.4417,C116,C 993,2,"Weisz, Mr. Leopold",male,27,1,0,228414,26,,S 994,3,"Foley, Mr. William",male,,0,0,365235,7.75,,Q 995,3,"Johansson Palmquist, Mr. Oskar Leander",male,26,0,0,347070,7.775,,S 996,3,"Thomas, Mrs. Alexander (Thamine Thelma"")""",female,16,1,1,2625,8.5167,,C 997,3,"Holthen, Mr. Johan Martin",male,28,0,0,C 4001,22.525,,S 998,3,"Buckley, Mr. Daniel",male,21,0,0,330920,7.8208,,Q 999,3,"Ryan, Mr. Edward",male,,0,0,383162,7.75,,Q 1000,3,"Willer, Mr. Aaron (Abi Weller"")""",male,,0,0,3410,8.7125,,S 1001,2,"Swane, Mr. George",male,18.5,0,0,248734,13,F,S 1002,2,"Stanton, Mr. Samuel Ward",male,41,0,0,237734,15.0458,,C 1003,3,"Shine, Miss. Ellen Natalia",female,,0,0,330968,7.7792,,Q 1004,1,"Evans, Miss. Edith Corse",female,36,0,0,PC 17531,31.6792,A29,C 1005,3,"Buckley, Miss. Katherine",female,18.5,0,0,329944,7.2833,,Q 1006,1,"Straus, Mrs. Isidor (Rosalie Ida Blun)",female,63,1,0,PC 17483,221.7792,C55 C57,S 1007,3,"Chronopoulos, Mr. Demetrios",male,18,1,0,2680,14.4542,,C 1008,3,"Thomas, Mr. John",male,,0,0,2681,6.4375,,C 1009,3,"Sandstrom, Miss. Beatrice Irene",female,1,1,1,PP 9549,16.7,G6,S 1010,1,"Beattie, Mr. Thomson",male,36,0,0,13050,75.2417,C6,C 1011,2,"Chapman, Mrs. John Henry (Sara Elizabeth Lawry)",female,29,1,0,SC/AH 29037,26,,S 1012,2,"Watt, Miss. Bertha J",female,12,0,0,C.A. 33595,15.75,,S 1013,3,"Kiernan, Mr. John",male,,1,0,367227,7.75,,Q 1014,1,"Schabert, Mrs. Paul (Emma Mock)",female,35,1,0,13236,57.75,C28,C 1015,3,"Carver, Mr. Alfred John",male,28,0,0,392095,7.25,,S 1016,3,"Kennedy, Mr. John",male,,0,0,368783,7.75,,Q 1017,3,"Cribb, Miss. Laura Alice",female,17,0,1,371362,16.1,,S 1018,3,"Brobeck, Mr. Karl Rudolf",male,22,0,0,350045,7.7958,,S 1019,3,"McCoy, Miss. Alicia",female,,2,0,367226,23.25,,Q 1020,2,"Bowenur, Mr. Solomon",male,42,0,0,211535,13,,S 1021,3,"Petersen, Mr. Marius",male,24,0,0,342441,8.05,,S 1022,3,"Spinner, Mr. Henry John",male,32,0,0,STON/OQ. 369943,8.05,,S 1023,1,"Gracie, Col. Archibald IV",male,53,0,0,113780,28.5,C51,C 1024,3,"Lefebre, Mrs. Frank (Frances)",female,,0,4,4133,25.4667,,S 1025,3,"Thomas, Mr. Charles P",male,,1,0,2621,6.4375,,C 1026,3,"Dintcheff, Mr. Valtcho",male,43,0,0,349226,7.8958,,S 1027,3,"Carlsson, Mr. Carl Robert",male,24,0,0,350409,7.8542,,S 1028,3,"Zakarian, Mr. Mapriededer",male,26.5,0,0,2656,7.225,,C 1029,2,"Schmidt, Mr. August",male,26,0,0,248659,13,,S 1030,3,"Drapkin, Miss. Jennie",female,23,0,0,SOTON/OQ 392083,8.05,,S 1031,3,"Goodwin, Mr. Charles Frederick",male,40,1,6,CA 2144,46.9,,S 1032,3,"Goodwin, Miss. Jessie Allis",female,10,5,2,CA 2144,46.9,,S 1033,1,"Daniels, Miss. Sarah",female,33,0,0,113781,151.55,,S 1034,1,"Ryerson, Mr. Arthur Larned",male,61,1,3,PC 17608,262.375,B57 B59 B63 B66,C 1035,2,"Beauchamp, Mr. Henry James",male,28,0,0,244358,26,,S 1036,1,"Lindeberg-Lind, Mr. Erik Gustaf (Mr Edward Lingrey"")""",male,42,0,0,17475,26.55,,S 1037,3,"Vander Planke, Mr. Julius",male,31,3,0,345763,18,,S 1038,1,"Hilliard, Mr. Herbert Henry",male,,0,0,17463,51.8625,E46,S 1039,3,"Davies, Mr. Evan",male,22,0,0,SC/A4 23568,8.05,,S 1040,1,"Crafton, Mr. John Bertram",male,,0,0,113791,26.55,,S 1041,2,"Lahtinen, Rev. William",male,30,1,1,250651,26,,S 1042,1,"Earnshaw, Mrs. Boulton (Olive Potter)",female,23,0,1,11767,83.1583,C54,C 1043,3,"Matinoff, Mr. Nicola",male,,0,0,349255,7.8958,,C 1044,3,"Storey, Mr. Thomas",male,60.5,0,0,3701,,,S 1045,3,"Klasen, Mrs. (Hulda Kristina Eugenia Lofqvist)",female,36,0,2,350405,12.1833,,S 1046,3,"Asplund, Master. Filip Oscar",male,13,4,2,347077,31.3875,,S 1047,3,"Duquemin, Mr. Joseph",male,24,0,0,S.O./P.P. 752,7.55,,S 1048,1,"Bird, Miss. Ellen",female,29,0,0,PC 17483,221.7792,C97,S 1049,3,"Lundin, Miss. Olga Elida",female,23,0,0,347469,7.8542,,S 1050,1,"Borebank, Mr. John James",male,42,0,0,110489,26.55,D22,S 1051,3,"Peacock, Mrs. Benjamin (Edith Nile)",female,26,0,2,SOTON/O.Q. 3101315,13.775,,S 1052,3,"Smyth, Miss. Julia",female,,0,0,335432,7.7333,,Q 1053,3,"Touma, Master. Georges Youssef",male,7,1,1,2650,15.2458,,C 1054,2,"Wright, Miss. Marion",female,26,0,0,220844,13.5,,S 1055,3,"Pearce, Mr. Ernest",male,,0,0,343271,7,,S 1056,2,"Peruschitz, Rev. Joseph Maria",male,41,0,0,237393,13,,S 1057,3,"Kink-Heilmann, Mrs. Anton (Luise Heilmann)",female,26,1,1,315153,22.025,,S 1058,1,"Brandeis, Mr. Emil",male,48,0,0,PC 17591,50.4958,B10,C 1059,3,"Ford, Mr. Edward Watson",male,18,2,2,W./C. 6608,34.375,,S 1060,1,"Cassebeer, Mrs. Henry Arthur Jr (Eleanor Genevieve Fosdick)",female,,0,0,17770,27.7208,,C 1061,3,"Hellstrom, Miss. Hilda Maria",female,22,0,0,7548,8.9625,,S 1062,3,"Lithman, Mr. Simon",male,,0,0,S.O./P.P. 251,7.55,,S 1063,3,"Zakarian, Mr. Ortin",male,27,0,0,2670,7.225,,C 1064,3,"Dyker, Mr. Adolf Fredrik",male,23,1,0,347072,13.9,,S 1065,3,"Torfa, Mr. Assad",male,,0,0,2673,7.2292,,C 1066,3,"Asplund, Mr. Carl Oscar Vilhelm Gustafsson",male,40,1,5,347077,31.3875,,S 1067,2,"Brown, Miss. Edith Eileen",female,15,0,2,29750,39,,S 1068,2,"Sincock, Miss. Maude",female,20,0,0,C.A. 33112,36.75,,S 1069,1,"Stengel, Mr. Charles Emil Henry",male,54,1,0,11778,55.4417,C116,C 1070,2,"Becker, Mrs. Allen Oliver (Nellie E Baumgardner)",female,36,0,3,230136,39,F4,S 1071,1,"Compton, Mrs. Alexander Taylor (Mary Eliza Ingersoll)",female,64,0,2,PC 17756,83.1583,E45,C 1072,2,"McCrie, Mr. James Matthew",male,30,0,0,233478,13,,S 1073,1,"Compton, Mr. Alexander Taylor Jr",male,37,1,1,PC 17756,83.1583,E52,C 1074,1,"Marvin, Mrs. Daniel Warner (Mary Graham Carmichael Farquarson)",female,18,1,0,113773,53.1,D30,S 1075,3,"Lane, Mr. Patrick",male,,0,0,7935,7.75,,Q 1076,1,"Douglas, Mrs. Frederick Charles (Mary Helene Baxter)",female,27,1,1,PC 17558,247.5208,B58 B60,C 1077,2,"Maybery, Mr. Frank Hubert",male,40,0,0,239059,16,,S 1078,2,"Phillips, Miss. Alice Frances Louisa",female,21,0,1,S.O./P.P. 2,21,,S 1079,3,"Davies, Mr. Joseph",male,17,2,0,A/4 48873,8.05,,S 1080,3,"Sage, Miss. Ada",female,,8,2,CA. 2343,69.55,,S 1081,2,"Veal, Mr. James",male,40,0,0,28221,13,,S 1082,2,"Angle, Mr. William A",male,34,1,0,226875,26,,S 1083,1,"Salomon, Mr. Abraham L",male,,0,0,111163,26,,S 1084,3,"van Billiard, Master. Walter John",male,11.5,1,1,A/5. 851,14.5,,S 1085,2,"Lingane, Mr. John",male,61,0,0,235509,12.35,,Q 1086,2,"Drew, Master. Marshall Brines",male,8,0,2,28220,32.5,,S 1087,3,"Karlsson, Mr. Julius Konrad Eugen",male,33,0,0,347465,7.8542,,S 1088,1,"Spedden, Master. Robert Douglas",male,6,0,2,16966,134.5,E34,C 1089,3,"Nilsson, Miss. Berta Olivia",female,18,0,0,347066,7.775,,S 1090,2,"Baimbrigge, Mr. Charles Robert",male,23,0,0,C.A. 31030,10.5,,S 1091,3,"Rasmussen, Mrs. (Lena Jacobsen Solvang)",female,,0,0,65305,8.1125,,S 1092,3,"Murphy, Miss. Nora",female,,0,0,36568,15.5,,Q 1093,3,"Danbom, Master. Gilbert Sigvard Emanuel",male,0.33,0,2,347080,14.4,,S 1094,1,"Astor, Col. John Jacob",male,47,1,0,PC 17757,227.525,C62 C64,C 1095,2,"Quick, Miss. Winifred Vera",female,8,1,1,26360,26,,S 1096,2,"Andrew, Mr. Frank Thomas",male,25,0,0,C.A. 34050,10.5,,S 1097,1,"Omont, Mr. Alfred Fernand",male,,0,0,F.C. 12998,25.7417,,C 1098,3,"McGowan, Miss. Katherine",female,35,0,0,9232,7.75,,Q 1099,2,"Collett, Mr. Sidney C Stuart",male,24,0,0,28034,10.5,,S 1100,1,"Rosenbaum, Miss. Edith Louise",female,33,0,0,PC 17613,27.7208,A11,C 1101,3,"Delalic, Mr. Redjo",male,25,0,0,349250,7.8958,,S 1102,3,"Andersen, Mr. Albert Karvin",male,32,0,0,C 4001,22.525,,S 1103,3,"Finoli, Mr. Luigi",male,,0,0,SOTON/O.Q. 3101308,7.05,,S 1104,2,"Deacon, Mr. Percy William",male,17,0,0,S.O.C. 14879,73.5,,S 1105,2,"Howard, Mrs. Benjamin (Ellen Truelove Arman)",female,60,1,0,24065,26,,S 1106,3,"Andersson, Miss. Ida Augusta Margareta",female,38,4,2,347091,7.775,,S 1107,1,"Head, Mr. Christopher",male,42,0,0,113038,42.5,B11,S 1108,3,"Mahon, Miss. Bridget Delia",female,,0,0,330924,7.8792,,Q 1109,1,"Wick, Mr. George Dennick",male,57,1,1,36928,164.8667,,S 1110,1,"Widener, Mrs. George Dunton (Eleanor Elkins)",female,50,1,1,113503,211.5,C80,C 1111,3,"Thomson, Mr. Alexander Morrison",male,,0,0,32302,8.05,,S 1112,2,"Duran y More, Miss. Florentina",female,30,1,0,SC/PARIS 2148,13.8583,,C 1113,3,"Reynolds, Mr. Harold J",male,21,0,0,342684,8.05,,S 1114,2,"Cook, Mrs. (Selena Rogers)",female,22,0,0,W./C. 14266,10.5,F33,S 1115,3,"Karlsson, Mr. Einar Gervasius",male,21,0,0,350053,7.7958,,S 1116,1,"Candee, Mrs. Edward (Helen Churchill Hungerford)",female,53,0,0,PC 17606,27.4458,,C 1117,3,"Moubarek, Mrs. George (Omine Amenia"" Alexander)""",female,,0,2,2661,15.2458,,C 1118,3,"Asplund, Mr. Johan Charles",male,23,0,0,350054,7.7958,,S 1119,3,"McNeill, Miss. Bridget",female,,0,0,370368,7.75,,Q 1120,3,"Everett, Mr. Thomas James",male,40.5,0,0,C.A. 6212,15.1,,S 1121,2,"Hocking, Mr. Samuel James Metcalfe",male,36,0,0,242963,13,,S 1122,2,"Sweet, Mr. George Frederick",male,14,0,0,220845,65,,S 1123,1,"Willard, Miss. Constance",female,21,0,0,113795,26.55,,S 1124,3,"Wiklund, Mr. Karl Johan",male,21,1,0,3101266,6.4958,,S 1125,3,"Linehan, Mr. Michael",male,,0,0,330971,7.8792,,Q 1126,1,"Cumings, Mr. John Bradley",male,39,1,0,PC 17599,71.2833,C85,C 1127,3,"Vendel, Mr. Olof Edvin",male,20,0,0,350416,7.8542,,S 1128,1,"Warren, Mr. Frank Manley",male,64,1,0,110813,75.25,D37,C 1129,3,"Baccos, Mr. Raffull",male,20,0,0,2679,7.225,,C 1130,2,"Hiltunen, Miss. Marta",female,18,1,1,250650,13,,S 1131,1,"Douglas, Mrs. Walter Donald (Mahala Dutton)",female,48,1,0,PC 17761,106.425,C86,C 1132,1,"Lindstrom, Mrs. Carl Johan (Sigrid Posse)",female,55,0,0,112377,27.7208,,C 1133,2,"Christy, Mrs. (Alice Frances)",female,45,0,2,237789,30,,S 1134,1,"Spedden, Mr. Frederic Oakley",male,45,1,1,16966,134.5,E34,C 1135,3,"Hyman, Mr. Abraham",male,,0,0,3470,7.8875,,S 1136,3,"Johnston, Master. William Arthur Willie""""",male,,1,2,W./C. 6607,23.45,,S 1137,1,"Kenyon, Mr. Frederick R",male,41,1,0,17464,51.8625,D21,S 1138,2,"Karnes, Mrs. J Frank (Claire Bennett)",female,22,0,0,F.C.C. 13534,21,,S 1139,2,"Drew, Mr. James Vivian",male,42,1,1,28220,32.5,,S 1140,2,"Hold, Mrs. Stephen (Annie Margaret Hill)",female,29,1,0,26707,26,,S 1141,3,"Khalil, Mrs. Betros (Zahie Maria"" Elias)""",female,,1,0,2660,14.4542,,C 1142,2,"West, Miss. Barbara J",female,0.92,1,2,C.A. 34651,27.75,,S 1143,3,"Abrahamsson, Mr. Abraham August Johannes",male,20,0,0,SOTON/O2 3101284,7.925,,S 1144,1,"Clark, Mr. Walter Miller",male,27,1,0,13508,136.7792,C89,C 1145,3,"Salander, Mr. Karl Johan",male,24,0,0,7266,9.325,,S 1146,3,"Wenzel, Mr. Linhart",male,32.5,0,0,345775,9.5,,S 1147,3,"MacKay, Mr. George William",male,,0,0,C.A. 42795,7.55,,S 1148,3,"Mahon, Mr. John",male,,0,0,AQ/4 3130,7.75,,Q 1149,3,"Niklasson, Mr. Samuel",male,28,0,0,363611,8.05,,S 1150,2,"Bentham, Miss. Lilian W",female,19,0,0,28404,13,,S 1151,3,"Midtsjo, Mr. Karl Albert",male,21,0,0,345501,7.775,,S 1152,3,"de Messemaeker, Mr. Guillaume Joseph",male,36.5,1,0,345572,17.4,,S 1153,3,"Nilsson, Mr. August Ferdinand",male,21,0,0,350410,7.8542,,S 1154,2,"Wells, Mrs. Arthur Henry (Addie"" Dart Trevaskis)""",female,29,0,2,29103,23,,S 1155,3,"Klasen, Miss. Gertrud Emilia",female,1,1,1,350405,12.1833,,S 1156,2,"Portaluppi, Mr. Emilio Ilario Giuseppe",male,30,0,0,C.A. 34644,12.7375,,C 1157,3,"Lyntakoff, Mr. Stanko",male,,0,0,349235,7.8958,,S 1158,1,"Chisholm, Mr. Roderick Robert Crispin",male,,0,0,112051,0,,S 1159,3,"Warren, Mr. Charles William",male,,0,0,C.A. 49867,7.55,,S 1160,3,"Howard, Miss. May Elizabeth",female,,0,0,A. 2. 39186,8.05,,S 1161,3,"Pokrnic, Mr. Mate",male,17,0,0,315095,8.6625,,S 1162,1,"McCaffry, Mr. Thomas Francis",male,46,0,0,13050,75.2417,C6,C 1163,3,"Fox, Mr. Patrick",male,,0,0,368573,7.75,,Q 1164,1,"Clark, Mrs. Walter Miller (Virginia McDowell)",female,26,1,0,13508,136.7792,C89,C 1165,3,"Lennon, Miss. Mary",female,,1,0,370371,15.5,,Q 1166,3,"Saade, Mr. Jean Nassr",male,,0,0,2676,7.225,,C 1167,2,"Bryhl, Miss. Dagmar Jenny Ingeborg ",female,20,1,0,236853,26,,S 1168,2,"Parker, Mr. Clifford Richard",male,28,0,0,SC 14888,10.5,,S 1169,2,"Faunthorpe, Mr. Harry",male,40,1,0,2926,26,,S 1170,2,"Ware, Mr. John James",male,30,1,0,CA 31352,21,,S 1171,2,"Oxenham, Mr. Percy Thomas",male,22,0,0,W./C. 14260,10.5,,S 1172,3,"Oreskovic, Miss. Jelka",female,23,0,0,315085,8.6625,,S 1173,3,"Peacock, Master. Alfred Edward",male,0.75,1,1,SOTON/O.Q. 3101315,13.775,,S 1174,3,"Fleming, Miss. Honora",female,,0,0,364859,7.75,,Q 1175,3,"Touma, Miss. Maria Youssef",female,9,1,1,2650,15.2458,,C 1176,3,"Rosblom, Miss. Salli Helena",female,2,1,1,370129,20.2125,,S 1177,3,"Dennis, Mr. William",male,36,0,0,A/5 21175,7.25,,S 1178,3,"Franklin, Mr. Charles (Charles Fardon)",male,,0,0,SOTON/O.Q. 3101314,7.25,,S 1179,1,"Snyder, Mr. John Pillsbury",male,24,1,0,21228,82.2667,B45,S 1180,3,"Mardirosian, Mr. Sarkis",male,,0,0,2655,7.2292,F E46,C 1181,3,"Ford, Mr. Arthur",male,,0,0,A/5 1478,8.05,,S 1182,1,"Rheims, Mr. George Alexander Lucien",male,,0,0,PC 17607,39.6,,S 1183,3,"Daly, Miss. Margaret Marcella Maggie""""",female,30,0,0,382650,6.95,,Q 1184,3,"Nasr, Mr. Mustafa",male,,0,0,2652,7.2292,,C 1185,1,"Dodge, Dr. Washington",male,53,1,1,33638,81.8583,A34,S 1186,3,"Wittevrongel, Mr. Camille",male,36,0,0,345771,9.5,,S 1187,3,"Angheloff, Mr. Minko",male,26,0,0,349202,7.8958,,S 1188,2,"Laroche, Miss. Louise",female,1,1,2,SC/Paris 2123,41.5792,,C 1189,3,"Samaan, Mr. Hanna",male,,2,0,2662,21.6792,,C 1190,1,"Loring, Mr. Joseph Holland",male,30,0,0,113801,45.5,,S 1191,3,"Johansson, Mr. Nils",male,29,0,0,347467,7.8542,,S 1192,3,"Olsson, Mr. Oscar Wilhelm",male,32,0,0,347079,7.775,,S 1193,2,"Malachard, Mr. Noel",male,,0,0,237735,15.0458,D,C 1194,2,"Phillips, Mr. Escott Robert",male,43,0,1,S.O./P.P. 2,21,,S 1195,3,"Pokrnic, Mr. Tome",male,24,0,0,315092,8.6625,,S 1196,3,"McCarthy, Miss. Catherine Katie""""",female,,0,0,383123,7.75,,Q 1197,1,"Crosby, Mrs. Edward Gifford (Catherine Elizabeth Halstead)",female,64,1,1,112901,26.55,B26,S 1198,1,"Allison, Mr. Hudson Joshua Creighton",male,30,1,2,113781,151.55,C22 C26,S 1199,3,"Aks, Master. Philip Frank",male,0.83,0,1,392091,9.35,,S 1200,1,"Hays, Mr. Charles Melville",male,55,1,1,12749,93.5,B69,S 1201,3,"Hansen, Mrs. Claus Peter (Jennie L Howard)",female,45,1,0,350026,14.1083,,S 1202,3,"Cacic, Mr. Jego Grga",male,18,0,0,315091,8.6625,,S 1203,3,"Vartanian, Mr. David",male,22,0,0,2658,7.225,,C 1204,3,"Sadowitz, Mr. Harry",male,,0,0,LP 1588,7.575,,S 1205,3,"Carr, Miss. Jeannie",female,37,0,0,368364,7.75,,Q 1206,1,"White, Mrs. John Stuart (Ella Holmes)",female,55,0,0,PC 17760,135.6333,C32,C 1207,3,"Hagardon, Miss. Kate",female,17,0,0,AQ/3. 30631,7.7333,,Q 1208,1,"Spencer, Mr. William Augustus",male,57,1,0,PC 17569,146.5208,B78,C 1209,2,"Rogers, Mr. Reginald Harry",male,19,0,0,28004,10.5,,S 1210,3,"Jonsson, Mr. Nils Hilding",male,27,0,0,350408,7.8542,,S 1211,2,"Jefferys, Mr. Ernest Wilfred",male,22,2,0,C.A. 31029,31.5,,S 1212,3,"Andersson, Mr. Johan Samuel",male,26,0,0,347075,7.775,,S 1213,3,"Krekorian, Mr. Neshan",male,25,0,0,2654,7.2292,F E57,C 1214,2,"Nesson, Mr. Israel",male,26,0,0,244368,13,F2,S 1215,1,"Rowe, Mr. Alfred G",male,33,0,0,113790,26.55,,S 1216,1,"Kreuchen, Miss. Emilie",female,39,0,0,24160,211.3375,,S 1217,3,"Assam, Mr. Ali",male,23,0,0,SOTON/O.Q. 3101309,7.05,,S 1218,2,"Becker, Miss. Ruth Elizabeth",female,12,2,1,230136,39,F4,S 1219,1,"Rosenshine, Mr. George (Mr George Thorne"")""",male,46,0,0,PC 17585,79.2,,C 1220,2,"Clarke, Mr. Charles Valentine",male,29,1,0,2003,26,,S 1221,2,"Enander, Mr. Ingvar",male,21,0,0,236854,13,,S 1222,2,"Davies, Mrs. John Morgan (Elizabeth Agnes Mary White) ",female,48,0,2,C.A. 33112,36.75,,S 1223,1,"Dulles, Mr. William Crothers",male,39,0,0,PC 17580,29.7,A18,C 1224,3,"Thomas, Mr. Tannous",male,,0,0,2684,7.225,,C 1225,3,"Nakid, Mrs. Said (Waika Mary"" Mowad)""",female,19,1,1,2653,15.7417,,C 1226,3,"Cor, Mr. Ivan",male,27,0,0,349229,7.8958,,S 1227,1,"Maguire, Mr. John Edward",male,30,0,0,110469,26,C106,S 1228,2,"de Brito, Mr. Jose Joaquim",male,32,0,0,244360,13,,S 1229,3,"Elias, Mr. Joseph",male,39,0,2,2675,7.2292,,C 1230,2,"Denbury, Mr. Herbert",male,25,0,0,C.A. 31029,31.5,,S 1231,3,"Betros, Master. Seman",male,,0,0,2622,7.2292,,C 1232,2,"Fillbrook, Mr. Joseph Charles",male,18,0,0,C.A. 15185,10.5,,S 1233,3,"Lundstrom, Mr. Thure Edvin",male,32,0,0,350403,7.5792,,S 1234,3,"Sage, Mr. John George",male,,1,9,CA. 2343,69.55,,S 1235,1,"Cardeza, Mrs. James Warburton Martinez (Charlotte Wardle Drake)",female,58,0,1,PC 17755,512.3292,B51 B53 B55,C 1236,3,"van Billiard, Master. James William",male,,1,1,A/5. 851,14.5,,S 1237,3,"Abelseth, Miss. Karen Marie",female,16,0,0,348125,7.65,,S 1238,2,"Botsford, Mr. William Hull",male,26,0,0,237670,13,,S 1239,3,"Whabee, Mrs. George Joseph (Shawneene Abi-Saab)",female,38,0,0,2688,7.2292,,C 1240,2,"Giles, Mr. Ralph",male,24,0,0,248726,13.5,,S 1241,2,"Walcroft, Miss. Nellie",female,31,0,0,F.C.C. 13528,21,,S 1242,1,"Greenfield, Mrs. Leo David (Blanche Strouse)",female,45,0,1,PC 17759,63.3583,D10 D12,C 1243,2,"Stokes, Mr. Philip Joseph",male,25,0,0,F.C.C. 13540,10.5,,S 1244,2,"Dibden, Mr. William",male,18,0,0,S.O.C. 14879,73.5,,S 1245,2,"Herman, Mr. Samuel",male,49,1,2,220845,65,,S 1246,3,"Dean, Miss. Elizabeth Gladys Millvina""""",female,0.17,1,2,C.A. 2315,20.575,,S 1247,1,"Julian, Mr. Henry Forbes",male,50,0,0,113044,26,E60,S 1248,1,"Brown, Mrs. John Murray (Caroline Lane Lamson)",female,59,2,0,11769,51.4792,C101,S 1249,3,"Lockyer, Mr. Edward",male,,0,0,1222,7.8792,,S 1250,3,"O'Keefe, Mr. Patrick",male,,0,0,368402,7.75,,Q 1251,3,"Lindell, Mrs. Edvard Bengtsson (Elin Gerda Persson)",female,30,1,0,349910,15.55,,S 1252,3,"Sage, Master. William Henry",male,14.5,8,2,CA. 2343,69.55,,S 1253,2,"Mallet, Mrs. Albert (Antoinette Magnin)",female,24,1,1,S.C./PARIS 2079,37.0042,,C 1254,2,"Ware, Mrs. John James (Florence Louise Long)",female,31,0,0,CA 31352,21,,S 1255,3,"Strilic, Mr. Ivan",male,27,0,0,315083,8.6625,,S 1256,1,"Harder, Mrs. George Achilles (Dorothy Annan)",female,25,1,0,11765,55.4417,E50,C 1257,3,"Sage, Mrs. John (Annie Bullen)",female,,1,9,CA. 2343,69.55,,S 1258,3,"Caram, Mr. Joseph",male,,1,0,2689,14.4583,,C 1259,3,"Riihivouri, Miss. Susanna Juhantytar Sanni""""",female,22,0,0,3101295,39.6875,,S 1260,1,"Gibson, Mrs. Leonard (Pauline C Boeson)",female,45,0,1,112378,59.4,,C 1261,2,"Pallas y Castello, Mr. Emilio",male,29,0,0,SC/PARIS 2147,13.8583,,C 1262,2,"Giles, Mr. Edgar",male,21,1,0,28133,11.5,,S 1263,1,"Wilson, Miss. Helen Alice",female,31,0,0,16966,134.5,E39 E41,C 1264,1,"Ismay, Mr. Joseph Bruce",male,49,0,0,112058,0,B52 B54 B56,S 1265,2,"Harbeck, Mr. William H",male,44,0,0,248746,13,,S 1266,1,"Dodge, Mrs. Washington (Ruth Vidaver)",female,54,1,1,33638,81.8583,A34,S 1267,1,"Bowen, Miss. Grace Scott",female,45,0,0,PC 17608,262.375,,C 1268,3,"Kink, Miss. Maria",female,22,2,0,315152,8.6625,,S 1269,2,"Cotterill, Mr. Henry Harry""""",male,21,0,0,29107,11.5,,S 1270,1,"Hipkins, Mr. William Edward",male,55,0,0,680,50,C39,S 1271,3,"Asplund, Master. Carl Edgar",male,5,4,2,347077,31.3875,,S 1272,3,"O'Connor, Mr. Patrick",male,,0,0,366713,7.75,,Q 1273,3,"Foley, Mr. Joseph",male,26,0,0,330910,7.8792,,Q 1274,3,"Risien, Mrs. Samuel (Emma)",female,,0,0,364498,14.5,,S 1275,3,"McNamee, Mrs. Neal (Eileen O'Leary)",female,19,1,0,376566,16.1,,S 1276,2,"Wheeler, Mr. Edwin Frederick""""",male,,0,0,SC/PARIS 2159,12.875,,S 1277,2,"Herman, Miss. Kate",female,24,1,2,220845,65,,S 1278,3,"Aronsson, Mr. Ernst Axel Algot",male,24,0,0,349911,7.775,,S 1279,2,"Ashby, Mr. John",male,57,0,0,244346,13,,S 1280,3,"Canavan, Mr. Patrick",male,21,0,0,364858,7.75,,Q 1281,3,"Palsson, Master. Paul Folke",male,6,3,1,349909,21.075,,S 1282,1,"Payne, Mr. Vivian Ponsonby",male,23,0,0,12749,93.5,B24,S 1283,1,"Lines, Mrs. Ernest H (Elizabeth Lindsey James)",female,51,0,1,PC 17592,39.4,D28,S 1284,3,"Abbott, Master. Eugene Joseph",male,13,0,2,C.A. 2673,20.25,,S 1285,2,"Gilbert, Mr. William",male,47,0,0,C.A. 30769,10.5,,S 1286,3,"Kink-Heilmann, Mr. Anton",male,29,3,1,315153,22.025,,S 1287,1,"Smith, Mrs. Lucien Philip (Mary Eloise Hughes)",female,18,1,0,13695,60,C31,S 1288,3,"Colbert, Mr. Patrick",male,24,0,0,371109,7.25,,Q 1289,1,"Frolicher-Stehli, Mrs. Maxmillian (Margaretha Emerentia Stehli)",female,48,1,1,13567,79.2,B41,C 1290,3,"Larsson-Rondberg, Mr. Edvard A",male,22,0,0,347065,7.775,,S 1291,3,"Conlon, Mr. Thomas Henry",male,31,0,0,21332,7.7333,,Q 1292,1,"Bonnell, Miss. Caroline",female,30,0,0,36928,164.8667,C7,S 1293,2,"Gale, Mr. Harry",male,38,1,0,28664,21,,S 1294,1,"Gibson, Miss. Dorothy Winifred",female,22,0,1,112378,59.4,,C 1295,1,"Carrau, Mr. Jose Pedro",male,17,0,0,113059,47.1,,S 1296,1,"Frauenthal, Mr. Isaac Gerald",male,43,1,0,17765,27.7208,D40,C 1297,2,"Nourney, Mr. Alfred (Baron von Drachstedt"")""",male,20,0,0,SC/PARIS 2166,13.8625,D38,C 1298,2,"Ware, Mr. William Jeffery",male,23,1,0,28666,10.5,,S 1299,1,"Widener, Mr. George Dunton",male,50,1,1,113503,211.5,C80,C 1300,3,"Riordan, Miss. Johanna Hannah""""",female,,0,0,334915,7.7208,,Q 1301,3,"Peacock, Miss. Treasteall",female,3,1,1,SOTON/O.Q. 3101315,13.775,,S 1302,3,"Naughton, Miss. Hannah",female,,0,0,365237,7.75,,Q 1303,1,"Minahan, Mrs. William Edward (Lillian E Thorpe)",female,37,1,0,19928,90,C78,Q 1304,3,"Henriksson, Miss. Jenny Lovisa",female,28,0,0,347086,7.775,,S 1305,3,"Spector, Mr. Woolf",male,,0,0,A.5. 3236,8.05,,S 1306,1,"Oliva y Ocana, Dona. Fermina",female,39,0,0,PC 17758,108.9,C105,C 1307,3,"Saether, Mr. Simon Sivertsen",male,38.5,0,0,SOTON/O.Q. 3101262,7.25,,S 1308,3,"Ware, Mr. Frederick",male,,0,0,359309,8.05,,S 1309,3,"Peter, Master. Michael J",male,,1,1,2668,22.3583,,C ================================================ FILE: data/chap1/Titanic_special.txt ================================================ PassengerId|Pclass|Name|Sex|Age|SibSp|Parch|Ticket|Fare|Cabin|Embarked 892|3|"Kelly, Mr. James"|male|34.5|0|0|330911|7.8292||Q 893|3|"Wilkes, Mrs. James (Ellen Needs)"|female|47|1|0|363272|7||S 894|2|"Myles, Mr. Thomas Francis"|male|62|0|0|240276|9.6875||Q 895|3|"Wirz, Mr. Albert"|male|27|0|0|315154|8.6625||S 896|3|"Hirvonen, Mrs. Alexander (Helga E Lindqvist)"|female|22|1|1|3101298|12.2875||S 897|3|"Svensson, Mr. Johan Cervin"|male|14|0|0|7538|9.225||S 898|3|"Connolly, Miss. Kate"|female|30|0|0|330972|7.6292||Q 899|2|"Caldwell, Mr. Albert Francis"|male|26|1|1|248738|29||S 900|3|"Abrahim, Mrs. Joseph (Sophie Halaut Easu)"|female|18|0|0|2657|7.2292||C 901|3|"Davies, Mr. John Samuel"|male|21|2|0|A/4 48871|24.15||S 902|3|"Ilieff, Mr. Ylio"|male||0|0|349220|7.8958||S 903|1|"Jones, Mr. Charles Cresson"|male|46|0|0|694|26||S 904|1|"Snyder, Mrs. John Pillsbury (Nelle Stevenson)"|female|23|1|0|21228|82.2667|B45|S 905|2|"Howard, Mr. Benjamin"|male|63|1|0|24065|26||S 906|1|"Chaffee, Mrs. Herbert Fuller (Carrie Constance Toogood)"|female|47|1|0|W.E.P. 5734|61.175|E31|S 907|2|"del Carlo, Mrs. Sebastiano (Argenia Genovesi)"|female|24|1|0|SC/PARIS 2167|27.7208||C 908|2|"Keane, Mr. Daniel"|male|35|0|0|233734|12.35||Q 909|3|"Assaf, Mr. Gerios"|male|21|0|0|2692|7.225||C 910|3|"Ilmakangas, Miss. Ida Livija"|female|27|1|0|STON/O2. 3101270|7.925||S 911|3|"Assaf Khalil, Mrs. Mariana (Miriam"")"""|female|45|0|0|2696|7.225||C 912|1|"Rothschild, Mr. Martin"|male|55|1|0|PC 17603|59.4||C 913|3|"Olsen, Master. Artur Karl"|male|9|0|1|C 17368|3.1708||S 914|1|"Flegenheim, Mrs. Alfred (Antoinette)"|female||0|0|PC 17598|31.6833||S 915|1|"Williams, Mr. Richard Norris II"|male|21|0|1|PC 17597|61.3792||C 916|1|"Ryerson, Mrs. Arthur Larned (Emily Maria Borie)"|female|48|1|3|PC 17608|262.375|B57 B59 B63 B66|C 917|3|"Robins, Mr. Alexander A"|male|50|1|0|A/5. 3337|14.5||S 918|1|"Ostby, Miss. Helene Ragnhild"|female|22|0|1|113509|61.9792|B36|C 919|3|"Daher, Mr. Shedid"|male|22.5|0|0|2698|7.225||C 920|1|"Brady, Mr. John Bertram"|male|41|0|0|113054|30.5|A21|S 921|3|"Samaan, Mr. Elias"|male||2|0|2662|21.6792||C 922|2|"Louch, Mr. Charles Alexander"|male|50|1|0|SC/AH 3085|26||S 923|2|"Jefferys, Mr. Clifford Thomas"|male|24|2|0|C.A. 31029|31.5||S 924|3|"Dean, Mrs. Bertram (Eva Georgetta Light)"|female|33|1|2|C.A. 2315|20.575||S 925|3|"Johnston, Mrs. Andrew G (Elizabeth Lily"" Watson)"""|female||1|2|W./C. 6607|23.45||S 926|1|"Mock, Mr. Philipp Edmund"|male|30|1|0|13236|57.75|C78|C 927|3|"Katavelas, Mr. Vassilios (Catavelas Vassilios"")"""|male|18.5|0|0|2682|7.2292||C 928|3|"Roth, Miss. Sarah A"|female||0|0|342712|8.05||S 929|3|"Cacic, Miss. Manda"|female|21|0|0|315087|8.6625||S 930|3|"Sap, Mr. Julius"|male|25|0|0|345768|9.5||S 931|3|"Hee, Mr. Ling"|male||0|0|1601|56.4958||S 932|3|"Karun, Mr. Franz"|male|39|0|1|349256|13.4167||C 933|1|"Franklin, Mr. Thomas Parham"|male||0|0|113778|26.55|D34|S 934|3|"Goldsmith, Mr. Nathan"|male|41|0|0|SOTON/O.Q. 3101263|7.85||S 935|2|"Corbett, Mrs. Walter H (Irene Colvin)"|female|30|0|0|237249|13||S 936|1|"Kimball, Mrs. Edwin Nelson Jr (Gertrude Parsons)"|female|45|1|0|11753|52.5542|D19|S 937|3|"Peltomaki, Mr. Nikolai Johannes"|male|25|0|0|STON/O 2. 3101291|7.925||S 938|1|"Chevre, Mr. Paul Romaine"|male|45|0|0|PC 17594|29.7|A9|C 939|3|"Shaughnessy, Mr. Patrick"|male||0|0|370374|7.75||Q 940|1|"Bucknell, Mrs. William Robert (Emma Eliza Ward)"|female|60|0|0|11813|76.2917|D15|C 941|3|"Coutts, Mrs. William (Winnie Minnie"" Treanor)"""|female|36|0|2|C.A. 37671|15.9||S 942|1|"Smith, Mr. Lucien Philip"|male|24|1|0|13695|60|C31|S 943|2|"Pulbaum, Mr. Franz"|male|27|0|0|SC/PARIS 2168|15.0333||C 944|2|"Hocking, Miss. Ellen Nellie"""""|female|20|2|1|29105|23||S 945|1|"Fortune, Miss. Ethel Flora"|female|28|3|2|19950|263|C23 C25 C27|S 946|2|"Mangiavacchi, Mr. Serafino Emilio"|male||0|0|SC/A.3 2861|15.5792||C 947|3|"Rice, Master. Albert"|male|10|4|1|382652|29.125||Q 948|3|"Cor, Mr. Bartol"|male|35|0|0|349230|7.8958||S 949|3|"Abelseth, Mr. Olaus Jorgensen"|male|25|0|0|348122|7.65|F G63|S 950|3|"Davison, Mr. Thomas Henry"|male||1|0|386525|16.1||S 951|1|"Chaudanson, Miss. Victorine"|female|36|0|0|PC 17608|262.375|B61|C 952|3|"Dika, Mr. Mirko"|male|17|0|0|349232|7.8958||S 953|2|"McCrae, Mr. Arthur Gordon"|male|32|0|0|237216|13.5||S 954|3|"Bjorklund, Mr. Ernst Herbert"|male|18|0|0|347090|7.75||S 955|3|"Bradley, Miss. Bridget Delia"|female|22|0|0|334914|7.725||Q 956|1|"Ryerson, Master. John Borie"|male|13|2|2|PC 17608|262.375|B57 B59 B63 B66|C 957|2|"Corey, Mrs. Percy C (Mary Phyllis Elizabeth Miller)"|female||0|0|F.C.C. 13534|21||S 958|3|"Burns, Miss. Mary Delia"|female|18|0|0|330963|7.8792||Q 959|1|"Moore, Mr. Clarence Bloomfield"|male|47|0|0|113796|42.4||S 960|1|"Tucker, Mr. Gilbert Milligan Jr"|male|31|0|0|2543|28.5375|C53|C 961|1|"Fortune, Mrs. Mark (Mary McDougald)"|female|60|1|4|19950|263|C23 C25 C27|S 962|3|"Mulvihill, Miss. Bertha E"|female|24|0|0|382653|7.75||Q 963|3|"Minkoff, Mr. Lazar"|male|21|0|0|349211|7.8958||S 964|3|"Nieminen, Miss. Manta Josefina"|female|29|0|0|3101297|7.925||S 965|1|"Ovies y Rodriguez, Mr. Servando"|male|28.5|0|0|PC 17562|27.7208|D43|C 966|1|"Geiger, Miss. Amalie"|female|35|0|0|113503|211.5|C130|C 967|1|"Keeping, Mr. Edwin"|male|32.5|0|0|113503|211.5|C132|C 968|3|"Miles, Mr. Frank"|male||0|0|359306|8.05||S 969|1|"Cornell, Mrs. Robert Clifford (Malvina Helen Lamson)"|female|55|2|0|11770|25.7|C101|S 970|2|"Aldworth, Mr. Charles Augustus"|male|30|0|0|248744|13||S 971|3|"Doyle, Miss. Elizabeth"|female|24|0|0|368702|7.75||Q 972|3|"Boulos, Master. Akar"|male|6|1|1|2678|15.2458||C 973|1|"Straus, Mr. Isidor"|male|67|1|0|PC 17483|221.7792|C55 C57|S 974|1|"Case, Mr. Howard Brown"|male|49|0|0|19924|26||S 975|3|"Demetri, Mr. Marinko"|male||0|0|349238|7.8958||S 976|2|"Lamb, Mr. John Joseph"|male||0|0|240261|10.7083||Q 977|3|"Khalil, Mr. Betros"|male||1|0|2660|14.4542||C 978|3|"Barry, Miss. Julia"|female|27|0|0|330844|7.8792||Q 979|3|"Badman, Miss. Emily Louisa"|female|18|0|0|A/4 31416|8.05||S 980|3|"O'Donoghue, Ms. Bridget"|female||0|0|364856|7.75||Q 981|2|"Wells, Master. Ralph Lester"|male|2|1|1|29103|23||S 982|3|"Dyker, Mrs. Adolf Fredrik (Anna Elisabeth Judith Andersson)"|female|22|1|0|347072|13.9||S 983|3|"Pedersen, Mr. Olaf"|male||0|0|345498|7.775||S 984|1|"Davidson, Mrs. Thornton (Orian Hays)"|female|27|1|2|F.C. 12750|52|B71|S 985|3|"Guest, Mr. Robert"|male||0|0|376563|8.05||S 986|1|"Birnbaum, Mr. Jakob"|male|25|0|0|13905|26||C 987|3|"Tenglin, Mr. Gunnar Isidor"|male|25|0|0|350033|7.7958||S 988|1|"Cavendish, Mrs. Tyrell William (Julia Florence Siegel)"|female|76|1|0|19877|78.85|C46|S 989|3|"Makinen, Mr. Kalle Edvard"|male|29|0|0|STON/O 2. 3101268|7.925||S 990|3|"Braf, Miss. Elin Ester Maria"|female|20|0|0|347471|7.8542||S 991|3|"Nancarrow, Mr. William Henry"|male|33|0|0|A./5. 3338|8.05||S 992|1|"Stengel, Mrs. Charles Emil Henry (Annie May Morris)"|female|43|1|0|11778|55.4417|C116|C 993|2|"Weisz, Mr. Leopold"|male|27|1|0|228414|26||S 994|3|"Foley, Mr. William"|male||0|0|365235|7.75||Q 995|3|"Johansson Palmquist, Mr. Oskar Leander"|male|26|0|0|347070|7.775||S 996|3|"Thomas, Mrs. Alexander (Thamine Thelma"")"""|female|16|1|1|2625|8.5167||C 997|3|"Holthen, Mr. Johan Martin"|male|28|0|0|C 4001|22.525||S 998|3|"Buckley, Mr. Daniel"|male|21|0|0|330920|7.8208||Q 999|3|"Ryan, Mr. Edward"|male||0|0|383162|7.75||Q 1000|3|"Willer, Mr. Aaron (Abi Weller"")"""|male||0|0|3410|8.7125||S 1001|2|"Swane, Mr. George"|male|18.5|0|0|248734|13|F|S 1002|2|"Stanton, Mr. Samuel Ward"|male|41|0|0|237734|15.0458||C 1003|3|"Shine, Miss. Ellen Natalia"|female||0|0|330968|7.7792||Q 1004|1|"Evans, Miss. Edith Corse"|female|36|0|0|PC 17531|31.6792|A29|C 1005|3|"Buckley, Miss. Katherine"|female|18.5|0|0|329944|7.2833||Q 1006|1|"Straus, Mrs. Isidor (Rosalie Ida Blun)"|female|63|1|0|PC 17483|221.7792|C55 C57|S 1007|3|"Chronopoulos, Mr. Demetrios"|male|18|1|0|2680|14.4542||C 1008|3|"Thomas, Mr. John"|male||0|0|2681|6.4375||C 1009|3|"Sandstrom, Miss. Beatrice Irene"|female|1|1|1|PP 9549|16.7|G6|S 1010|1|"Beattie, Mr. Thomson"|male|36|0|0|13050|75.2417|C6|C 1011|2|"Chapman, Mrs. John Henry (Sara Elizabeth Lawry)"|female|29|1|0|SC/AH 29037|26||S 1012|2|"Watt, Miss. Bertha J"|female|12|0|0|C.A. 33595|15.75||S 1013|3|"Kiernan, Mr. John"|male||1|0|367227|7.75||Q 1014|1|"Schabert, Mrs. Paul (Emma Mock)"|female|35|1|0|13236|57.75|C28|C 1015|3|"Carver, Mr. Alfred John"|male|28|0|0|392095|7.25||S 1016|3|"Kennedy, Mr. John"|male||0|0|368783|7.75||Q 1017|3|"Cribb, Miss. Laura Alice"|female|17|0|1|371362|16.1||S 1018|3|"Brobeck, Mr. Karl Rudolf"|male|22|0|0|350045|7.7958||S 1019|3|"McCoy, Miss. Alicia"|female||2|0|367226|23.25||Q 1020|2|"Bowenur, Mr. Solomon"|male|42|0|0|211535|13||S 1021|3|"Petersen, Mr. Marius"|male|24|0|0|342441|8.05||S 1022|3|"Spinner, Mr. Henry John"|male|32|0|0|STON/OQ. 369943|8.05||S 1023|1|"Gracie, Col. Archibald IV"|male|53|0|0|113780|28.5|C51|C 1024|3|"Lefebre, Mrs. Frank (Frances)"|female||0|4|4133|25.4667||S 1025|3|"Thomas, Mr. Charles P"|male||1|0|2621|6.4375||C 1026|3|"Dintcheff, Mr. Valtcho"|male|43|0|0|349226|7.8958||S 1027|3|"Carlsson, Mr. Carl Robert"|male|24|0|0|350409|7.8542||S 1028|3|"Zakarian, Mr. Mapriededer"|male|26.5|0|0|2656|7.225||C 1029|2|"Schmidt, Mr. August"|male|26|0|0|248659|13||S 1030|3|"Drapkin, Miss. Jennie"|female|23|0|0|SOTON/OQ 392083|8.05||S 1031|3|"Goodwin, Mr. Charles Frederick"|male|40|1|6|CA 2144|46.9||S 1032|3|"Goodwin, Miss. Jessie Allis"|female|10|5|2|CA 2144|46.9||S 1033|1|"Daniels, Miss. Sarah"|female|33|0|0|113781|151.55||S 1034|1|"Ryerson, Mr. Arthur Larned"|male|61|1|3|PC 17608|262.375|B57 B59 B63 B66|C 1035|2|"Beauchamp, Mr. Henry James"|male|28|0|0|244358|26||S 1036|1|"Lindeberg-Lind, Mr. Erik Gustaf (Mr Edward Lingrey"")"""|male|42|0|0|17475|26.55||S 1037|3|"Vander Planke, Mr. Julius"|male|31|3|0|345763|18||S 1038|1|"Hilliard, Mr. Herbert Henry"|male||0|0|17463|51.8625|E46|S 1039|3|"Davies, Mr. Evan"|male|22|0|0|SC/A4 23568|8.05||S 1040|1|"Crafton, Mr. John Bertram"|male||0|0|113791|26.55||S 1041|2|"Lahtinen, Rev. William"|male|30|1|1|250651|26||S 1042|1|"Earnshaw, Mrs. Boulton (Olive Potter)"|female|23|0|1|11767|83.1583|C54|C 1043|3|"Matinoff, Mr. Nicola"|male||0|0|349255|7.8958||C 1044|3|"Storey, Mr. Thomas"|male|60.5|0|0|3701|||S 1045|3|"Klasen, Mrs. (Hulda Kristina Eugenia Lofqvist)"|female|36|0|2|350405|12.1833||S 1046|3|"Asplund, Master. Filip Oscar"|male|13|4|2|347077|31.3875||S 1047|3|"Duquemin, Mr. Joseph"|male|24|0|0|S.O./P.P. 752|7.55||S 1048|1|"Bird, Miss. Ellen"|female|29|0|0|PC 17483|221.7792|C97|S 1049|3|"Lundin, Miss. Olga Elida"|female|23|0|0|347469|7.8542||S 1050|1|"Borebank, Mr. John James"|male|42|0|0|110489|26.55|D22|S 1051|3|"Peacock, Mrs. Benjamin (Edith Nile)"|female|26|0|2|SOTON/O.Q. 3101315|13.775||S 1052|3|"Smyth, Miss. Julia"|female||0|0|335432|7.7333||Q 1053|3|"Touma, Master. Georges Youssef"|male|7|1|1|2650|15.2458||C 1054|2|"Wright, Miss. Marion"|female|26|0|0|220844|13.5||S 1055|3|"Pearce, Mr. Ernest"|male||0|0|343271|7||S 1056|2|"Peruschitz, Rev. Joseph Maria"|male|41|0|0|237393|13||S 1057|3|"Kink-Heilmann, Mrs. Anton (Luise Heilmann)"|female|26|1|1|315153|22.025||S 1058|1|"Brandeis, Mr. Emil"|male|48|0|0|PC 17591|50.4958|B10|C 1059|3|"Ford, Mr. Edward Watson"|male|18|2|2|W./C. 6608|34.375||S 1060|1|"Cassebeer, Mrs. Henry Arthur Jr (Eleanor Genevieve Fosdick)"|female||0|0|17770|27.7208||C 1061|3|"Hellstrom, Miss. Hilda Maria"|female|22|0|0|7548|8.9625||S 1062|3|"Lithman, Mr. Simon"|male||0|0|S.O./P.P. 251|7.55||S 1063|3|"Zakarian, Mr. Ortin"|male|27|0|0|2670|7.225||C 1064|3|"Dyker, Mr. Adolf Fredrik"|male|23|1|0|347072|13.9||S 1065|3|"Torfa, Mr. Assad"|male||0|0|2673|7.2292||C 1066|3|"Asplund, Mr. Carl Oscar Vilhelm Gustafsson"|male|40|1|5|347077|31.3875||S 1067|2|"Brown, Miss. Edith Eileen"|female|15|0|2|29750|39||S 1068|2|"Sincock, Miss. Maude"|female|20|0|0|C.A. 33112|36.75||S 1069|1|"Stengel, Mr. Charles Emil Henry"|male|54|1|0|11778|55.4417|C116|C 1070|2|"Becker, Mrs. Allen Oliver (Nellie E Baumgardner)"|female|36|0|3|230136|39|F4|S 1071|1|"Compton, Mrs. Alexander Taylor (Mary Eliza Ingersoll)"|female|64|0|2|PC 17756|83.1583|E45|C 1072|2|"McCrie, Mr. James Matthew"|male|30|0|0|233478|13||S 1073|1|"Compton, Mr. Alexander Taylor Jr"|male|37|1|1|PC 17756|83.1583|E52|C 1074|1|"Marvin, Mrs. Daniel Warner (Mary Graham Carmichael Farquarson)"|female|18|1|0|113773|53.1|D30|S 1075|3|"Lane, Mr. Patrick"|male||0|0|7935|7.75||Q 1076|1|"Douglas, Mrs. Frederick Charles (Mary Helene Baxter)"|female|27|1|1|PC 17558|247.5208|B58 B60|C 1077|2|"Maybery, Mr. Frank Hubert"|male|40|0|0|239059|16||S 1078|2|"Phillips, Miss. Alice Frances Louisa"|female|21|0|1|S.O./P.P. 2|21||S 1079|3|"Davies, Mr. Joseph"|male|17|2|0|A/4 48873|8.05||S 1080|3|"Sage, Miss. Ada"|female||8|2|CA. 2343|69.55||S 1081|2|"Veal, Mr. James"|male|40|0|0|28221|13||S 1082|2|"Angle, Mr. William A"|male|34|1|0|226875|26||S 1083|1|"Salomon, Mr. Abraham L"|male||0|0|111163|26||S 1084|3|"van Billiard, Master. Walter John"|male|11.5|1|1|A/5. 851|14.5||S 1085|2|"Lingane, Mr. John"|male|61|0|0|235509|12.35||Q 1086|2|"Drew, Master. Marshall Brines"|male|8|0|2|28220|32.5||S 1087|3|"Karlsson, Mr. Julius Konrad Eugen"|male|33|0|0|347465|7.8542||S 1088|1|"Spedden, Master. Robert Douglas"|male|6|0|2|16966|134.5|E34|C 1089|3|"Nilsson, Miss. Berta Olivia"|female|18|0|0|347066|7.775||S 1090|2|"Baimbrigge, Mr. Charles Robert"|male|23|0|0|C.A. 31030|10.5||S 1091|3|"Rasmussen, Mrs. (Lena Jacobsen Solvang)"|female||0|0|65305|8.1125||S 1092|3|"Murphy, Miss. Nora"|female||0|0|36568|15.5||Q 1093|3|"Danbom, Master. Gilbert Sigvard Emanuel"|male|0.33|0|2|347080|14.4||S 1094|1|"Astor, Col. John Jacob"|male|47|1|0|PC 17757|227.525|C62 C64|C 1095|2|"Quick, Miss. Winifred Vera"|female|8|1|1|26360|26||S 1096|2|"Andrew, Mr. Frank Thomas"|male|25|0|0|C.A. 34050|10.5||S 1097|1|"Omont, Mr. Alfred Fernand"|male||0|0|F.C. 12998|25.7417||C 1098|3|"McGowan, Miss. Katherine"|female|35|0|0|9232|7.75||Q 1099|2|"Collett, Mr. Sidney C Stuart"|male|24|0|0|28034|10.5||S 1100|1|"Rosenbaum, Miss. Edith Louise"|female|33|0|0|PC 17613|27.7208|A11|C 1101|3|"Delalic, Mr. Redjo"|male|25|0|0|349250|7.8958||S 1102|3|"Andersen, Mr. Albert Karvin"|male|32|0|0|C 4001|22.525||S 1103|3|"Finoli, Mr. Luigi"|male||0|0|SOTON/O.Q. 3101308|7.05||S 1104|2|"Deacon, Mr. Percy William"|male|17|0|0|S.O.C. 14879|73.5||S 1105|2|"Howard, Mrs. Benjamin (Ellen Truelove Arman)"|female|60|1|0|24065|26||S 1106|3|"Andersson, Miss. Ida Augusta Margareta"|female|38|4|2|347091|7.775||S 1107|1|"Head, Mr. Christopher"|male|42|0|0|113038|42.5|B11|S 1108|3|"Mahon, Miss. Bridget Delia"|female||0|0|330924|7.8792||Q 1109|1|"Wick, Mr. George Dennick"|male|57|1|1|36928|164.8667||S 1110|1|"Widener, Mrs. George Dunton (Eleanor Elkins)"|female|50|1|1|113503|211.5|C80|C 1111|3|"Thomson, Mr. Alexander Morrison"|male||0|0|32302|8.05||S 1112|2|"Duran y More, Miss. Florentina"|female|30|1|0|SC/PARIS 2148|13.8583||C 1113|3|"Reynolds, Mr. Harold J"|male|21|0|0|342684|8.05||S 1114|2|"Cook, Mrs. (Selena Rogers)"|female|22|0|0|W./C. 14266|10.5|F33|S 1115|3|"Karlsson, Mr. Einar Gervasius"|male|21|0|0|350053|7.7958||S 1116|1|"Candee, Mrs. Edward (Helen Churchill Hungerford)"|female|53|0|0|PC 17606|27.4458||C 1117|3|"Moubarek, Mrs. George (Omine Amenia"" Alexander)"""|female||0|2|2661|15.2458||C 1118|3|"Asplund, Mr. Johan Charles"|male|23|0|0|350054|7.7958||S 1119|3|"McNeill, Miss. Bridget"|female||0|0|370368|7.75||Q 1120|3|"Everett, Mr. Thomas James"|male|40.5|0|0|C.A. 6212|15.1||S 1121|2|"Hocking, Mr. Samuel James Metcalfe"|male|36|0|0|242963|13||S 1122|2|"Sweet, Mr. George Frederick"|male|14|0|0|220845|65||S 1123|1|"Willard, Miss. Constance"|female|21|0|0|113795|26.55||S 1124|3|"Wiklund, Mr. Karl Johan"|male|21|1|0|3101266|6.4958||S 1125|3|"Linehan, Mr. Michael"|male||0|0|330971|7.8792||Q 1126|1|"Cumings, Mr. John Bradley"|male|39|1|0|PC 17599|71.2833|C85|C 1127|3|"Vendel, Mr. Olof Edvin"|male|20|0|0|350416|7.8542||S 1128|1|"Warren, Mr. Frank Manley"|male|64|1|0|110813|75.25|D37|C 1129|3|"Baccos, Mr. Raffull"|male|20|0|0|2679|7.225||C 1130|2|"Hiltunen, Miss. Marta"|female|18|1|1|250650|13||S 1131|1|"Douglas, Mrs. Walter Donald (Mahala Dutton)"|female|48|1|0|PC 17761|106.425|C86|C 1132|1|"Lindstrom, Mrs. Carl Johan (Sigrid Posse)"|female|55|0|0|112377|27.7208||C 1133|2|"Christy, Mrs. (Alice Frances)"|female|45|0|2|237789|30||S 1134|1|"Spedden, Mr. Frederic Oakley"|male|45|1|1|16966|134.5|E34|C 1135|3|"Hyman, Mr. Abraham"|male||0|0|3470|7.8875||S 1136|3|"Johnston, Master. William Arthur Willie"""""|male||1|2|W./C. 6607|23.45||S 1137|1|"Kenyon, Mr. Frederick R"|male|41|1|0|17464|51.8625|D21|S 1138|2|"Karnes, Mrs. J Frank (Claire Bennett)"|female|22|0|0|F.C.C. 13534|21||S 1139|2|"Drew, Mr. James Vivian"|male|42|1|1|28220|32.5||S 1140|2|"Hold, Mrs. Stephen (Annie Margaret Hill)"|female|29|1|0|26707|26||S 1141|3|"Khalil, Mrs. Betros (Zahie Maria"" Elias)"""|female||1|0|2660|14.4542||C 1142|2|"West, Miss. Barbara J"|female|0.92|1|2|C.A. 34651|27.75||S 1143|3|"Abrahamsson, Mr. Abraham August Johannes"|male|20|0|0|SOTON/O2 3101284|7.925||S 1144|1|"Clark, Mr. Walter Miller"|male|27|1|0|13508|136.7792|C89|C 1145|3|"Salander, Mr. Karl Johan"|male|24|0|0|7266|9.325||S 1146|3|"Wenzel, Mr. Linhart"|male|32.5|0|0|345775|9.5||S 1147|3|"MacKay, Mr. George William"|male||0|0|C.A. 42795|7.55||S 1148|3|"Mahon, Mr. John"|male||0|0|AQ/4 3130|7.75||Q 1149|3|"Niklasson, Mr. Samuel"|male|28|0|0|363611|8.05||S 1150|2|"Bentham, Miss. Lilian W"|female|19|0|0|28404|13||S 1151|3|"Midtsjo, Mr. Karl Albert"|male|21|0|0|345501|7.775||S 1152|3|"de Messemaeker, Mr. Guillaume Joseph"|male|36.5|1|0|345572|17.4||S 1153|3|"Nilsson, Mr. August Ferdinand"|male|21|0|0|350410|7.8542||S 1154|2|"Wells, Mrs. Arthur Henry (Addie"" Dart Trevaskis)"""|female|29|0|2|29103|23||S 1155|3|"Klasen, Miss. Gertrud Emilia"|female|1|1|1|350405|12.1833||S 1156|2|"Portaluppi, Mr. Emilio Ilario Giuseppe"|male|30|0|0|C.A. 34644|12.7375||C 1157|3|"Lyntakoff, Mr. Stanko"|male||0|0|349235|7.8958||S 1158|1|"Chisholm, Mr. Roderick Robert Crispin"|male||0|0|112051|0||S 1159|3|"Warren, Mr. Charles William"|male||0|0|C.A. 49867|7.55||S 1160|3|"Howard, Miss. May Elizabeth"|female||0|0|A. 2. 39186|8.05||S 1161|3|"Pokrnic, Mr. Mate"|male|17|0|0|315095|8.6625||S 1162|1|"McCaffry, Mr. Thomas Francis"|male|46|0|0|13050|75.2417|C6|C 1163|3|"Fox, Mr. Patrick"|male||0|0|368573|7.75||Q 1164|1|"Clark, Mrs. Walter Miller (Virginia McDowell)"|female|26|1|0|13508|136.7792|C89|C 1165|3|"Lennon, Miss. Mary"|female||1|0|370371|15.5||Q 1166|3|"Saade, Mr. Jean Nassr"|male||0|0|2676|7.225||C 1167|2|"Bryhl, Miss. Dagmar Jenny Ingeborg "|female|20|1|0|236853|26||S 1168|2|"Parker, Mr. Clifford Richard"|male|28|0|0|SC 14888|10.5||S 1169|2|"Faunthorpe, Mr. Harry"|male|40|1|0|2926|26||S 1170|2|"Ware, Mr. John James"|male|30|1|0|CA 31352|21||S 1171|2|"Oxenham, Mr. Percy Thomas"|male|22|0|0|W./C. 14260|10.5||S 1172|3|"Oreskovic, Miss. Jelka"|female|23|0|0|315085|8.6625||S 1173|3|"Peacock, Master. Alfred Edward"|male|0.75|1|1|SOTON/O.Q. 3101315|13.775||S 1174|3|"Fleming, Miss. Honora"|female||0|0|364859|7.75||Q 1175|3|"Touma, Miss. Maria Youssef"|female|9|1|1|2650|15.2458||C 1176|3|"Rosblom, Miss. Salli Helena"|female|2|1|1|370129|20.2125||S 1177|3|"Dennis, Mr. William"|male|36|0|0|A/5 21175|7.25||S 1178|3|"Franklin, Mr. Charles (Charles Fardon)"|male||0|0|SOTON/O.Q. 3101314|7.25||S 1179|1|"Snyder, Mr. John Pillsbury"|male|24|1|0|21228|82.2667|B45|S 1180|3|"Mardirosian, Mr. Sarkis"|male||0|0|2655|7.2292|F E46|C 1181|3|"Ford, Mr. Arthur"|male||0|0|A/5 1478|8.05||S 1182|1|"Rheims, Mr. George Alexander Lucien"|male||0|0|PC 17607|39.6||S 1183|3|"Daly, Miss. Margaret Marcella Maggie"""""|female|30|0|0|382650|6.95||Q 1184|3|"Nasr, Mr. Mustafa"|male||0|0|2652|7.2292||C 1185|1|"Dodge, Dr. Washington"|male|53|1|1|33638|81.8583|A34|S 1186|3|"Wittevrongel, Mr. Camille"|male|36|0|0|345771|9.5||S 1187|3|"Angheloff, Mr. Minko"|male|26|0|0|349202|7.8958||S 1188|2|"Laroche, Miss. Louise"|female|1|1|2|SC/Paris 2123|41.5792||C 1189|3|"Samaan, Mr. Hanna"|male||2|0|2662|21.6792||C 1190|1|"Loring, Mr. Joseph Holland"|male|30|0|0|113801|45.5||S 1191|3|"Johansson, Mr. Nils"|male|29|0|0|347467|7.8542||S 1192|3|"Olsson, Mr. Oscar Wilhelm"|male|32|0|0|347079|7.775||S 1193|2|"Malachard, Mr. Noel"|male||0|0|237735|15.0458|D|C 1194|2|"Phillips, Mr. Escott Robert"|male|43|0|1|S.O./P.P. 2|21||S 1195|3|"Pokrnic, Mr. Tome"|male|24|0|0|315092|8.6625||S 1196|3|"McCarthy, Miss. Catherine Katie"""""|female||0|0|383123|7.75||Q 1197|1|"Crosby, Mrs. Edward Gifford (Catherine Elizabeth Halstead)"|female|64|1|1|112901|26.55|B26|S 1198|1|"Allison, Mr. Hudson Joshua Creighton"|male|30|1|2|113781|151.55|C22 C26|S 1199|3|"Aks, Master. Philip Frank"|male|0.83|0|1|392091|9.35||S 1200|1|"Hays, Mr. Charles Melville"|male|55|1|1|12749|93.5|B69|S 1201|3|"Hansen, Mrs. Claus Peter (Jennie L Howard)"|female|45|1|0|350026|14.1083||S 1202|3|"Cacic, Mr. Jego Grga"|male|18|0|0|315091|8.6625||S 1203|3|"Vartanian, Mr. David"|male|22|0|0|2658|7.225||C 1204|3|"Sadowitz, Mr. Harry"|male||0|0|LP 1588|7.575||S 1205|3|"Carr, Miss. Jeannie"|female|37|0|0|368364|7.75||Q 1206|1|"White, Mrs. John Stuart (Ella Holmes)"|female|55|0|0|PC 17760|135.6333|C32|C 1207|3|"Hagardon, Miss. Kate"|female|17|0|0|AQ/3. 30631|7.7333||Q 1208|1|"Spencer, Mr. William Augustus"|male|57|1|0|PC 17569|146.5208|B78|C 1209|2|"Rogers, Mr. Reginald Harry"|male|19|0|0|28004|10.5||S 1210|3|"Jonsson, Mr. Nils Hilding"|male|27|0|0|350408|7.8542||S 1211|2|"Jefferys, Mr. Ernest Wilfred"|male|22|2|0|C.A. 31029|31.5||S 1212|3|"Andersson, Mr. Johan Samuel"|male|26|0|0|347075|7.775||S 1213|3|"Krekorian, Mr. Neshan"|male|25|0|0|2654|7.2292|F E57|C 1214|2|"Nesson, Mr. Israel"|male|26|0|0|244368|13|F2|S 1215|1|"Rowe, Mr. Alfred G"|male|33|0|0|113790|26.55||S 1216|1|"Kreuchen, Miss. Emilie"|female|39|0|0|24160|211.3375||S 1217|3|"Assam, Mr. Ali"|male|23|0|0|SOTON/O.Q. 3101309|7.05||S 1218|2|"Becker, Miss. Ruth Elizabeth"|female|12|2|1|230136|39|F4|S 1219|1|"Rosenshine, Mr. George (Mr George Thorne"")"""|male|46|0|0|PC 17585|79.2||C 1220|2|"Clarke, Mr. Charles Valentine"|male|29|1|0|2003|26||S 1221|2|"Enander, Mr. Ingvar"|male|21|0|0|236854|13||S 1222|2|"Davies, Mrs. John Morgan (Elizabeth Agnes Mary White) "|female|48|0|2|C.A. 33112|36.75||S 1223|1|"Dulles, Mr. William Crothers"|male|39|0|0|PC 17580|29.7|A18|C 1224|3|"Thomas, Mr. Tannous"|male||0|0|2684|7.225||C 1225|3|"Nakid, Mrs. Said (Waika Mary"" Mowad)"""|female|19|1|1|2653|15.7417||C 1226|3|"Cor, Mr. Ivan"|male|27|0|0|349229|7.8958||S 1227|1|"Maguire, Mr. John Edward"|male|30|0|0|110469|26|C106|S 1228|2|"de Brito, Mr. Jose Joaquim"|male|32|0|0|244360|13||S 1229|3|"Elias, Mr. Joseph"|male|39|0|2|2675|7.2292||C 1230|2|"Denbury, Mr. Herbert"|male|25|0|0|C.A. 31029|31.5||S 1231|3|"Betros, Master. Seman"|male||0|0|2622|7.2292||C 1232|2|"Fillbrook, Mr. Joseph Charles"|male|18|0|0|C.A. 15185|10.5||S 1233|3|"Lundstrom, Mr. Thure Edvin"|male|32|0|0|350403|7.5792||S 1234|3|"Sage, Mr. John George"|male||1|9|CA. 2343|69.55||S 1235|1|"Cardeza, Mrs. James Warburton Martinez (Charlotte Wardle Drake)"|female|58|0|1|PC 17755|512.3292|B51 B53 B55|C 1236|3|"van Billiard, Master. James William"|male||1|1|A/5. 851|14.5||S 1237|3|"Abelseth, Miss. Karen Marie"|female|16|0|0|348125|7.65||S 1238|2|"Botsford, Mr. William Hull"|male|26|0|0|237670|13||S 1239|3|"Whabee, Mrs. George Joseph (Shawneene Abi-Saab)"|female|38|0|0|2688|7.2292||C 1240|2|"Giles, Mr. Ralph"|male|24|0|0|248726|13.5||S 1241|2|"Walcroft, Miss. Nellie"|female|31|0|0|F.C.C. 13528|21||S 1242|1|"Greenfield, Mrs. Leo David (Blanche Strouse)"|female|45|0|1|PC 17759|63.3583|D10 D12|C 1243|2|"Stokes, Mr. Philip Joseph"|male|25|0|0|F.C.C. 13540|10.5||S 1244|2|"Dibden, Mr. William"|male|18|0|0|S.O.C. 14879|73.5||S 1245|2|"Herman, Mr. Samuel"|male|49|1|2|220845|65||S 1246|3|"Dean, Miss. Elizabeth Gladys Millvina"""""|female|0.17|1|2|C.A. 2315|20.575||S 1247|1|"Julian, Mr. Henry Forbes"|male|50|0|0|113044|26|E60|S 1248|1|"Brown, Mrs. John Murray (Caroline Lane Lamson)"|female|59|2|0|11769|51.4792|C101|S 1249|3|"Lockyer, Mr. Edward"|male||0|0|1222|7.8792||S 1250|3|"O'Keefe, Mr. Patrick"|male||0|0|368402|7.75||Q 1251|3|"Lindell, Mrs. Edvard Bengtsson (Elin Gerda Persson)"|female|30|1|0|349910|15.55||S 1252|3|"Sage, Master. William Henry"|male|14.5|8|2|CA. 2343|69.55||S 1253|2|"Mallet, Mrs. Albert (Antoinette Magnin)"|female|24|1|1|S.C./PARIS 2079|37.0042||C 1254|2|"Ware, Mrs. John James (Florence Louise Long)"|female|31|0|0|CA 31352|21||S 1255|3|"Strilic, Mr. Ivan"|male|27|0|0|315083|8.6625||S 1256|1|"Harder, Mrs. George Achilles (Dorothy Annan)"|female|25|1|0|11765|55.4417|E50|C 1257|3|"Sage, Mrs. John (Annie Bullen)"|female||1|9|CA. 2343|69.55||S 1258|3|"Caram, Mr. Joseph"|male||1|0|2689|14.4583||C 1259|3|"Riihivouri, Miss. Susanna Juhantytar Sanni"""""|female|22|0|0|3101295|39.6875||S 1260|1|"Gibson, Mrs. Leonard (Pauline C Boeson)"|female|45|0|1|112378|59.4||C 1261|2|"Pallas y Castello, Mr. Emilio"|male|29|0|0|SC/PARIS 2147|13.8583||C 1262|2|"Giles, Mr. Edgar"|male|21|1|0|28133|11.5||S 1263|1|"Wilson, Miss. Helen Alice"|female|31|0|0|16966|134.5|E39 E41|C 1264|1|"Ismay, Mr. Joseph Bruce"|male|49|0|0|112058|0|B52 B54 B56|S 1265|2|"Harbeck, Mr. William H"|male|44|0|0|248746|13||S 1266|1|"Dodge, Mrs. Washington (Ruth Vidaver)"|female|54|1|1|33638|81.8583|A34|S 1267|1|"Bowen, Miss. Grace Scott"|female|45|0|0|PC 17608|262.375||C 1268|3|"Kink, Miss. Maria"|female|22|2|0|315152|8.6625||S 1269|2|"Cotterill, Mr. Henry Harry"""""|male|21|0|0|29107|11.5||S 1270|1|"Hipkins, Mr. William Edward"|male|55|0|0|680|50|C39|S 1271|3|"Asplund, Master. Carl Edgar"|male|5|4|2|347077|31.3875||S 1272|3|"O'Connor, Mr. Patrick"|male||0|0|366713|7.75||Q 1273|3|"Foley, Mr. Joseph"|male|26|0|0|330910|7.8792||Q 1274|3|"Risien, Mrs. Samuel (Emma)"|female||0|0|364498|14.5||S 1275|3|"McNamee, Mrs. Neal (Eileen O'Leary)"|female|19|1|0|376566|16.1||S 1276|2|"Wheeler, Mr. Edwin Frederick"""""|male||0|0|SC/PARIS 2159|12.875||S 1277|2|"Herman, Miss. Kate"|female|24|1|2|220845|65||S 1278|3|"Aronsson, Mr. Ernst Axel Algot"|male|24|0|0|349911|7.775||S 1279|2|"Ashby, Mr. John"|male|57|0|0|244346|13||S 1280|3|"Canavan, Mr. Patrick"|male|21|0|0|364858|7.75||Q 1281|3|"Palsson, Master. Paul Folke"|male|6|3|1|349909|21.075||S 1282|1|"Payne, Mr. Vivian Ponsonby"|male|23|0|0|12749|93.5|B24|S 1283|1|"Lines, Mrs. Ernest H (Elizabeth Lindsey James)"|female|51|0|1|PC 17592|39.4|D28|S 1284|3|"Abbott, Master. Eugene Joseph"|male|13|0|2|C.A. 2673|20.25||S 1285|2|"Gilbert, Mr. William"|male|47|0|0|C.A. 30769|10.5||S 1286|3|"Kink-Heilmann, Mr. Anton"|male|29|3|1|315153|22.025||S 1287|1|"Smith, Mrs. Lucien Philip (Mary Eloise Hughes)"|female|18|1|0|13695|60|C31|S 1288|3|"Colbert, Mr. Patrick"|male|24|0|0|371109|7.25||Q 1289|1|"Frolicher-Stehli, Mrs. Maxmillian (Margaretha Emerentia Stehli)"|female|48|1|1|13567|79.2|B41|C 1290|3|"Larsson-Rondberg, Mr. Edvard A"|male|22|0|0|347065|7.775||S 1291|3|"Conlon, Mr. Thomas Henry"|male|31|0|0|21332|7.7333||Q 1292|1|"Bonnell, Miss. Caroline"|female|30|0|0|36928|164.8667|C7|S 1293|2|"Gale, Mr. Harry"|male|38|1|0|28664|21||S 1294|1|"Gibson, Miss. Dorothy Winifred"|female|22|0|1|112378|59.4||C 1295|1|"Carrau, Mr. Jose Pedro"|male|17|0|0|113059|47.1||S 1296|1|"Frauenthal, Mr. Isaac Gerald"|male|43|1|0|17765|27.7208|D40|C 1297|2|"Nourney, Mr. Alfred (Baron von Drachstedt"")"""|male|20|0|0|SC/PARIS 2166|13.8625|D38|C 1298|2|"Ware, Mr. William Jeffery"|male|23|1|0|28666|10.5||S 1299|1|"Widener, Mr. George Dunton"|male|50|1|1|113503|211.5|C80|C 1300|3|"Riordan, Miss. Johanna Hannah"""""|female||0|0|334915|7.7208||Q 1301|3|"Peacock, Miss. Treasteall"|female|3|1|1|SOTON/O.Q. 3101315|13.775||S 1302|3|"Naughton, Miss. Hannah"|female||0|0|365237|7.75||Q 1303|1|"Minahan, Mrs. William Edward (Lillian E Thorpe)"|female|37|1|0|19928|90|C78|Q 1304|3|"Henriksson, Miss. Jenny Lovisa"|female|28|0|0|347086|7.775||S 1305|3|"Spector, Mr. Woolf"|male||0|0|A.5. 3236|8.05||S 1306|1|"Oliva y Ocana, Dona. Fermina"|female|39|0|0|PC 17758|108.9|C105|C 1307|3|"Saether, Mr. Simon Sivertsen"|male|38.5|0|0|SOTON/O.Q. 3101262|7.25||S 1308|3|"Ware, Mr. Frederick"|male||0|0|359309|8.05||S 1309|3|"Peter, Master. Michael J"|male||1|1|2668|22.3583||C ================================================ FILE: data/chap1/Titanic_tab.txt ================================================ PassengerId Survived Pclass Name Sex Age SibSp Parch Ticket Fare Cabin Embarked 1 0 3 "Braund, Mr. Owen Harris" male 22 1 0 A/5 21171 7.25 S 2 1 1 "Cumings, Mrs. John Bradley (Florence Briggs Thayer)" female 38 1 0 PC 17599 71.2833 C85 C 3 1 3 "Heikkinen, Miss. Laina" female 26 0 0 STON/O2. 3101282 7.925 S 4 1 1 "Futrelle, Mrs. Jacques Heath (Lily May Peel)" female 35 1 0 113803 53.1 C123 S 5 0 3 "Allen, Mr. William Henry" male 35 0 0 373450 8.05 S 6 0 3 "Moran, Mr. James" male 0 0 330877 8.4583 Q 7 0 1 "McCarthy, Mr. Timothy J" male 54 0 0 17463 51.8625 E46 S 8 0 3 "Palsson, Master. Gosta Leonard" male 2 3 1 349909 21.075 S 9 1 3 "Johnson, Mrs. Oscar W (Elisabeth Vilhelmina Berg)" female 27 0 2 347742 11.1333 S 10 1 2 "Nasser, Mrs. Nicholas (Adele Achem)" female 14 1 0 237736 30.0708 C 11 1 3 "Sandstrom, Miss. Marguerite Rut" female 4 1 1 PP 9549 16.7 G6 S 12 1 1 "Bonnell, Miss. Elizabeth" female 58 0 0 113783 26.55 C103 S 13 0 3 "Saundercock, Mr. William Henry" male 20 0 0 A/5. 2151 8.05 S 14 0 3 "Andersson, Mr. Anders Johan" male 39 1 5 347082 31.275 S 15 0 3 "Vestrom, Miss. Hulda Amanda Adolfina" female 14 0 0 350406 7.8542 S 16 1 2 "Hewlett, Mrs. (Mary D Kingcome) " female 55 0 0 248706 16 S 17 0 3 "Rice, Master. Eugene" male 2 4 1 382652 29.125 Q 18 1 2 "Williams, Mr. Charles Eugene" male 0 0 244373 13 S 19 0 3 "Vander Planke, Mrs. Julius (Emelia Maria Vandemoortele)" female 31 1 0 345763 18 S 20 1 3 "Masselmani, Mrs. Fatima" female 0 0 2649 7.225 C 21 0 2 "Fynney, Mr. Joseph J" male 35 0 0 239865 26 S 22 1 2 "Beesley, Mr. Lawrence" male 34 0 0 248698 13 D56 S 23 1 3 "McGowan, Miss. Anna ""Annie""" female 15 0 0 330923 8.0292 Q 24 1 1 "Sloper, Mr. William Thompson" male 28 0 0 113788 35.5 A6 S 25 0 3 "Palsson, Miss. Torborg Danira" female 8 3 1 349909 21.075 S 26 1 3 "Asplund, Mrs. Carl Oscar (Selma Augusta Emilia Johansson)" female 38 1 5 347077 31.3875 S 27 0 3 "Emir, Mr. Farred Chehab" male 0 0 2631 7.225 C 28 0 1 "Fortune, Mr. Charles Alexander" male 19 3 2 19950 263 C23 C25 C27 S 29 1 3 "O'Dwyer, Miss. Ellen ""Nellie""" female 0 0 330959 7.8792 Q 30 0 3 "Todoroff, Mr. Lalio" male 0 0 349216 7.8958 S 31 0 1 "Uruchurtu, Don. Manuel E" male 40 0 0 PC 17601 27.7208 C 32 1 1 "Spencer, Mrs. William Augustus (Marie Eugenie)" female 1 0 PC 17569 146.5208 B78 C 33 1 3 "Glynn, Miss. Mary Agatha" female 0 0 335677 7.75 Q 34 0 2 "Wheadon, Mr. Edward H" male 66 0 0 C.A. 24579 10.5 S 35 0 1 "Meyer, Mr. Edgar Joseph" male 28 1 0 PC 17604 82.1708 C 36 0 1 "Holverson, Mr. Alexander Oskar" male 42 1 0 113789 52 S 37 1 3 "Mamee, Mr. Hanna" male 0 0 2677 7.2292 C 38 0 3 "Cann, Mr. Ernest Charles" male 21 0 0 A./5. 2152 8.05 S 39 0 3 "Vander Planke, Miss. Augusta Maria" female 18 2 0 345764 18 S 40 1 3 "Nicola-Yarred, Miss. Jamila" female 14 1 0 2651 11.2417 C 41 0 3 "Ahlin, Mrs. Johan (Johanna Persdotter Larsson)" female 40 1 0 7546 9.475 S 42 0 2 "Turpin, Mrs. William John Robert (Dorothy Ann Wonnacott)" female 27 1 0 11668 21 S 43 0 3 "Kraeff, Mr. Theodor" male 0 0 349253 7.8958 C 44 1 2 "Laroche, Miss. Simonne Marie Anne Andree" female 3 1 2 SC/Paris 2123 41.5792 C 45 1 3 "Devaney, Miss. Margaret Delia" female 19 0 0 330958 7.8792 Q 46 0 3 "Rogers, Mr. William John" male 0 0 S.C./A.4. 23567 8.05 S 47 0 3 "Lennon, Mr. Denis" male 1 0 370371 15.5 Q 48 1 3 "O'Driscoll, Miss. Bridget" female 0 0 14311 7.75 Q 49 0 3 "Samaan, Mr. Youssef" male 2 0 2662 21.6792 C 50 0 3 "Arnold-Franchi, Mrs. Josef (Josefine Franchi)" female 18 1 0 349237 17.8 S 51 0 3 "Panula, Master. Juha Niilo" male 7 4 1 3101295 39.6875 S 52 0 3 "Nosworthy, Mr. Richard Cater" male 21 0 0 A/4. 39886 7.8 S 53 1 1 "Harper, Mrs. Henry Sleeper (Myna Haxtun)" female 49 1 0 PC 17572 76.7292 D33 C 54 1 2 "Faunthorpe, Mrs. Lizzie (Elizabeth Anne Wilkinson)" female 29 1 0 2926 26 S 55 0 1 "Ostby, Mr. Engelhart Cornelius" male 65 0 1 113509 61.9792 B30 C 56 1 1 "Woolner, Mr. Hugh" male 0 0 19947 35.5 C52 S 57 1 2 "Rugg, Miss. Emily" female 21 0 0 C.A. 31026 10.5 S 58 0 3 "Novel, Mr. Mansouer" male 28.5 0 0 2697 7.2292 C 59 1 2 "West, Miss. Constance Mirium" female 5 1 2 C.A. 34651 27.75 S 60 0 3 "Goodwin, Master. William Frederick" male 11 5 2 CA 2144 46.9 S 61 0 3 "Sirayanian, Mr. Orsen" male 22 0 0 2669 7.2292 C 62 1 1 "Icard, Miss. Amelie" female 38 0 0 113572 80 B28 63 0 1 "Harris, Mr. Henry Birkhardt" male 45 1 0 36973 83.475 C83 S 64 0 3 "Skoog, Master. Harald" male 4 3 2 347088 27.9 S 65 0 1 "Stewart, Mr. Albert A" male 0 0 PC 17605 27.7208 C 66 1 3 "Moubarek, Master. Gerios" male 1 1 2661 15.2458 C 67 1 2 "Nye, Mrs. (Elizabeth Ramell)" female 29 0 0 C.A. 29395 10.5 F33 S 68 0 3 "Crease, Mr. Ernest James" male 19 0 0 S.P. 3464 8.1583 S 69 1 3 "Andersson, Miss. Erna Alexandra" female 17 4 2 3101281 7.925 S 70 0 3 "Kink, Mr. Vincenz" male 26 2 0 315151 8.6625 S 71 0 2 "Jenkin, Mr. Stephen Curnow" male 32 0 0 C.A. 33111 10.5 S 72 0 3 "Goodwin, Miss. Lillian Amy" female 16 5 2 CA 2144 46.9 S 73 0 2 "Hood, Mr. Ambrose Jr" male 21 0 0 S.O.C. 14879 73.5 S 74 0 3 "Chronopoulos, Mr. Apostolos" male 26 1 0 2680 14.4542 C 75 1 3 "Bing, Mr. Lee" male 32 0 0 1601 56.4958 S 76 0 3 "Moen, Mr. Sigurd Hansen" male 25 0 0 348123 7.65 F G73 S 77 0 3 "Staneff, Mr. Ivan" male 0 0 349208 7.8958 S 78 0 3 "Moutal, Mr. Rahamin Haim" male 0 0 374746 8.05 S 79 1 2 "Caldwell, Master. Alden Gates" male 0.83 0 2 248738 29 S 80 1 3 "Dowdell, Miss. Elizabeth" female 30 0 0 364516 12.475 S 81 0 3 "Waelens, Mr. Achille" male 22 0 0 345767 9 S 82 1 3 "Sheerlinck, Mr. Jan Baptist" male 29 0 0 345779 9.5 S 83 1 3 "McDermott, Miss. Brigdet Delia" female 0 0 330932 7.7875 Q 84 0 1 "Carrau, Mr. Francisco M" male 28 0 0 113059 47.1 S 85 1 2 "Ilett, Miss. Bertha" female 17 0 0 SO/C 14885 10.5 S 86 1 3 "Backstrom, Mrs. Karl Alfred (Maria Mathilda Gustafsson)" female 33 3 0 3101278 15.85 S 87 0 3 "Ford, Mr. William Neal" male 16 1 3 W./C. 6608 34.375 S 88 0 3 "Slocovski, Mr. Selman Francis" male 0 0 SOTON/OQ 392086 8.05 S 89 1 1 "Fortune, Miss. Mabel Helen" female 23 3 2 19950 263 C23 C25 C27 S 90 0 3 "Celotti, Mr. Francesco" male 24 0 0 343275 8.05 S 91 0 3 "Christmann, Mr. Emil" male 29 0 0 343276 8.05 S 92 0 3 "Andreasson, Mr. Paul Edvin" male 20 0 0 347466 7.8542 S 93 0 1 "Chaffee, Mr. Herbert Fuller" male 46 1 0 W.E.P. 5734 61.175 E31 S 94 0 3 "Dean, Mr. Bertram Frank" male 26 1 2 C.A. 2315 20.575 S 95 0 3 "Coxon, Mr. Daniel" male 59 0 0 364500 7.25 S 96 0 3 "Shorney, Mr. Charles Joseph" male 0 0 374910 8.05 S 97 0 1 "Goldschmidt, Mr. George B" male 71 0 0 PC 17754 34.6542 A5 C 98 1 1 "Greenfield, Mr. William Bertram" male 23 0 1 PC 17759 63.3583 D10 D12 C 99 1 2 "Doling, Mrs. John T (Ada Julia Bone)" female 34 0 1 231919 23 S 100 0 2 "Kantor, Mr. Sinai" male 34 1 0 244367 26 S 101 0 3 "Petranec, Miss. Matilda" female 28 0 0 349245 7.8958 S 102 0 3 "Petroff, Mr. Pastcho (""Pentcho"")" male 0 0 349215 7.8958 S 103 0 1 "White, Mr. Richard Frasar" male 21 0 1 35281 77.2875 D26 S 104 0 3 "Johansson, Mr. Gustaf Joel" male 33 0 0 7540 8.6542 S 105 0 3 "Gustafsson, Mr. Anders Vilhelm" male 37 2 0 3101276 7.925 S 106 0 3 "Mionoff, Mr. Stoytcho" male 28 0 0 349207 7.8958 S 107 1 3 "Salkjelsvik, Miss. Anna Kristine" female 21 0 0 343120 7.65 S 108 1 3 "Moss, Mr. Albert Johan" male 0 0 312991 7.775 S 109 0 3 "Rekic, Mr. Tido" male 38 0 0 349249 7.8958 S 110 1 3 "Moran, Miss. Bertha" female 1 0 371110 24.15 Q 111 0 1 "Porter, Mr. Walter Chamberlain" male 47 0 0 110465 52 C110 S 112 0 3 "Zabour, Miss. Hileni" female 14.5 1 0 2665 14.4542 C 113 0 3 "Barton, Mr. David John" male 22 0 0 324669 8.05 S 114 0 3 "Jussila, Miss. Katriina" female 20 1 0 4136 9.825 S 115 0 3 "Attalah, Miss. Malake" female 17 0 0 2627 14.4583 C 116 0 3 "Pekoniemi, Mr. Edvard" male 21 0 0 STON/O 2. 3101294 7.925 S 117 0 3 "Connors, Mr. Patrick" male 70.5 0 0 370369 7.75 Q 118 0 2 "Turpin, Mr. William John Robert" male 29 1 0 11668 21 S 119 0 1 "Baxter, Mr. Quigg Edmond" male 24 0 1 PC 17558 247.5208 B58 B60 C 120 0 3 "Andersson, Miss. Ellis Anna Maria" female 2 4 2 347082 31.275 S 121 0 2 "Hickman, Mr. Stanley George" male 21 2 0 S.O.C. 14879 73.5 S 122 0 3 "Moore, Mr. Leonard Charles" male 0 0 A4. 54510 8.05 S 123 0 2 "Nasser, Mr. Nicholas" male 32.5 1 0 237736 30.0708 C 124 1 2 "Webber, Miss. Susan" female 32.5 0 0 27267 13 E101 S 125 0 1 "White, Mr. Percival Wayland" male 54 0 1 35281 77.2875 D26 S 126 1 3 "Nicola-Yarred, Master. Elias" male 12 1 0 2651 11.2417 C 127 0 3 "McMahon, Mr. Martin" male 0 0 370372 7.75 Q 128 1 3 "Madsen, Mr. Fridtjof Arne" male 24 0 0 C 17369 7.1417 S 129 1 3 "Peter, Miss. Anna" female 1 1 2668 22.3583 F E69 C 130 0 3 "Ekstrom, Mr. Johan" male 45 0 0 347061 6.975 S 131 0 3 "Drazenoic, Mr. Jozef" male 33 0 0 349241 7.8958 C 132 0 3 "Coelho, Mr. Domingos Fernandeo" male 20 0 0 SOTON/O.Q. 3101307 7.05 S 133 0 3 "Robins, Mrs. Alexander A (Grace Charity Laury)" female 47 1 0 A/5. 3337 14.5 S 134 1 2 "Weisz, Mrs. Leopold (Mathilde Francoise Pede)" female 29 1 0 228414 26 S 135 0 2 "Sobey, Mr. Samuel James Hayden" male 25 0 0 C.A. 29178 13 S 136 0 2 "Richard, Mr. Emile" male 23 0 0 SC/PARIS 2133 15.0458 C 137 1 1 "Newsom, Miss. Helen Monypeny" female 19 0 2 11752 26.2833 D47 S 138 0 1 "Futrelle, Mr. Jacques Heath" male 37 1 0 113803 53.1 C123 S 139 0 3 "Osen, Mr. Olaf Elon" male 16 0 0 7534 9.2167 S 140 0 1 "Giglio, Mr. Victor" male 24 0 0 PC 17593 79.2 B86 C 141 0 3 "Boulos, Mrs. Joseph (Sultana)" female 0 2 2678 15.2458 C 142 1 3 "Nysten, Miss. Anna Sofia" female 22 0 0 347081 7.75 S 143 1 3 "Hakkarainen, Mrs. Pekka Pietari (Elin Matilda Dolck)" female 24 1 0 STON/O2. 3101279 15.85 S 144 0 3 "Burke, Mr. Jeremiah" male 19 0 0 365222 6.75 Q 145 0 2 "Andrew, Mr. Edgardo Samuel" male 18 0 0 231945 11.5 S 146 0 2 "Nicholls, Mr. Joseph Charles" male 19 1 1 C.A. 33112 36.75 S 147 1 3 "Andersson, Mr. August Edvard (""Wennerstrom"")" male 27 0 0 350043 7.7958 S 148 0 3 "Ford, Miss. Robina Maggie ""Ruby""" female 9 2 2 W./C. 6608 34.375 S 149 0 2 "Navratil, Mr. Michel (""Louis M Hoffman"")" male 36.5 0 2 230080 26 F2 S 150 0 2 "Byles, Rev. Thomas Roussel Davids" male 42 0 0 244310 13 S 151 0 2 "Bateman, Rev. Robert James" male 51 0 0 S.O.P. 1166 12.525 S 152 1 1 "Pears, Mrs. Thomas (Edith Wearne)" female 22 1 0 113776 66.6 C2 S 153 0 3 "Meo, Mr. Alfonzo" male 55.5 0 0 A.5. 11206 8.05 S 154 0 3 "van Billiard, Mr. Austin Blyler" male 40.5 0 2 A/5. 851 14.5 S 155 0 3 "Olsen, Mr. Ole Martin" male 0 0 Fa 265302 7.3125 S 156 0 1 "Williams, Mr. Charles Duane" male 51 0 1 PC 17597 61.3792 C 157 1 3 "Gilnagh, Miss. Katherine ""Katie""" female 16 0 0 35851 7.7333 Q 158 0 3 "Corn, Mr. Harry" male 30 0 0 SOTON/OQ 392090 8.05 S 159 0 3 "Smiljanic, Mr. Mile" male 0 0 315037 8.6625 S 160 0 3 "Sage, Master. Thomas Henry" male 8 2 CA. 2343 69.55 S 161 0 3 "Cribb, Mr. John Hatfield" male 44 0 1 371362 16.1 S 162 1 2 "Watt, Mrs. James (Elizabeth ""Bessie"" Inglis Milne)" female 40 0 0 C.A. 33595 15.75 S 163 0 3 "Bengtsson, Mr. John Viktor" male 26 0 0 347068 7.775 S 164 0 3 "Calic, Mr. Jovo" male 17 0 0 315093 8.6625 S 165 0 3 "Panula, Master. Eino Viljami" male 1 4 1 3101295 39.6875 S 166 1 3 "Goldsmith, Master. Frank John William ""Frankie""" male 9 0 2 363291 20.525 S 167 1 1 "Chibnall, Mrs. (Edith Martha Bowerman)" female 0 1 113505 55 E33 S 168 0 3 "Skoog, Mrs. William (Anna Bernhardina Karlsson)" female 45 1 4 347088 27.9 S 169 0 1 "Baumann, Mr. John D" male 0 0 PC 17318 25.925 S 170 0 3 "Ling, Mr. Lee" male 28 0 0 1601 56.4958 S 171 0 1 "Van der hoef, Mr. Wyckoff" male 61 0 0 111240 33.5 B19 S 172 0 3 "Rice, Master. Arthur" male 4 4 1 382652 29.125 Q 173 1 3 "Johnson, Miss. Eleanor Ileen" female 1 1 1 347742 11.1333 S 174 0 3 "Sivola, Mr. Antti Wilhelm" male 21 0 0 STON/O 2. 3101280 7.925 S 175 0 1 "Smith, Mr. James Clinch" male 56 0 0 17764 30.6958 A7 C 176 0 3 "Klasen, Mr. Klas Albin" male 18 1 1 350404 7.8542 S 177 0 3 "Lefebre, Master. Henry Forbes" male 3 1 4133 25.4667 S 178 0 1 "Isham, Miss. Ann Elizabeth" female 50 0 0 PC 17595 28.7125 C49 C 179 0 2 "Hale, Mr. Reginald" male 30 0 0 250653 13 S 180 0 3 "Leonard, Mr. Lionel" male 36 0 0 LINE 0 S 181 0 3 "Sage, Miss. Constance Gladys" female 8 2 CA. 2343 69.55 S 182 0 2 "Pernot, Mr. Rene" male 0 0 SC/PARIS 2131 15.05 C 183 0 3 "Asplund, Master. Clarence Gustaf Hugo" male 9 4 2 347077 31.3875 S 184 1 2 "Becker, Master. Richard F" male 1 2 1 230136 39 F4 S 185 1 3 "Kink-Heilmann, Miss. Luise Gretchen" female 4 0 2 315153 22.025 S 186 0 1 "Rood, Mr. Hugh Roscoe" male 0 0 113767 50 A32 S 187 1 3 "O'Brien, Mrs. Thomas (Johanna ""Hannah"" Godfrey)" female 1 0 370365 15.5 Q 188 1 1 "Romaine, Mr. Charles Hallace (""Mr C Rolmane"")" male 45 0 0 111428 26.55 S 189 0 3 "Bourke, Mr. John" male 40 1 1 364849 15.5 Q 190 0 3 "Turcin, Mr. Stjepan" male 36 0 0 349247 7.8958 S 191 1 2 "Pinsky, Mrs. (Rosa)" female 32 0 0 234604 13 S 192 0 2 "Carbines, Mr. William" male 19 0 0 28424 13 S 193 1 3 "Andersen-Jensen, Miss. Carla Christine Nielsine" female 19 1 0 350046 7.8542 S 194 1 2 "Navratil, Master. Michel M" male 3 1 1 230080 26 F2 S 195 1 1 "Brown, Mrs. James Joseph (Margaret Tobin)" female 44 0 0 PC 17610 27.7208 B4 C 196 1 1 "Lurette, Miss. Elise" female 58 0 0 PC 17569 146.5208 B80 C 197 0 3 "Mernagh, Mr. Robert" male 0 0 368703 7.75 Q 198 0 3 "Olsen, Mr. Karl Siegwart Andreas" male 42 0 1 4579 8.4042 S 199 1 3 "Madigan, Miss. Margaret ""Maggie""" female 0 0 370370 7.75 Q 200 0 2 "Yrois, Miss. Henriette (""Mrs Harbeck"")" female 24 0 0 248747 13 S 201 0 3 "Vande Walle, Mr. Nestor Cyriel" male 28 0 0 345770 9.5 S 202 0 3 "Sage, Mr. Frederick" male 8 2 CA. 2343 69.55 S 203 0 3 "Johanson, Mr. Jakob Alfred" male 34 0 0 3101264 6.4958 S 204 0 3 "Youseff, Mr. Gerious" male 45.5 0 0 2628 7.225 C 205 1 3 "Cohen, Mr. Gurshon ""Gus""" male 18 0 0 A/5 3540 8.05 S 206 0 3 "Strom, Miss. Telma Matilda" female 2 0 1 347054 10.4625 G6 S 207 0 3 "Backstrom, Mr. Karl Alfred" male 32 1 0 3101278 15.85 S 208 1 3 "Albimona, Mr. Nassef Cassem" male 26 0 0 2699 18.7875 C 209 1 3 "Carr, Miss. Helen ""Ellen""" female 16 0 0 367231 7.75 Q 210 1 1 "Blank, Mr. Henry" male 40 0 0 112277 31 A31 C 211 0 3 "Ali, Mr. Ahmed" male 24 0 0 SOTON/O.Q. 3101311 7.05 S 212 1 2 "Cameron, Miss. Clear Annie" female 35 0 0 F.C.C. 13528 21 S 213 0 3 "Perkin, Mr. John Henry" male 22 0 0 A/5 21174 7.25 S 214 0 2 "Givard, Mr. Hans Kristensen" male 30 0 0 250646 13 S 215 0 3 "Kiernan, Mr. Philip" male 1 0 367229 7.75 Q 216 1 1 "Newell, Miss. Madeleine" female 31 1 0 35273 113.275 D36 C 217 1 3 "Honkanen, Miss. Eliina" female 27 0 0 STON/O2. 3101283 7.925 S 218 0 2 "Jacobsohn, Mr. Sidney Samuel" male 42 1 0 243847 27 S 219 1 1 "Bazzani, Miss. Albina" female 32 0 0 11813 76.2917 D15 C 220 0 2 "Harris, Mr. Walter" male 30 0 0 W/C 14208 10.5 S 221 1 3 "Sunderland, Mr. Victor Francis" male 16 0 0 SOTON/OQ 392089 8.05 S 222 0 2 "Bracken, Mr. James H" male 27 0 0 220367 13 S 223 0 3 "Green, Mr. George Henry" male 51 0 0 21440 8.05 S 224 0 3 "Nenkoff, Mr. Christo" male 0 0 349234 7.8958 S 225 1 1 "Hoyt, Mr. Frederick Maxfield" male 38 1 0 19943 90 C93 S 226 0 3 "Berglund, Mr. Karl Ivar Sven" male 22 0 0 PP 4348 9.35 S 227 1 2 "Mellors, Mr. William John" male 19 0 0 SW/PP 751 10.5 S 228 0 3 "Lovell, Mr. John Hall (""Henry"")" male 20.5 0 0 A/5 21173 7.25 S 229 0 2 "Fahlstrom, Mr. Arne Jonas" male 18 0 0 236171 13 S 230 0 3 "Lefebre, Miss. Mathilde" female 3 1 4133 25.4667 S 231 1 1 "Harris, Mrs. Henry Birkhardt (Irene Wallach)" female 35 1 0 36973 83.475 C83 S 232 0 3 "Larsson, Mr. Bengt Edvin" male 29 0 0 347067 7.775 S 233 0 2 "Sjostedt, Mr. Ernst Adolf" male 59 0 0 237442 13.5 S 234 1 3 "Asplund, Miss. Lillian Gertrud" female 5 4 2 347077 31.3875 S 235 0 2 "Leyson, Mr. Robert William Norman" male 24 0 0 C.A. 29566 10.5 S 236 0 3 "Harknett, Miss. Alice Phoebe" female 0 0 W./C. 6609 7.55 S 237 0 2 "Hold, Mr. Stephen" male 44 1 0 26707 26 S 238 1 2 "Collyer, Miss. Marjorie ""Lottie""" female 8 0 2 C.A. 31921 26.25 S 239 0 2 "Pengelly, Mr. Frederick William" male 19 0 0 28665 10.5 S 240 0 2 "Hunt, Mr. George Henry" male 33 0 0 SCO/W 1585 12.275 S 241 0 3 "Zabour, Miss. Thamine" female 1 0 2665 14.4542 C 242 1 3 "Murphy, Miss. Katherine ""Kate""" female 1 0 367230 15.5 Q 243 0 2 "Coleridge, Mr. Reginald Charles" male 29 0 0 W./C. 14263 10.5 S 244 0 3 "Maenpaa, Mr. Matti Alexanteri" male 22 0 0 STON/O 2. 3101275 7.125 S 245 0 3 "Attalah, Mr. Sleiman" male 30 0 0 2694 7.225 C 246 0 1 "Minahan, Dr. William Edward" male 44 2 0 19928 90 C78 Q 247 0 3 "Lindahl, Miss. Agda Thorilda Viktoria" female 25 0 0 347071 7.775 S 248 1 2 "Hamalainen, Mrs. William (Anna)" female 24 0 2 250649 14.5 S 249 1 1 "Beckwith, Mr. Richard Leonard" male 37 1 1 11751 52.5542 D35 S 250 0 2 "Carter, Rev. Ernest Courtenay" male 54 1 0 244252 26 S 251 0 3 "Reed, Mr. James George" male 0 0 362316 7.25 S 252 0 3 "Strom, Mrs. Wilhelm (Elna Matilda Persson)" female 29 1 1 347054 10.4625 G6 S 253 0 1 "Stead, Mr. William Thomas" male 62 0 0 113514 26.55 C87 S 254 0 3 "Lobb, Mr. William Arthur" male 30 1 0 A/5. 3336 16.1 S 255 0 3 "Rosblom, Mrs. Viktor (Helena Wilhelmina)" female 41 0 2 370129 20.2125 S 256 1 3 "Touma, Mrs. Darwis (Hanne Youssef Razi)" female 29 0 2 2650 15.2458 C 257 1 1 "Thorne, Mrs. Gertrude Maybelle" female 0 0 PC 17585 79.2 C 258 1 1 "Cherry, Miss. Gladys" female 30 0 0 110152 86.5 B77 S 259 1 1 "Ward, Miss. Anna" female 35 0 0 PC 17755 512.3292 C 260 1 2 "Parrish, Mrs. (Lutie Davis)" female 50 0 1 230433 26 S 261 0 3 "Smith, Mr. Thomas" male 0 0 384461 7.75 Q 262 1 3 "Asplund, Master. Edvin Rojj Felix" male 3 4 2 347077 31.3875 S 263 0 1 "Taussig, Mr. Emil" male 52 1 1 110413 79.65 E67 S 264 0 1 "Harrison, Mr. William" male 40 0 0 112059 0 B94 S 265 0 3 "Henry, Miss. Delia" female 0 0 382649 7.75 Q 266 0 2 "Reeves, Mr. David" male 36 0 0 C.A. 17248 10.5 S 267 0 3 "Panula, Mr. Ernesti Arvid" male 16 4 1 3101295 39.6875 S 268 1 3 "Persson, Mr. Ernst Ulrik" male 25 1 0 347083 7.775 S 269 1 1 "Graham, Mrs. William Thompson (Edith Junkins)" female 58 0 1 PC 17582 153.4625 C125 S 270 1 1 "Bissette, Miss. Amelia" female 35 0 0 PC 17760 135.6333 C99 S 271 0 1 "Cairns, Mr. Alexander" male 0 0 113798 31 S 272 1 3 "Tornquist, Mr. William Henry" male 25 0 0 LINE 0 S 273 1 2 "Mellinger, Mrs. (Elizabeth Anne Maidment)" female 41 0 1 250644 19.5 S 274 0 1 "Natsch, Mr. Charles H" male 37 0 1 PC 17596 29.7 C118 C 275 1 3 "Healy, Miss. Hanora ""Nora""" female 0 0 370375 7.75 Q 276 1 1 "Andrews, Miss. Kornelia Theodosia" female 63 1 0 13502 77.9583 D7 S 277 0 3 "Lindblom, Miss. Augusta Charlotta" female 45 0 0 347073 7.75 S 278 0 2 "Parkes, Mr. Francis ""Frank""" male 0 0 239853 0 S 279 0 3 "Rice, Master. Eric" male 7 4 1 382652 29.125 Q 280 1 3 "Abbott, Mrs. Stanton (Rosa Hunt)" female 35 1 1 C.A. 2673 20.25 S 281 0 3 "Duane, Mr. Frank" male 65 0 0 336439 7.75 Q 282 0 3 "Olsson, Mr. Nils Johan Goransson" male 28 0 0 347464 7.8542 S 283 0 3 "de Pelsmaeker, Mr. Alfons" male 16 0 0 345778 9.5 S 284 1 3 "Dorking, Mr. Edward Arthur" male 19 0 0 A/5. 10482 8.05 S 285 0 1 "Smith, Mr. Richard William" male 0 0 113056 26 A19 S 286 0 3 "Stankovic, Mr. Ivan" male 33 0 0 349239 8.6625 C 287 1 3 "de Mulder, Mr. Theodore" male 30 0 0 345774 9.5 S 288 0 3 "Naidenoff, Mr. Penko" male 22 0 0 349206 7.8958 S 289 1 2 "Hosono, Mr. Masabumi" male 42 0 0 237798 13 S 290 1 3 "Connolly, Miss. Kate" female 22 0 0 370373 7.75 Q 291 1 1 "Barber, Miss. Ellen ""Nellie""" female 26 0 0 19877 78.85 S 292 1 1 "Bishop, Mrs. Dickinson H (Helen Walton)" female 19 1 0 11967 91.0792 B49 C 293 0 2 "Levy, Mr. Rene Jacques" male 36 0 0 SC/Paris 2163 12.875 D C 294 0 3 "Haas, Miss. Aloisia" female 24 0 0 349236 8.85 S 295 0 3 "Mineff, Mr. Ivan" male 24 0 0 349233 7.8958 S 296 0 1 "Lewy, Mr. Ervin G" male 0 0 PC 17612 27.7208 C 297 0 3 "Hanna, Mr. Mansour" male 23.5 0 0 2693 7.2292 C 298 0 1 "Allison, Miss. Helen Loraine" female 2 1 2 113781 151.55 C22 C26 S 299 1 1 "Saalfeld, Mr. Adolphe" male 0 0 19988 30.5 C106 S 300 1 1 "Baxter, Mrs. James (Helene DeLaudeniere Chaput)" female 50 0 1 PC 17558 247.5208 B58 B60 C 301 1 3 "Kelly, Miss. Anna Katherine ""Annie Kate""" female 0 0 9234 7.75 Q 302 1 3 "McCoy, Mr. Bernard" male 2 0 367226 23.25 Q 303 0 3 "Johnson, Mr. William Cahoone Jr" male 19 0 0 LINE 0 S 304 1 2 "Keane, Miss. Nora A" female 0 0 226593 12.35 E101 Q 305 0 3 "Williams, Mr. Howard Hugh ""Harry""" male 0 0 A/5 2466 8.05 S 306 1 1 "Allison, Master. Hudson Trevor" male 0.92 1 2 113781 151.55 C22 C26 S 307 1 1 "Fleming, Miss. Margaret" female 0 0 17421 110.8833 C 308 1 1 "Penasco y Castellana, Mrs. Victor de Satode (Maria Josefa Perez de Soto y Vallejo)" female 17 1 0 PC 17758 108.9 C65 C 309 0 2 "Abelson, Mr. Samuel" male 30 1 0 P/PP 3381 24 C 310 1 1 "Francatelli, Miss. Laura Mabel" female 30 0 0 PC 17485 56.9292 E36 C 311 1 1 "Hays, Miss. Margaret Bechstein" female 24 0 0 11767 83.1583 C54 C 312 1 1 "Ryerson, Miss. Emily Borie" female 18 2 2 PC 17608 262.375 B57 B59 B63 B66 C 313 0 2 "Lahtinen, Mrs. William (Anna Sylfven)" female 26 1 1 250651 26 S 314 0 3 "Hendekovic, Mr. Ignjac" male 28 0 0 349243 7.8958 S 315 0 2 "Hart, Mr. Benjamin" male 43 1 1 F.C.C. 13529 26.25 S 316 1 3 "Nilsson, Miss. Helmina Josefina" female 26 0 0 347470 7.8542 S 317 1 2 "Kantor, Mrs. Sinai (Miriam Sternin)" female 24 1 0 244367 26 S 318 0 2 "Moraweck, Dr. Ernest" male 54 0 0 29011 14 S 319 1 1 "Wick, Miss. Mary Natalie" female 31 0 2 36928 164.8667 C7 S 320 1 1 "Spedden, Mrs. Frederic Oakley (Margaretta Corning Stone)" female 40 1 1 16966 134.5 E34 C 321 0 3 "Dennis, Mr. Samuel" male 22 0 0 A/5 21172 7.25 S 322 0 3 "Danoff, Mr. Yoto" male 27 0 0 349219 7.8958 S 323 1 2 "Slayter, Miss. Hilda Mary" female 30 0 0 234818 12.35 Q 324 1 2 "Caldwell, Mrs. Albert Francis (Sylvia Mae Harbaugh)" female 22 1 1 248738 29 S 325 0 3 "Sage, Mr. George John Jr" male 8 2 CA. 2343 69.55 S 326 1 1 "Young, Miss. Marie Grice" female 36 0 0 PC 17760 135.6333 C32 C 327 0 3 "Nysveen, Mr. Johan Hansen" male 61 0 0 345364 6.2375 S 328 1 2 "Ball, Mrs. (Ada E Hall)" female 36 0 0 28551 13 D S 329 1 3 "Goldsmith, Mrs. Frank John (Emily Alice Brown)" female 31 1 1 363291 20.525 S 330 1 1 "Hippach, Miss. Jean Gertrude" female 16 0 1 111361 57.9792 B18 C 331 1 3 "McCoy, Miss. Agnes" female 2 0 367226 23.25 Q 332 0 1 "Partner, Mr. Austen" male 45.5 0 0 113043 28.5 C124 S 333 0 1 "Graham, Mr. George Edward" male 38 0 1 PC 17582 153.4625 C91 S 334 0 3 "Vander Planke, Mr. Leo Edmondus" male 16 2 0 345764 18 S 335 1 1 "Frauenthal, Mrs. Henry William (Clara Heinsheimer)" female 1 0 PC 17611 133.65 S 336 0 3 "Denkoff, Mr. Mitto" male 0 0 349225 7.8958 S 337 0 1 "Pears, Mr. Thomas Clinton" male 29 1 0 113776 66.6 C2 S 338 1 1 "Burns, Miss. Elizabeth Margaret" female 41 0 0 16966 134.5 E40 C 339 1 3 "Dahl, Mr. Karl Edwart" male 45 0 0 7598 8.05 S 340 0 1 "Blackwell, Mr. Stephen Weart" male 45 0 0 113784 35.5 T S 341 1 2 "Navratil, Master. Edmond Roger" male 2 1 1 230080 26 F2 S 342 1 1 "Fortune, Miss. Alice Elizabeth" female 24 3 2 19950 263 C23 C25 C27 S 343 0 2 "Collander, Mr. Erik Gustaf" male 28 0 0 248740 13 S 344 0 2 "Sedgwick, Mr. Charles Frederick Waddington" male 25 0 0 244361 13 S 345 0 2 "Fox, Mr. Stanley Hubert" male 36 0 0 229236 13 S 346 1 2 "Brown, Miss. Amelia ""Mildred""" female 24 0 0 248733 13 F33 S 347 1 2 "Smith, Miss. Marion Elsie" female 40 0 0 31418 13 S 348 1 3 "Davison, Mrs. Thomas Henry (Mary E Finck)" female 1 0 386525 16.1 S 349 1 3 "Coutts, Master. William Loch ""William""" male 3 1 1 C.A. 37671 15.9 S 350 0 3 "Dimic, Mr. Jovan" male 42 0 0 315088 8.6625 S 351 0 3 "Odahl, Mr. Nils Martin" male 23 0 0 7267 9.225 S 352 0 1 "Williams-Lambert, Mr. Fletcher Fellows" male 0 0 113510 35 C128 S 353 0 3 "Elias, Mr. Tannous" male 15 1 1 2695 7.2292 C 354 0 3 "Arnold-Franchi, Mr. Josef" male 25 1 0 349237 17.8 S 355 0 3 "Yousif, Mr. Wazli" male 0 0 2647 7.225 C 356 0 3 "Vanden Steen, Mr. Leo Peter" male 28 0 0 345783 9.5 S 357 1 1 "Bowerman, Miss. Elsie Edith" female 22 0 1 113505 55 E33 S 358 0 2 "Funk, Miss. Annie Clemmer" female 38 0 0 237671 13 S 359 1 3 "McGovern, Miss. Mary" female 0 0 330931 7.8792 Q 360 1 3 "Mockler, Miss. Helen Mary ""Ellie""" female 0 0 330980 7.8792 Q 361 0 3 "Skoog, Mr. Wilhelm" male 40 1 4 347088 27.9 S 362 0 2 "del Carlo, Mr. Sebastiano" male 29 1 0 SC/PARIS 2167 27.7208 C 363 0 3 "Barbara, Mrs. (Catherine David)" female 45 0 1 2691 14.4542 C 364 0 3 "Asim, Mr. Adola" male 35 0 0 SOTON/O.Q. 3101310 7.05 S 365 0 3 "O'Brien, Mr. Thomas" male 1 0 370365 15.5 Q 366 0 3 "Adahl, Mr. Mauritz Nils Martin" male 30 0 0 C 7076 7.25 S 367 1 1 "Warren, Mrs. Frank Manley (Anna Sophia Atkinson)" female 60 1 0 110813 75.25 D37 C 368 1 3 "Moussa, Mrs. (Mantoura Boulos)" female 0 0 2626 7.2292 C 369 1 3 "Jermyn, Miss. Annie" female 0 0 14313 7.75 Q 370 1 1 "Aubart, Mme. Leontine Pauline" female 24 0 0 PC 17477 69.3 B35 C 371 1 1 "Harder, Mr. George Achilles" male 25 1 0 11765 55.4417 E50 C 372 0 3 "Wiklund, Mr. Jakob Alfred" male 18 1 0 3101267 6.4958 S 373 0 3 "Beavan, Mr. William Thomas" male 19 0 0 323951 8.05 S 374 0 1 "Ringhini, Mr. Sante" male 22 0 0 PC 17760 135.6333 C 375 0 3 "Palsson, Miss. Stina Viola" female 3 3 1 349909 21.075 S 376 1 1 "Meyer, Mrs. Edgar Joseph (Leila Saks)" female 1 0 PC 17604 82.1708 C 377 1 3 "Landergren, Miss. Aurora Adelia" female 22 0 0 C 7077 7.25 S 378 0 1 "Widener, Mr. Harry Elkins" male 27 0 2 113503 211.5 C82 C 379 0 3 "Betros, Mr. Tannous" male 20 0 0 2648 4.0125 C 380 0 3 "Gustafsson, Mr. Karl Gideon" male 19 0 0 347069 7.775 S 381 1 1 "Bidois, Miss. Rosalie" female 42 0 0 PC 17757 227.525 C 382 1 3 "Nakid, Miss. Maria (""Mary"")" female 1 0 2 2653 15.7417 C 383 0 3 "Tikkanen, Mr. Juho" male 32 0 0 STON/O 2. 3101293 7.925 S 384 1 1 "Holverson, Mrs. Alexander Oskar (Mary Aline Towner)" female 35 1 0 113789 52 S 385 0 3 "Plotcharsky, Mr. Vasil" male 0 0 349227 7.8958 S 386 0 2 "Davies, Mr. Charles Henry" male 18 0 0 S.O.C. 14879 73.5 S 387 0 3 "Goodwin, Master. Sidney Leonard" male 1 5 2 CA 2144 46.9 S 388 1 2 "Buss, Miss. Kate" female 36 0 0 27849 13 S 389 0 3 "Sadlier, Mr. Matthew" male 0 0 367655 7.7292 Q 390 1 2 "Lehmann, Miss. Bertha" female 17 0 0 SC 1748 12 C 391 1 1 "Carter, Mr. William Ernest" male 36 1 2 113760 120 B96 B98 S 392 1 3 "Jansson, Mr. Carl Olof" male 21 0 0 350034 7.7958 S 393 0 3 "Gustafsson, Mr. Johan Birger" male 28 2 0 3101277 7.925 S 394 1 1 "Newell, Miss. Marjorie" female 23 1 0 35273 113.275 D36 C 395 1 3 "Sandstrom, Mrs. Hjalmar (Agnes Charlotta Bengtsson)" female 24 0 2 PP 9549 16.7 G6 S 396 0 3 "Johansson, Mr. Erik" male 22 0 0 350052 7.7958 S 397 0 3 "Olsson, Miss. Elina" female 31 0 0 350407 7.8542 S 398 0 2 "McKane, Mr. Peter David" male 46 0 0 28403 26 S 399 0 2 "Pain, Dr. Alfred" male 23 0 0 244278 10.5 S 400 1 2 "Trout, Mrs. William H (Jessie L)" female 28 0 0 240929 12.65 S 401 1 3 "Niskanen, Mr. Juha" male 39 0 0 STON/O 2. 3101289 7.925 S 402 0 3 "Adams, Mr. John" male 26 0 0 341826 8.05 S 403 0 3 "Jussila, Miss. Mari Aina" female 21 1 0 4137 9.825 S 404 0 3 "Hakkarainen, Mr. Pekka Pietari" male 28 1 0 STON/O2. 3101279 15.85 S 405 0 3 "Oreskovic, Miss. Marija" female 20 0 0 315096 8.6625 S 406 0 2 "Gale, Mr. Shadrach" male 34 1 0 28664 21 S 407 0 3 "Widegren, Mr. Carl/Charles Peter" male 51 0 0 347064 7.75 S 408 1 2 "Richards, Master. William Rowe" male 3 1 1 29106 18.75 S 409 0 3 "Birkeland, Mr. Hans Martin Monsen" male 21 0 0 312992 7.775 S 410 0 3 "Lefebre, Miss. Ida" female 3 1 4133 25.4667 S 411 0 3 "Sdycoff, Mr. Todor" male 0 0 349222 7.8958 S 412 0 3 "Hart, Mr. Henry" male 0 0 394140 6.8583 Q 413 1 1 "Minahan, Miss. Daisy E" female 33 1 0 19928 90 C78 Q 414 0 2 "Cunningham, Mr. Alfred Fleming" male 0 0 239853 0 S 415 1 3 "Sundman, Mr. Johan Julian" male 44 0 0 STON/O 2. 3101269 7.925 S 416 0 3 "Meek, Mrs. Thomas (Annie Louise Rowley)" female 0 0 343095 8.05 S 417 1 2 "Drew, Mrs. James Vivian (Lulu Thorne Christian)" female 34 1 1 28220 32.5 S 418 1 2 "Silven, Miss. Lyyli Karoliina" female 18 0 2 250652 13 S 419 0 2 "Matthews, Mr. William John" male 30 0 0 28228 13 S 420 0 3 "Van Impe, Miss. Catharina" female 10 0 2 345773 24.15 S 421 0 3 "Gheorgheff, Mr. Stanio" male 0 0 349254 7.8958 C 422 0 3 "Charters, Mr. David" male 21 0 0 A/5. 13032 7.7333 Q 423 0 3 "Zimmerman, Mr. Leo" male 29 0 0 315082 7.875 S 424 0 3 "Danbom, Mrs. Ernst Gilbert (Anna Sigrid Maria Brogren)" female 28 1 1 347080 14.4 S 425 0 3 "Rosblom, Mr. Viktor Richard" male 18 1 1 370129 20.2125 S 426 0 3 "Wiseman, Mr. Phillippe" male 0 0 A/4. 34244 7.25 S 427 1 2 "Clarke, Mrs. Charles V (Ada Maria Winfield)" female 28 1 0 2003 26 S 428 1 2 "Phillips, Miss. Kate Florence (""Mrs Kate Louise Phillips Marshall"")" female 19 0 0 250655 26 S 429 0 3 "Flynn, Mr. James" male 0 0 364851 7.75 Q 430 1 3 "Pickard, Mr. Berk (Berk Trembisky)" male 32 0 0 SOTON/O.Q. 392078 8.05 E10 S 431 1 1 "Bjornstrom-Steffansson, Mr. Mauritz Hakan" male 28 0 0 110564 26.55 C52 S 432 1 3 "Thorneycroft, Mrs. Percival (Florence Kate White)" female 1 0 376564 16.1 S 433 1 2 "Louch, Mrs. Charles Alexander (Alice Adelaide Slow)" female 42 1 0 SC/AH 3085 26 S 434 0 3 "Kallio, Mr. Nikolai Erland" male 17 0 0 STON/O 2. 3101274 7.125 S 435 0 1 "Silvey, Mr. William Baird" male 50 1 0 13507 55.9 E44 S 436 1 1 "Carter, Miss. Lucile Polk" female 14 1 2 113760 120 B96 B98 S 437 0 3 "Ford, Miss. Doolina Margaret ""Daisy""" female 21 2 2 W./C. 6608 34.375 S 438 1 2 "Richards, Mrs. Sidney (Emily Hocking)" female 24 2 3 29106 18.75 S 439 0 1 "Fortune, Mr. Mark" male 64 1 4 19950 263 C23 C25 C27 S 440 0 2 "Kvillner, Mr. Johan Henrik Johannesson" male 31 0 0 C.A. 18723 10.5 S 441 1 2 "Hart, Mrs. Benjamin (Esther Ada Bloomfield)" female 45 1 1 F.C.C. 13529 26.25 S 442 0 3 "Hampe, Mr. Leon" male 20 0 0 345769 9.5 S 443 0 3 "Petterson, Mr. Johan Emil" male 25 1 0 347076 7.775 S 444 1 2 "Reynaldo, Ms. Encarnacion" female 28 0 0 230434 13 S 445 1 3 "Johannesen-Bratthammer, Mr. Bernt" male 0 0 65306 8.1125 S 446 1 1 "Dodge, Master. Washington" male 4 0 2 33638 81.8583 A34 S 447 1 2 "Mellinger, Miss. Madeleine Violet" female 13 0 1 250644 19.5 S 448 1 1 "Seward, Mr. Frederic Kimber" male 34 0 0 113794 26.55 S 449 1 3 "Baclini, Miss. Marie Catherine" female 5 2 1 2666 19.2583 C 450 1 1 "Peuchen, Major. Arthur Godfrey" male 52 0 0 113786 30.5 C104 S 451 0 2 "West, Mr. Edwy Arthur" male 36 1 2 C.A. 34651 27.75 S 452 0 3 "Hagland, Mr. Ingvald Olai Olsen" male 1 0 65303 19.9667 S 453 0 1 "Foreman, Mr. Benjamin Laventall" male 30 0 0 113051 27.75 C111 C 454 1 1 "Goldenberg, Mr. Samuel L" male 49 1 0 17453 89.1042 C92 C 455 0 3 "Peduzzi, Mr. Joseph" male 0 0 A/5 2817 8.05 S 456 1 3 "Jalsevac, Mr. Ivan" male 29 0 0 349240 7.8958 C 457 0 1 "Millet, Mr. Francis Davis" male 65 0 0 13509 26.55 E38 S 458 1 1 "Kenyon, Mrs. Frederick R (Marion)" female 1 0 17464 51.8625 D21 S 459 1 2 "Toomey, Miss. Ellen" female 50 0 0 F.C.C. 13531 10.5 S 460 0 3 "O'Connor, Mr. Maurice" male 0 0 371060 7.75 Q 461 1 1 "Anderson, Mr. Harry" male 48 0 0 19952 26.55 E12 S 462 0 3 "Morley, Mr. William" male 34 0 0 364506 8.05 S 463 0 1 "Gee, Mr. Arthur H" male 47 0 0 111320 38.5 E63 S 464 0 2 "Milling, Mr. Jacob Christian" male 48 0 0 234360 13 S 465 0 3 "Maisner, Mr. Simon" male 0 0 A/S 2816 8.05 S 466 0 3 "Goncalves, Mr. Manuel Estanslas" male 38 0 0 SOTON/O.Q. 3101306 7.05 S 467 0 2 "Campbell, Mr. William" male 0 0 239853 0 S 468 0 1 "Smart, Mr. John Montgomery" male 56 0 0 113792 26.55 S 469 0 3 "Scanlan, Mr. James" male 0 0 36209 7.725 Q 470 1 3 "Baclini, Miss. Helene Barbara" female 0.75 2 1 2666 19.2583 C 471 0 3 "Keefe, Mr. Arthur" male 0 0 323592 7.25 S 472 0 3 "Cacic, Mr. Luka" male 38 0 0 315089 8.6625 S 473 1 2 "West, Mrs. Edwy Arthur (Ada Mary Worth)" female 33 1 2 C.A. 34651 27.75 S 474 1 2 "Jerwan, Mrs. Amin S (Marie Marthe Thuillard)" female 23 0 0 SC/AH Basle 541 13.7917 D C 475 0 3 "Strandberg, Miss. Ida Sofia" female 22 0 0 7553 9.8375 S 476 0 1 "Clifford, Mr. George Quincy" male 0 0 110465 52 A14 S 477 0 2 "Renouf, Mr. Peter Henry" male 34 1 0 31027 21 S 478 0 3 "Braund, Mr. Lewis Richard" male 29 1 0 3460 7.0458 S 479 0 3 "Karlsson, Mr. Nils August" male 22 0 0 350060 7.5208 S 480 1 3 "Hirvonen, Miss. Hildur E" female 2 0 1 3101298 12.2875 S 481 0 3 "Goodwin, Master. Harold Victor" male 9 5 2 CA 2144 46.9 S 482 0 2 "Frost, Mr. Anthony Wood ""Archie""" male 0 0 239854 0 S 483 0 3 "Rouse, Mr. Richard Henry" male 50 0 0 A/5 3594 8.05 S 484 1 3 "Turkula, Mrs. (Hedwig)" female 63 0 0 4134 9.5875 S 485 1 1 "Bishop, Mr. Dickinson H" male 25 1 0 11967 91.0792 B49 C 486 0 3 "Lefebre, Miss. Jeannie" female 3 1 4133 25.4667 S 487 1 1 "Hoyt, Mrs. Frederick Maxfield (Jane Anne Forby)" female 35 1 0 19943 90 C93 S 488 0 1 "Kent, Mr. Edward Austin" male 58 0 0 11771 29.7 B37 C 489 0 3 "Somerton, Mr. Francis William" male 30 0 0 A.5. 18509 8.05 S 490 1 3 "Coutts, Master. Eden Leslie ""Neville""" male 9 1 1 C.A. 37671 15.9 S 491 0 3 "Hagland, Mr. Konrad Mathias Reiersen" male 1 0 65304 19.9667 S 492 0 3 "Windelov, Mr. Einar" male 21 0 0 SOTON/OQ 3101317 7.25 S 493 0 1 "Molson, Mr. Harry Markland" male 55 0 0 113787 30.5 C30 S 494 0 1 "Artagaveytia, Mr. Ramon" male 71 0 0 PC 17609 49.5042 C 495 0 3 "Stanley, Mr. Edward Roland" male 21 0 0 A/4 45380 8.05 S 496 0 3 "Yousseff, Mr. Gerious" male 0 0 2627 14.4583 C 497 1 1 "Eustis, Miss. Elizabeth Mussey" female 54 1 0 36947 78.2667 D20 C 498 0 3 "Shellard, Mr. Frederick William" male 0 0 C.A. 6212 15.1 S 499 0 1 "Allison, Mrs. Hudson J C (Bessie Waldo Daniels)" female 25 1 2 113781 151.55 C22 C26 S 500 0 3 "Svensson, Mr. Olof" male 24 0 0 350035 7.7958 S 501 0 3 "Calic, Mr. Petar" male 17 0 0 315086 8.6625 S 502 0 3 "Canavan, Miss. Mary" female 21 0 0 364846 7.75 Q 503 0 3 "O'Sullivan, Miss. Bridget Mary" female 0 0 330909 7.6292 Q 504 0 3 "Laitinen, Miss. Kristina Sofia" female 37 0 0 4135 9.5875 S 505 1 1 "Maioni, Miss. Roberta" female 16 0 0 110152 86.5 B79 S 506 0 1 "Penasco y Castellana, Mr. Victor de Satode" male 18 1 0 PC 17758 108.9 C65 C 507 1 2 "Quick, Mrs. Frederick Charles (Jane Richards)" female 33 0 2 26360 26 S 508 1 1 "Bradley, Mr. George (""George Arthur Brayton"")" male 0 0 111427 26.55 S 509 0 3 "Olsen, Mr. Henry Margido" male 28 0 0 C 4001 22.525 S 510 1 3 "Lang, Mr. Fang" male 26 0 0 1601 56.4958 S 511 1 3 "Daly, Mr. Eugene Patrick" male 29 0 0 382651 7.75 Q 512 0 3 "Webber, Mr. James" male 0 0 SOTON/OQ 3101316 8.05 S 513 1 1 "McGough, Mr. James Robert" male 36 0 0 PC 17473 26.2875 E25 S 514 1 1 "Rothschild, Mrs. Martin (Elizabeth L. Barrett)" female 54 1 0 PC 17603 59.4 C 515 0 3 "Coleff, Mr. Satio" male 24 0 0 349209 7.4958 S 516 0 1 "Walker, Mr. William Anderson" male 47 0 0 36967 34.0208 D46 S 517 1 2 "Lemore, Mrs. (Amelia Milley)" female 34 0 0 C.A. 34260 10.5 F33 S 518 0 3 "Ryan, Mr. Patrick" male 0 0 371110 24.15 Q 519 1 2 "Angle, Mrs. William A (Florence ""Mary"" Agnes Hughes)" female 36 1 0 226875 26 S 520 0 3 "Pavlovic, Mr. Stefo" male 32 0 0 349242 7.8958 S 521 1 1 "Perreault, Miss. Anne" female 30 0 0 12749 93.5 B73 S 522 0 3 "Vovk, Mr. Janko" male 22 0 0 349252 7.8958 S 523 0 3 "Lahoud, Mr. Sarkis" male 0 0 2624 7.225 C 524 1 1 "Hippach, Mrs. Louis Albert (Ida Sophia Fischer)" female 44 0 1 111361 57.9792 B18 C 525 0 3 "Kassem, Mr. Fared" male 0 0 2700 7.2292 C 526 0 3 "Farrell, Mr. James" male 40.5 0 0 367232 7.75 Q 527 1 2 "Ridsdale, Miss. Lucy" female 50 0 0 W./C. 14258 10.5 S 528 0 1 "Farthing, Mr. John" male 0 0 PC 17483 221.7792 C95 S 529 0 3 "Salonen, Mr. Johan Werner" male 39 0 0 3101296 7.925 S 530 0 2 "Hocking, Mr. Richard George" male 23 2 1 29104 11.5 S 531 1 2 "Quick, Miss. Phyllis May" female 2 1 1 26360 26 S 532 0 3 "Toufik, Mr. Nakli" male 0 0 2641 7.2292 C 533 0 3 "Elias, Mr. Joseph Jr" male 17 1 1 2690 7.2292 C 534 1 3 "Peter, Mrs. Catherine (Catherine Rizk)" female 0 2 2668 22.3583 C 535 0 3 "Cacic, Miss. Marija" female 30 0 0 315084 8.6625 S 536 1 2 "Hart, Miss. Eva Miriam" female 7 0 2 F.C.C. 13529 26.25 S 537 0 1 "Butt, Major. Archibald Willingham" male 45 0 0 113050 26.55 B38 S 538 1 1 "LeRoy, Miss. Bertha" female 30 0 0 PC 17761 106.425 C 539 0 3 "Risien, Mr. Samuel Beard" male 0 0 364498 14.5 S 540 1 1 "Frolicher, Miss. Hedwig Margaritha" female 22 0 2 13568 49.5 B39 C 541 1 1 "Crosby, Miss. Harriet R" female 36 0 2 WE/P 5735 71 B22 S 542 0 3 "Andersson, Miss. Ingeborg Constanzia" female 9 4 2 347082 31.275 S 543 0 3 "Andersson, Miss. Sigrid Elisabeth" female 11 4 2 347082 31.275 S 544 1 2 "Beane, Mr. Edward" male 32 1 0 2908 26 S 545 0 1 "Douglas, Mr. Walter Donald" male 50 1 0 PC 17761 106.425 C86 C 546 0 1 "Nicholson, Mr. Arthur Ernest" male 64 0 0 693 26 S 547 1 2 "Beane, Mrs. Edward (Ethel Clarke)" female 19 1 0 2908 26 S 548 1 2 "Padro y Manent, Mr. Julian" male 0 0 SC/PARIS 2146 13.8625 C 549 0 3 "Goldsmith, Mr. Frank John" male 33 1 1 363291 20.525 S 550 1 2 "Davies, Master. John Morgan Jr" male 8 1 1 C.A. 33112 36.75 S 551 1 1 "Thayer, Mr. John Borland Jr" male 17 0 2 17421 110.8833 C70 C 552 0 2 "Sharp, Mr. Percival James R" male 27 0 0 244358 26 S 553 0 3 "O'Brien, Mr. Timothy" male 0 0 330979 7.8292 Q 554 1 3 "Leeni, Mr. Fahim (""Philip Zenni"")" male 22 0 0 2620 7.225 C 555 1 3 "Ohman, Miss. Velin" female 22 0 0 347085 7.775 S 556 0 1 "Wright, Mr. George" male 62 0 0 113807 26.55 S 557 1 1 "Duff Gordon, Lady. (Lucille Christiana Sutherland) (""Mrs Morgan"")" female 48 1 0 11755 39.6 A16 C 558 0 1 "Robbins, Mr. Victor" male 0 0 PC 17757 227.525 C 559 1 1 "Taussig, Mrs. Emil (Tillie Mandelbaum)" female 39 1 1 110413 79.65 E67 S 560 1 3 "de Messemaeker, Mrs. Guillaume Joseph (Emma)" female 36 1 0 345572 17.4 S 561 0 3 "Morrow, Mr. Thomas Rowan" male 0 0 372622 7.75 Q 562 0 3 "Sivic, Mr. Husein" male 40 0 0 349251 7.8958 S 563 0 2 "Norman, Mr. Robert Douglas" male 28 0 0 218629 13.5 S 564 0 3 "Simmons, Mr. John" male 0 0 SOTON/OQ 392082 8.05 S 565 0 3 "Meanwell, Miss. (Marion Ogden)" female 0 0 SOTON/O.Q. 392087 8.05 S 566 0 3 "Davies, Mr. Alfred J" male 24 2 0 A/4 48871 24.15 S 567 0 3 "Stoytcheff, Mr. Ilia" male 19 0 0 349205 7.8958 S 568 0 3 "Palsson, Mrs. Nils (Alma Cornelia Berglund)" female 29 0 4 349909 21.075 S 569 0 3 "Doharr, Mr. Tannous" male 0 0 2686 7.2292 C 570 1 3 "Jonsson, Mr. Carl" male 32 0 0 350417 7.8542 S 571 1 2 "Harris, Mr. George" male 62 0 0 S.W./PP 752 10.5 S 572 1 1 "Appleton, Mrs. Edward Dale (Charlotte Lamson)" female 53 2 0 11769 51.4792 C101 S 573 1 1 "Flynn, Mr. John Irwin (""Irving"")" male 36 0 0 PC 17474 26.3875 E25 S 574 1 3 "Kelly, Miss. Mary" female 0 0 14312 7.75 Q 575 0 3 "Rush, Mr. Alfred George John" male 16 0 0 A/4. 20589 8.05 S 576 0 3 "Patchett, Mr. George" male 19 0 0 358585 14.5 S 577 1 2 "Garside, Miss. Ethel" female 34 0 0 243880 13 S 578 1 1 "Silvey, Mrs. William Baird (Alice Munger)" female 39 1 0 13507 55.9 E44 S 579 0 3 "Caram, Mrs. Joseph (Maria Elias)" female 1 0 2689 14.4583 C 580 1 3 "Jussila, Mr. Eiriik" male 32 0 0 STON/O 2. 3101286 7.925 S 581 1 2 "Christy, Miss. Julie Rachel" female 25 1 1 237789 30 S 582 1 1 "Thayer, Mrs. John Borland (Marian Longstreth Morris)" female 39 1 1 17421 110.8833 C68 C 583 0 2 "Downton, Mr. William James" male 54 0 0 28403 26 S 584 0 1 "Ross, Mr. John Hugo" male 36 0 0 13049 40.125 A10 C 585 0 3 "Paulner, Mr. Uscher" male 0 0 3411 8.7125 C 586 1 1 "Taussig, Miss. Ruth" female 18 0 2 110413 79.65 E68 S 587 0 2 "Jarvis, Mr. John Denzil" male 47 0 0 237565 15 S 588 1 1 "Frolicher-Stehli, Mr. Maxmillian" male 60 1 1 13567 79.2 B41 C 589 0 3 "Gilinski, Mr. Eliezer" male 22 0 0 14973 8.05 S 590 0 3 "Murdlin, Mr. Joseph" male 0 0 A./5. 3235 8.05 S 591 0 3 "Rintamaki, Mr. Matti" male 35 0 0 STON/O 2. 3101273 7.125 S 592 1 1 "Stephenson, Mrs. Walter Bertram (Martha Eustis)" female 52 1 0 36947 78.2667 D20 C 593 0 3 "Elsbury, Mr. William James" male 47 0 0 A/5 3902 7.25 S 594 0 3 "Bourke, Miss. Mary" female 0 2 364848 7.75 Q 595 0 2 "Chapman, Mr. John Henry" male 37 1 0 SC/AH 29037 26 S 596 0 3 "Van Impe, Mr. Jean Baptiste" male 36 1 1 345773 24.15 S 597 1 2 "Leitch, Miss. Jessie Wills" female 0 0 248727 33 S 598 0 3 "Johnson, Mr. Alfred" male 49 0 0 LINE 0 S 599 0 3 "Boulos, Mr. Hanna" male 0 0 2664 7.225 C 600 1 1 "Duff Gordon, Sir. Cosmo Edmund (""Mr Morgan"")" male 49 1 0 PC 17485 56.9292 A20 C 601 1 2 "Jacobsohn, Mrs. Sidney Samuel (Amy Frances Christy)" female 24 2 1 243847 27 S 602 0 3 "Slabenoff, Mr. Petco" male 0 0 349214 7.8958 S 603 0 1 "Harrington, Mr. Charles H" male 0 0 113796 42.4 S 604 0 3 "Torber, Mr. Ernst William" male 44 0 0 364511 8.05 S 605 1 1 "Homer, Mr. Harry (""Mr E Haven"")" male 35 0 0 111426 26.55 C 606 0 3 "Lindell, Mr. Edvard Bengtsson" male 36 1 0 349910 15.55 S 607 0 3 "Karaic, Mr. Milan" male 30 0 0 349246 7.8958 S 608 1 1 "Daniel, Mr. Robert Williams" male 27 0 0 113804 30.5 S 609 1 2 "Laroche, Mrs. Joseph (Juliette Marie Louise Lafargue)" female 22 1 2 SC/Paris 2123 41.5792 C 610 1 1 "Shutes, Miss. Elizabeth W" female 40 0 0 PC 17582 153.4625 C125 S 611 0 3 "Andersson, Mrs. Anders Johan (Alfrida Konstantia Brogren)" female 39 1 5 347082 31.275 S 612 0 3 "Jardin, Mr. Jose Neto" male 0 0 SOTON/O.Q. 3101305 7.05 S 613 1 3 "Murphy, Miss. Margaret Jane" female 1 0 367230 15.5 Q 614 0 3 "Horgan, Mr. John" male 0 0 370377 7.75 Q 615 0 3 "Brocklebank, Mr. William Alfred" male 35 0 0 364512 8.05 S 616 1 2 "Herman, Miss. Alice" female 24 1 2 220845 65 S 617 0 3 "Danbom, Mr. Ernst Gilbert" male 34 1 1 347080 14.4 S 618 0 3 "Lobb, Mrs. William Arthur (Cordelia K Stanlick)" female 26 1 0 A/5. 3336 16.1 S 619 1 2 "Becker, Miss. Marion Louise" female 4 2 1 230136 39 F4 S 620 0 2 "Gavey, Mr. Lawrence" male 26 0 0 31028 10.5 S 621 0 3 "Yasbeck, Mr. Antoni" male 27 1 0 2659 14.4542 C 622 1 1 "Kimball, Mr. Edwin Nelson Jr" male 42 1 0 11753 52.5542 D19 S 623 1 3 "Nakid, Mr. Sahid" male 20 1 1 2653 15.7417 C 624 0 3 "Hansen, Mr. Henry Damsgaard" male 21 0 0 350029 7.8542 S 625 0 3 "Bowen, Mr. David John ""Dai""" male 21 0 0 54636 16.1 S 626 0 1 "Sutton, Mr. Frederick" male 61 0 0 36963 32.3208 D50 S 627 0 2 "Kirkland, Rev. Charles Leonard" male 57 0 0 219533 12.35 Q 628 1 1 "Longley, Miss. Gretchen Fiske" female 21 0 0 13502 77.9583 D9 S 629 0 3 "Bostandyeff, Mr. Guentcho" male 26 0 0 349224 7.8958 S 630 0 3 "O'Connell, Mr. Patrick D" male 0 0 334912 7.7333 Q 631 1 1 "Barkworth, Mr. Algernon Henry Wilson" male 80 0 0 27042 30 A23 S 632 0 3 "Lundahl, Mr. Johan Svensson" male 51 0 0 347743 7.0542 S 633 1 1 "Stahelin-Maeglin, Dr. Max" male 32 0 0 13214 30.5 B50 C 634 0 1 "Parr, Mr. William Henry Marsh" male 0 0 112052 0 S 635 0 3 "Skoog, Miss. Mabel" female 9 3 2 347088 27.9 S 636 1 2 "Davis, Miss. Mary" female 28 0 0 237668 13 S 637 0 3 "Leinonen, Mr. Antti Gustaf" male 32 0 0 STON/O 2. 3101292 7.925 S 638 0 2 "Collyer, Mr. Harvey" male 31 1 1 C.A. 31921 26.25 S 639 0 3 "Panula, Mrs. Juha (Maria Emilia Ojala)" female 41 0 5 3101295 39.6875 S 640 0 3 "Thorneycroft, Mr. Percival" male 1 0 376564 16.1 S 641 0 3 "Jensen, Mr. Hans Peder" male 20 0 0 350050 7.8542 S 642 1 1 "Sagesser, Mlle. Emma" female 24 0 0 PC 17477 69.3 B35 C 643 0 3 "Skoog, Miss. Margit Elizabeth" female 2 3 2 347088 27.9 S 644 1 3 "Foo, Mr. Choong" male 0 0 1601 56.4958 S 645 1 3 "Baclini, Miss. Eugenie" female 0.75 2 1 2666 19.2583 C 646 1 1 "Harper, Mr. Henry Sleeper" male 48 1 0 PC 17572 76.7292 D33 C 647 0 3 "Cor, Mr. Liudevit" male 19 0 0 349231 7.8958 S 648 1 1 "Simonius-Blumer, Col. Oberst Alfons" male 56 0 0 13213 35.5 A26 C 649 0 3 "Willey, Mr. Edward" male 0 0 S.O./P.P. 751 7.55 S 650 1 3 "Stanley, Miss. Amy Zillah Elsie" female 23 0 0 CA. 2314 7.55 S 651 0 3 "Mitkoff, Mr. Mito" male 0 0 349221 7.8958 S 652 1 2 "Doling, Miss. Elsie" female 18 0 1 231919 23 S 653 0 3 "Kalvik, Mr. Johannes Halvorsen" male 21 0 0 8475 8.4333 S 654 1 3 "O'Leary, Miss. Hanora ""Norah""" female 0 0 330919 7.8292 Q 655 0 3 "Hegarty, Miss. Hanora ""Nora""" female 18 0 0 365226 6.75 Q 656 0 2 "Hickman, Mr. Leonard Mark" male 24 2 0 S.O.C. 14879 73.5 S 657 0 3 "Radeff, Mr. Alexander" male 0 0 349223 7.8958 S 658 0 3 "Bourke, Mrs. John (Catherine)" female 32 1 1 364849 15.5 Q 659 0 2 "Eitemiller, Mr. George Floyd" male 23 0 0 29751 13 S 660 0 1 "Newell, Mr. Arthur Webster" male 58 0 2 35273 113.275 D48 C 661 1 1 "Frauenthal, Dr. Henry William" male 50 2 0 PC 17611 133.65 S 662 0 3 "Badt, Mr. Mohamed" male 40 0 0 2623 7.225 C 663 0 1 "Colley, Mr. Edward Pomeroy" male 47 0 0 5727 25.5875 E58 S 664 0 3 "Coleff, Mr. Peju" male 36 0 0 349210 7.4958 S 665 1 3 "Lindqvist, Mr. Eino William" male 20 1 0 STON/O 2. 3101285 7.925 S 666 0 2 "Hickman, Mr. Lewis" male 32 2 0 S.O.C. 14879 73.5 S 667 0 2 "Butler, Mr. Reginald Fenton" male 25 0 0 234686 13 S 668 0 3 "Rommetvedt, Mr. Knud Paust" male 0 0 312993 7.775 S 669 0 3 "Cook, Mr. Jacob" male 43 0 0 A/5 3536 8.05 S 670 1 1 "Taylor, Mrs. Elmer Zebley (Juliet Cummins Wright)" female 1 0 19996 52 C126 S 671 1 2 "Brown, Mrs. Thomas William Solomon (Elizabeth Catherine Ford)" female 40 1 1 29750 39 S 672 0 1 "Davidson, Mr. Thornton" male 31 1 0 F.C. 12750 52 B71 S 673 0 2 "Mitchell, Mr. Henry Michael" male 70 0 0 C.A. 24580 10.5 S 674 1 2 "Wilhelms, Mr. Charles" male 31 0 0 244270 13 S 675 0 2 "Watson, Mr. Ennis Hastings" male 0 0 239856 0 S 676 0 3 "Edvardsson, Mr. Gustaf Hjalmar" male 18 0 0 349912 7.775 S 677 0 3 "Sawyer, Mr. Frederick Charles" male 24.5 0 0 342826 8.05 S 678 1 3 "Turja, Miss. Anna Sofia" female 18 0 0 4138 9.8417 S 679 0 3 "Goodwin, Mrs. Frederick (Augusta Tyler)" female 43 1 6 CA 2144 46.9 S 680 1 1 "Cardeza, Mr. Thomas Drake Martinez" male 36 0 1 PC 17755 512.3292 B51 B53 B55 C 681 0 3 "Peters, Miss. Katie" female 0 0 330935 8.1375 Q 682 1 1 "Hassab, Mr. Hammad" male 27 0 0 PC 17572 76.7292 D49 C 683 0 3 "Olsvigen, Mr. Thor Anderson" male 20 0 0 6563 9.225 S 684 0 3 "Goodwin, Mr. Charles Edward" male 14 5 2 CA 2144 46.9 S 685 0 2 "Brown, Mr. Thomas William Solomon" male 60 1 1 29750 39 S 686 0 2 "Laroche, Mr. Joseph Philippe Lemercier" male 25 1 2 SC/Paris 2123 41.5792 C 687 0 3 "Panula, Mr. Jaako Arnold" male 14 4 1 3101295 39.6875 S 688 0 3 "Dakic, Mr. Branko" male 19 0 0 349228 10.1708 S 689 0 3 "Fischer, Mr. Eberhard Thelander" male 18 0 0 350036 7.7958 S 690 1 1 "Madill, Miss. Georgette Alexandra" female 15 0 1 24160 211.3375 B5 S 691 1 1 "Dick, Mr. Albert Adrian" male 31 1 0 17474 57 B20 S 692 1 3 "Karun, Miss. Manca" female 4 0 1 349256 13.4167 C 693 1 3 "Lam, Mr. Ali" male 0 0 1601 56.4958 S 694 0 3 "Saad, Mr. Khalil" male 25 0 0 2672 7.225 C 695 0 1 "Weir, Col. John" male 60 0 0 113800 26.55 S 696 0 2 "Chapman, Mr. Charles Henry" male 52 0 0 248731 13.5 S 697 0 3 "Kelly, Mr. James" male 44 0 0 363592 8.05 S 698 1 3 "Mullens, Miss. Katherine ""Katie""" female 0 0 35852 7.7333 Q 699 0 1 "Thayer, Mr. John Borland" male 49 1 1 17421 110.8833 C68 C 700 0 3 "Humblen, Mr. Adolf Mathias Nicolai Olsen" male 42 0 0 348121 7.65 F G63 S 701 1 1 "Astor, Mrs. John Jacob (Madeleine Talmadge Force)" female 18 1 0 PC 17757 227.525 C62 C64 C 702 1 1 "Silverthorne, Mr. Spencer Victor" male 35 0 0 PC 17475 26.2875 E24 S 703 0 3 "Barbara, Miss. Saiide" female 18 0 1 2691 14.4542 C 704 0 3 "Gallagher, Mr. Martin" male 25 0 0 36864 7.7417 Q 705 0 3 "Hansen, Mr. Henrik Juul" male 26 1 0 350025 7.8542 S 706 0 2 "Morley, Mr. Henry Samuel (""Mr Henry Marshall"")" male 39 0 0 250655 26 S 707 1 2 "Kelly, Mrs. Florence ""Fannie""" female 45 0 0 223596 13.5 S 708 1 1 "Calderhead, Mr. Edward Pennington" male 42 0 0 PC 17476 26.2875 E24 S 709 1 1 "Cleaver, Miss. Alice" female 22 0 0 113781 151.55 S 710 1 3 "Moubarek, Master. Halim Gonios (""William George"")" male 1 1 2661 15.2458 C 711 1 1 "Mayne, Mlle. Berthe Antonine (""Mrs de Villiers"")" female 24 0 0 PC 17482 49.5042 C90 C 712 0 1 "Klaber, Mr. Herman" male 0 0 113028 26.55 C124 S 713 1 1 "Taylor, Mr. Elmer Zebley" male 48 1 0 19996 52 C126 S 714 0 3 "Larsson, Mr. August Viktor" male 29 0 0 7545 9.4833 S 715 0 2 "Greenberg, Mr. Samuel" male 52 0 0 250647 13 S 716 0 3 "Soholt, Mr. Peter Andreas Lauritz Andersen" male 19 0 0 348124 7.65 F G73 S 717 1 1 "Endres, Miss. Caroline Louise" female 38 0 0 PC 17757 227.525 C45 C 718 1 2 "Troutt, Miss. Edwina Celia ""Winnie""" female 27 0 0 34218 10.5 E101 S 719 0 3 "McEvoy, Mr. Michael" male 0 0 36568 15.5 Q 720 0 3 "Johnson, Mr. Malkolm Joackim" male 33 0 0 347062 7.775 S 721 1 2 "Harper, Miss. Annie Jessie ""Nina""" female 6 0 1 248727 33 S 722 0 3 "Jensen, Mr. Svend Lauritz" male 17 1 0 350048 7.0542 S 723 0 2 "Gillespie, Mr. William Henry" male 34 0 0 12233 13 S 724 0 2 "Hodges, Mr. Henry Price" male 50 0 0 250643 13 S 725 1 1 "Chambers, Mr. Norman Campbell" male 27 1 0 113806 53.1 E8 S 726 0 3 "Oreskovic, Mr. Luka" male 20 0 0 315094 8.6625 S 727 1 2 "Renouf, Mrs. Peter Henry (Lillian Jefferys)" female 30 3 0 31027 21 S 728 1 3 "Mannion, Miss. Margareth" female 0 0 36866 7.7375 Q 729 0 2 "Bryhl, Mr. Kurt Arnold Gottfrid" male 25 1 0 236853 26 S 730 0 3 "Ilmakangas, Miss. Pieta Sofia" female 25 1 0 STON/O2. 3101271 7.925 S 731 1 1 "Allen, Miss. Elisabeth Walton" female 29 0 0 24160 211.3375 B5 S 732 0 3 "Hassan, Mr. Houssein G N" male 11 0 0 2699 18.7875 C 733 0 2 "Knight, Mr. Robert J" male 0 0 239855 0 S 734 0 2 "Berriman, Mr. William John" male 23 0 0 28425 13 S 735 0 2 "Troupiansky, Mr. Moses Aaron" male 23 0 0 233639 13 S 736 0 3 "Williams, Mr. Leslie" male 28.5 0 0 54636 16.1 S 737 0 3 "Ford, Mrs. Edward (Margaret Ann Watson)" female 48 1 3 W./C. 6608 34.375 S 738 1 1 "Lesurer, Mr. Gustave J" male 35 0 0 PC 17755 512.3292 B101 C 739 0 3 "Ivanoff, Mr. Kanio" male 0 0 349201 7.8958 S 740 0 3 "Nankoff, Mr. Minko" male 0 0 349218 7.8958 S 741 1 1 "Hawksford, Mr. Walter James" male 0 0 16988 30 D45 S 742 0 1 "Cavendish, Mr. Tyrell William" male 36 1 0 19877 78.85 C46 S 743 1 1 "Ryerson, Miss. Susan Parker ""Suzette""" female 21 2 2 PC 17608 262.375 B57 B59 B63 B66 C 744 0 3 "McNamee, Mr. Neal" male 24 1 0 376566 16.1 S 745 1 3 "Stranden, Mr. Juho" male 31 0 0 STON/O 2. 3101288 7.925 S 746 0 1 "Crosby, Capt. Edward Gifford" male 70 1 1 WE/P 5735 71 B22 S 747 0 3 "Abbott, Mr. Rossmore Edward" male 16 1 1 C.A. 2673 20.25 S 748 1 2 "Sinkkonen, Miss. Anna" female 30 0 0 250648 13 S 749 0 1 "Marvin, Mr. Daniel Warner" male 19 1 0 113773 53.1 D30 S 750 0 3 "Connaghton, Mr. Michael" male 31 0 0 335097 7.75 Q 751 1 2 "Wells, Miss. Joan" female 4 1 1 29103 23 S 752 1 3 "Moor, Master. Meier" male 6 0 1 392096 12.475 E121 S 753 0 3 "Vande Velde, Mr. Johannes Joseph" male 33 0 0 345780 9.5 S 754 0 3 "Jonkoff, Mr. Lalio" male 23 0 0 349204 7.8958 S 755 1 2 "Herman, Mrs. Samuel (Jane Laver)" female 48 1 2 220845 65 S 756 1 2 "Hamalainen, Master. Viljo" male 0.67 1 1 250649 14.5 S 757 0 3 "Carlsson, Mr. August Sigfrid" male 28 0 0 350042 7.7958 S 758 0 2 "Bailey, Mr. Percy Andrew" male 18 0 0 29108 11.5 S 759 0 3 "Theobald, Mr. Thomas Leonard" male 34 0 0 363294 8.05 S 760 1 1 "Rothes, the Countess. of (Lucy Noel Martha Dyer-Edwards)" female 33 0 0 110152 86.5 B77 S 761 0 3 "Garfirth, Mr. John" male 0 0 358585 14.5 S 762 0 3 "Nirva, Mr. Iisakki Antino Aijo" male 41 0 0 SOTON/O2 3101272 7.125 S 763 1 3 "Barah, Mr. Hanna Assi" male 20 0 0 2663 7.2292 C 764 1 1 "Carter, Mrs. William Ernest (Lucile Polk)" female 36 1 2 113760 120 B96 B98 S 765 0 3 "Eklund, Mr. Hans Linus" male 16 0 0 347074 7.775 S 766 1 1 "Hogeboom, Mrs. John C (Anna Andrews)" female 51 1 0 13502 77.9583 D11 S 767 0 1 "Brewe, Dr. Arthur Jackson" male 0 0 112379 39.6 C 768 0 3 "Mangan, Miss. Mary" female 30.5 0 0 364850 7.75 Q 769 0 3 "Moran, Mr. Daniel J" male 1 0 371110 24.15 Q 770 0 3 "Gronnestad, Mr. Daniel Danielsen" male 32 0 0 8471 8.3625 S 771 0 3 "Lievens, Mr. Rene Aime" male 24 0 0 345781 9.5 S 772 0 3 "Jensen, Mr. Niels Peder" male 48 0 0 350047 7.8542 S 773 0 2 "Mack, Mrs. (Mary)" female 57 0 0 S.O./P.P. 3 10.5 E77 S 774 0 3 "Elias, Mr. Dibo" male 0 0 2674 7.225 C 775 1 2 "Hocking, Mrs. Elizabeth (Eliza Needs)" female 54 1 3 29105 23 S 776 0 3 "Myhrman, Mr. Pehr Fabian Oliver Malkolm" male 18 0 0 347078 7.75 S 777 0 3 "Tobin, Mr. Roger" male 0 0 383121 7.75 F38 Q 778 1 3 "Emanuel, Miss. Virginia Ethel" female 5 0 0 364516 12.475 S 779 0 3 "Kilgannon, Mr. Thomas J" male 0 0 36865 7.7375 Q 780 1 1 "Robert, Mrs. Edward Scott (Elisabeth Walton McMillan)" female 43 0 1 24160 211.3375 B3 S 781 1 3 "Ayoub, Miss. Banoura" female 13 0 0 2687 7.2292 C 782 1 1 "Dick, Mrs. Albert Adrian (Vera Gillespie)" female 17 1 0 17474 57 B20 S 783 0 1 "Long, Mr. Milton Clyde" male 29 0 0 113501 30 D6 S 784 0 3 "Johnston, Mr. Andrew G" male 1 2 W./C. 6607 23.45 S 785 0 3 "Ali, Mr. William" male 25 0 0 SOTON/O.Q. 3101312 7.05 S 786 0 3 "Harmer, Mr. Abraham (David Lishin)" male 25 0 0 374887 7.25 S 787 1 3 "Sjoblom, Miss. Anna Sofia" female 18 0 0 3101265 7.4958 S 788 0 3 "Rice, Master. George Hugh" male 8 4 1 382652 29.125 Q 789 1 3 "Dean, Master. Bertram Vere" male 1 1 2 C.A. 2315 20.575 S 790 0 1 "Guggenheim, Mr. Benjamin" male 46 0 0 PC 17593 79.2 B82 B84 C 791 0 3 "Keane, Mr. Andrew ""Andy""" male 0 0 12460 7.75 Q 792 0 2 "Gaskell, Mr. Alfred" male 16 0 0 239865 26 S 793 0 3 "Sage, Miss. Stella Anna" female 8 2 CA. 2343 69.55 S 794 0 1 "Hoyt, Mr. William Fisher" male 0 0 PC 17600 30.6958 C 795 0 3 "Dantcheff, Mr. Ristiu" male 25 0 0 349203 7.8958 S 796 0 2 "Otter, Mr. Richard" male 39 0 0 28213 13 S 797 1 1 "Leader, Dr. Alice (Farnham)" female 49 0 0 17465 25.9292 D17 S 798 1 3 "Osman, Mrs. Mara" female 31 0 0 349244 8.6833 S 799 0 3 "Ibrahim Shawah, Mr. Yousseff" male 30 0 0 2685 7.2292 C 800 0 3 "Van Impe, Mrs. Jean Baptiste (Rosalie Paula Govaert)" female 30 1 1 345773 24.15 S 801 0 2 "Ponesell, Mr. Martin" male 34 0 0 250647 13 S 802 1 2 "Collyer, Mrs. Harvey (Charlotte Annie Tate)" female 31 1 1 C.A. 31921 26.25 S 803 1 1 "Carter, Master. William Thornton II" male 11 1 2 113760 120 B96 B98 S 804 1 3 "Thomas, Master. Assad Alexander" male 0.42 0 1 2625 8.5167 C 805 1 3 "Hedman, Mr. Oskar Arvid" male 27 0 0 347089 6.975 S 806 0 3 "Johansson, Mr. Karl Johan" male 31 0 0 347063 7.775 S 807 0 1 "Andrews, Mr. Thomas Jr" male 39 0 0 112050 0 A36 S 808 0 3 "Pettersson, Miss. Ellen Natalia" female 18 0 0 347087 7.775 S 809 0 2 "Meyer, Mr. August" male 39 0 0 248723 13 S 810 1 1 "Chambers, Mrs. Norman Campbell (Bertha Griggs)" female 33 1 0 113806 53.1 E8 S 811 0 3 "Alexander, Mr. William" male 26 0 0 3474 7.8875 S 812 0 3 "Lester, Mr. James" male 39 0 0 A/4 48871 24.15 S 813 0 2 "Slemen, Mr. Richard James" male 35 0 0 28206 10.5 S 814 0 3 "Andersson, Miss. Ebba Iris Alfrida" female 6 4 2 347082 31.275 S 815 0 3 "Tomlin, Mr. Ernest Portage" male 30.5 0 0 364499 8.05 S 816 0 1 "Fry, Mr. Richard" male 0 0 112058 0 B102 S 817 0 3 "Heininen, Miss. Wendla Maria" female 23 0 0 STON/O2. 3101290 7.925 S 818 0 2 "Mallet, Mr. Albert" male 31 1 1 S.C./PARIS 2079 37.0042 C 819 0 3 "Holm, Mr. John Fredrik Alexander" male 43 0 0 C 7075 6.45 S 820 0 3 "Skoog, Master. Karl Thorsten" male 10 3 2 347088 27.9 S 821 1 1 "Hays, Mrs. Charles Melville (Clara Jennings Gregg)" female 52 1 1 12749 93.5 B69 S 822 1 3 "Lulic, Mr. Nikola" male 27 0 0 315098 8.6625 S 823 0 1 "Reuchlin, Jonkheer. John George" male 38 0 0 19972 0 S 824 1 3 "Moor, Mrs. (Beila)" female 27 0 1 392096 12.475 E121 S 825 0 3 "Panula, Master. Urho Abraham" male 2 4 1 3101295 39.6875 S 826 0 3 "Flynn, Mr. John" male 0 0 368323 6.95 Q 827 0 3 "Lam, Mr. Len" male 0 0 1601 56.4958 S 828 1 2 "Mallet, Master. Andre" male 1 0 2 S.C./PARIS 2079 37.0042 C 829 1 3 "McCormack, Mr. Thomas Joseph" male 0 0 367228 7.75 Q 830 1 1 "Stone, Mrs. George Nelson (Martha Evelyn)" female 62 0 0 113572 80 B28 831 1 3 "Yasbeck, Mrs. Antoni (Selini Alexander)" female 15 1 0 2659 14.4542 C 832 1 2 "Richards, Master. George Sibley" male 0.83 1 1 29106 18.75 S 833 0 3 "Saad, Mr. Amin" male 0 0 2671 7.2292 C 834 0 3 "Augustsson, Mr. Albert" male 23 0 0 347468 7.8542 S 835 0 3 "Allum, Mr. Owen George" male 18 0 0 2223 8.3 S 836 1 1 "Compton, Miss. Sara Rebecca" female 39 1 1 PC 17756 83.1583 E49 C 837 0 3 "Pasic, Mr. Jakob" male 21 0 0 315097 8.6625 S 838 0 3 "Sirota, Mr. Maurice" male 0 0 392092 8.05 S 839 1 3 "Chip, Mr. Chang" male 32 0 0 1601 56.4958 S 840 1 1 "Marechal, Mr. Pierre" male 0 0 11774 29.7 C47 C 841 0 3 "Alhomaki, Mr. Ilmari Rudolf" male 20 0 0 SOTON/O2 3101287 7.925 S 842 0 2 "Mudd, Mr. Thomas Charles" male 16 0 0 S.O./P.P. 3 10.5 S 843 1 1 "Serepeca, Miss. Augusta" female 30 0 0 113798 31 C 844 0 3 "Lemberopolous, Mr. Peter L" male 34.5 0 0 2683 6.4375 C 845 0 3 "Culumovic, Mr. Jeso" male 17 0 0 315090 8.6625 S 846 0 3 "Abbing, Mr. Anthony" male 42 0 0 C.A. 5547 7.55 S 847 0 3 "Sage, Mr. Douglas Bullen" male 8 2 CA. 2343 69.55 S 848 0 3 "Markoff, Mr. Marin" male 35 0 0 349213 7.8958 C 849 0 2 "Harper, Rev. John" male 28 0 1 248727 33 S 850 1 1 "Goldenberg, Mrs. Samuel L (Edwiga Grabowska)" female 1 0 17453 89.1042 C92 C 851 0 3 "Andersson, Master. Sigvard Harald Elias" male 4 4 2 347082 31.275 S 852 0 3 "Svensson, Mr. Johan" male 74 0 0 347060 7.775 S 853 0 3 "Boulos, Miss. Nourelain" female 9 1 1 2678 15.2458 C 854 1 1 "Lines, Miss. Mary Conover" female 16 0 1 PC 17592 39.4 D28 S 855 0 2 "Carter, Mrs. Ernest Courtenay (Lilian Hughes)" female 44 1 0 244252 26 S 856 1 3 "Aks, Mrs. Sam (Leah Rosen)" female 18 0 1 392091 9.35 S 857 1 1 "Wick, Mrs. George Dennick (Mary Hitchcock)" female 45 1 1 36928 164.8667 S 858 1 1 "Daly, Mr. Peter Denis " male 51 0 0 113055 26.55 E17 S 859 1 3 "Baclini, Mrs. Solomon (Latifa Qurban)" female 24 0 3 2666 19.2583 C 860 0 3 "Razi, Mr. Raihed" male 0 0 2629 7.2292 C 861 0 3 "Hansen, Mr. Claus Peter" male 41 2 0 350026 14.1083 S 862 0 2 "Giles, Mr. Frederick Edward" male 21 1 0 28134 11.5 S 863 1 1 "Swift, Mrs. Frederick Joel (Margaret Welles Barron)" female 48 0 0 17466 25.9292 D17 S 864 0 3 "Sage, Miss. Dorothy Edith ""Dolly""" female 8 2 CA. 2343 69.55 S 865 0 2 "Gill, Mr. John William" male 24 0 0 233866 13 S 866 1 2 "Bystrom, Mrs. (Karolina)" female 42 0 0 236852 13 S 867 1 2 "Duran y More, Miss. Asuncion" female 27 1 0 SC/PARIS 2149 13.8583 C 868 0 1 "Roebling, Mr. Washington Augustus II" male 31 0 0 PC 17590 50.4958 A24 S 869 0 3 "van Melkebeke, Mr. Philemon" male 0 0 345777 9.5 S 870 1 3 "Johnson, Master. Harold Theodor" male 4 1 1 347742 11.1333 S 871 0 3 "Balkic, Mr. Cerin" male 26 0 0 349248 7.8958 S 872 1 1 "Beckwith, Mrs. Richard Leonard (Sallie Monypeny)" female 47 1 1 11751 52.5542 D35 S 873 0 1 "Carlsson, Mr. Frans Olof" male 33 0 0 695 5 B51 B53 B55 S 874 0 3 "Vander Cruyssen, Mr. Victor" male 47 0 0 345765 9 S 875 1 2 "Abelson, Mrs. Samuel (Hannah Wizosky)" female 28 1 0 P/PP 3381 24 C 876 1 3 "Najib, Miss. Adele Kiamie ""Jane""" female 15 0 0 2667 7.225 C 877 0 3 "Gustafsson, Mr. Alfred Ossian" male 20 0 0 7534 9.8458 S 878 0 3 "Petroff, Mr. Nedelio" male 19 0 0 349212 7.8958 S 879 0 3 "Laleff, Mr. Kristo" male 0 0 349217 7.8958 S 880 1 1 "Potter, Mrs. Thomas Jr (Lily Alexenia Wilson)" female 56 0 1 11767 83.1583 C50 C 881 1 2 "Shelley, Mrs. William (Imanita Parrish Hall)" female 25 0 1 230433 26 S 882 0 3 "Markun, Mr. Johann" male 33 0 0 349257 7.8958 S 883 0 3 "Dahlberg, Miss. Gerda Ulrika" female 22 0 0 7552 10.5167 S 884 0 2 "Banfield, Mr. Frederick James" male 28 0 0 C.A./SOTON 34068 10.5 S 885 0 3 "Sutehall, Mr. Henry Jr" male 25 0 0 SOTON/OQ 392076 7.05 S 886 0 3 "Rice, Mrs. William (Margaret Norton)" female 39 0 5 382652 29.125 Q 887 0 2 "Montvila, Rev. Juozas" male 27 0 0 211536 13 S 888 1 1 "Graham, Miss. Margaret Edith" female 19 0 0 112053 30 B42 S 889 0 3 "Johnston, Miss. Catherine Helen ""Carrie""" female 1 2 W./C. 6607 23.45 S 890 1 1 "Behr, Mr. Karl Howell" male 26 0 0 111369 30 C148 C 891 0 3 "Dooley, Mr. Patrick" male 32 0 0 370376 7.75 Q ================================================ FILE: docs/.nojekyll ================================================ noting ================================================ FILE: docs/Content/chap1.html ================================================ 第一章 Excel与数据格式 — free-excel

第一章 Excel与数据格式#

1.数据缘何而来#

Execel是我们常见的用来进行数据处理的工具,其中Excel文件主要包含有2种格式分别是xlsxlsxxlsxlsx主要区别如下:

因此,推荐大家使用最新版本的Excel或者WPS进行相关的学习与操作。

1.1 了解Excel#

Excel文每个数据文件叫做工作簿,每个工作簿里面含有多个工作表,每个工作表里面的格子叫做单元格。

在Excel中点击新建文档后,Excel默认的文档名称是工作簿1,也就是一个Excel文档,就是一个工作簿

在新建的工作簿中,可以看到左下方有Sheet1的标签,每个工作簿里面可以含有多个工作表,Excel表中最大支持255个工作表

单元格就是工作表中间每一个格子

在Excel最上方是工具栏,如果希望在Excel中导入第三方插件,可以点击文件–>选项–>自定义功能区点击右侧的√,即可导入相关模块

1.2 Excel存储格式#

Excel中的数据可以存储为不同的类型格式,其中常用的存储类似分别是xlsx、csv以及txt,一般情况下,csv文件采用是逗号分隔,txt文件采用的是制表符作为分隔,例如data/chap1/Titanic_normal.csvdata/chap1/Titanic_tab.txt,而在较为特殊的情况下,数据的分隔符合可能不是常规的分隔符合,例如data/chap1/Titanic_special.txt,使用记事本打开这个文件发现文件采用|作为分隔的符合,那么这样的文件如何使用Excel打开呢?

这里推荐大家使用以下的操作方案,操作路径为菜单栏选择:数据–>获取和转换数据–>从文件/CSV

点击加载后可以看到我们导入的数据集,接着按快捷键ctrl+s保存工作簿到本地。

至此我们已经成功加载数据集到工作表当中,需要注意的是此时构建的数据表跟原始数据是存在连接关系,更改csv文件的数据后在点击路径:设计-外部表数据-刷新后就可以更新工作表数据。如果要取消链接关系则点击路径:设计-外部数据表-取消链接即可。

2.Excel数据格式#

2.1 单元格数据类型#

打开data/chap1/2.1.xlsx文件,点击【单元格数据类型】工作表,可以看到Excel有11种数据类型

在平时工作和学习中常见的数据类型有3种分别是数字、文本和日期,接下来就详细讲解这3种格式的相关应用

2.1.1 数字#

数值是单元格最常见的数据之一,12位数的时候会以科学计数法显示。

打开data/chap1/2.1.xlsx文件,点击【真假数字】工作表看到展示的是真假数值列,真数值默认情况下是右对齐(方便观测数据位数),假数值是数值型文本属于文本,左上角会有个绿色三角错误检查,当数据是文本时,无法完成数字运算操作。

Excel会自带数据纠错功能,点击黄色感叹号可以看到,将文本转出数字,或者使用=VALUE()函数将文本转成数字

2.1.2 文本#

文本为Excel中的常见格式,主要为文本字符串,例如下图就是典型的文本数据。当数据是文本类型时就可以完成文本数据相关操作。

2.1.3 日期#

Excel中的标准日期由年月日组成的数据,例如2021/1/1,同时日期又是很特殊的数值,在Excel里面日期最早是1900年1月1日,对应的数值为1,通过两日期相减可以得到日期相差的天数。需要注意的是如果是2021-01-01的数据就要看是否实际数据为'2021/1/1',否则为文本型日期,需要进行转换才行。观察下图真假日期,可以发现真日期右对齐,假日期左对齐(内容跟显示的一致),真日期转格式可以看到单元格数据仍然是真日期格式(内容跟显示不一致)。

2.2 单元格格式#

设置单元格格式可以点击单元格后,右键-设置单元格格式选项,或者按快捷键ctrl+1,或者通过工具栏:开始-数字去快速做更改。单元格可以设置的格式类型包括:

  • 数字:调整数值格式或者日期格式。

  • 对齐:调整对齐方式。

  • 字体:更改字体、字型、字号等。

  • 边框:单元格边框设置。

  • 填充:填充单元格背景颜色,标注数据经常使用。

  • 保护:锁定单元格或者隐藏公式。

2.2.1 数值格式#

设置单元格格式分类选择数值,对数值设置小数点一般保留两位,同时能让数值对齐,使用千分位分隔符能更容易观察数值大小。

2.2.2 文本格式#

文本常见的设置格式用于对文本进行加单引号、双引号或者逗号的情况。

例如对真假日期中的假日期增加单引号

2.2.3 日期格式#

通过日期分类调整日期格式为年-月-日,需要注意的是文本型的日期格式无法调整,而数值是可以调整为日期。

2.3 转换单元格数据#

2.3.1 数值和文本相互转换#

打开data/chap1/2.1.xlsx,将数值转换成文本

2.3.2 日期和文本相互转换#

打开data/chap1/2.1.xlsx,将不规范日期转成规范日期,然后转成文本

练习#

  1. 使用Excel数据导入功能,完成data/chap1/Titanic_normal.csvdata/chap1/Titanic_train.txt数据导入

  2. 完成data/chap1/2.1.xlsx中案例1-4中的问题

================================================ FILE: docs/Content/chap10.html ================================================ 第十章Excel看板 — free-excel

第十章Excel看板#

数据看板作为数据动态展示的一种重要方式,被广泛的应用于各个领域,因此本节根据1个案例讲解使用Excel制作数据看板的过程,以期起到抛砖引玉的效果,在学习技能的同时也将其应用到实践的工作中

1.业务背景#

打开data/chap10/10.1.xlsx中的数据源,这是某厂家在淘宝、拼多多、京东这3个电商销售平台的销售数据,现在你是这个厂家的员工,老板想知道商品在不同渠道的每周销售情况,想请你做一个数据周报看板。

2.实现分析#

1.既然是周报看板,需要确定每天日期所在周数与每周的第几天

2.根据确定周数对销售金额进行汇总

3.对销售金额进行动态展示

3.实现过程#

1.确定周数#

确定日期所在的周数用【WEEKNUM函数】,确定日期是第几周可以用【WEEKDAY函数】

在H2单元格输入 =WEEKNUM(B2,2)

在I2单元格输入 =WEEKDAY(B2,11) (如果想得到中文星期几 可以输入 =TEXT(B2,”aaaa”))

2.销售基础整理#

新建1个工作表,确定动态数据的变量为周数,并确定需要计算的指标,本周开始日期、介绍日期、销售额、订单数、上周销售额、上周订单数、销售额变化、订单数变化

使用公式求解相关的基础数据

在C3单元格输入公式=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001)

如果发现数据日期变成了44200,显然就是格式不正确,只需要将单元格的格式转为日期即可

在C4单元格输入公式=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001,0,0,-1)

对于本周的销售额,可以使用SUMIFS函数获得 ,在C5单元格中输入

=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)

对于本周的订单数,可以使用COUNTIFS函数获得 ,在C6单元格中输入

=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)

对于上周开始日期,可以使用本周开始日期-7,在E3单元格中输入

=C3-7

对于上周结束日期,可以使用本周结束日期-7,在E4单元格中输入

=C4-7

对于上周销售额,可以使用SUMIFS函数获得 ,在E5单元格中输入

=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)

对于上周的订单数,可以使用COUNTIFS函数获得 ,在E6单元格中输入

=COUNTIFS(数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)

对于相比上周销售额变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C7单元格中输入

=TEXT(((C5-E5)/E5)*100,"0.00")&"%"

对于相比上周订单数变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C8单元格中输入

=TEXT(((C6-E6)/E6)*100,"0.00")&"%"

当然也可以直接设置单元格格式为【百分比】

当然这个【相比上周销售额变化】指标是一个比较重要的指标,可以对这个指标进行格式设置

选择C6单元格并设置条件格式,判断C5单元格与E5单元格值的大小,如果C5>=E5,那么C6单元值为红,否则为绿色

3.周销售数据变化趋势#

对于每周的数据需要做一个统计,并对每周数据的下单金额与下单数进行整理

装B13-B19单元格输入星期数

现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式

=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&'计算过程'!B13)

现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式

=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&'计算过程'!B13)

接下来就对数据进行可视化展示

4.周销售渠道整理#

对于每周的数据需要做一个统计,并对每周数据的渠道分布进行整理

装G3-G6单元格分别输入产品的电商渠道京东、拼多多、淘宝

在H3单元格中输入SUMIFS函数求不同渠道的销售金额,并进行向下填充

=SUMIFS(数据源!$F:$F,数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)

在I3单元格中输入COUNTIF函数求不同渠道的下单数,并进行向下填充

=COUNTIFS(数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)

接下来就对数据进行可视化展示,将图片进行简单的美化,就可以得到下单金额饼状图与下单数的柱状图

5.看板绘制#

完成了前面的全部计算后,接下来的工作就是将绘制的图结合在一起进行展示

首先是上述计算的数据与绘图的信息集合到一起

其中本周的总销量、本周订单数、当前周数、开始日期以及结束日期都是引用计算过程中的值

本周总销量的值为=计算过程!$C$5

本周总订单的值为=计算过程!$C$6

本周周数的值为=计算过程!$C$2

本周的开始日期为=计算过程!$C$3

本周的结束日期为=计算过程!$C$4

因为本周的变化情况带有条件单元格式,因此不能直接引用,需要将其转化成链接图片的形式,具体操作为

1.复制C7单元格

2.粘贴选择链接的图片

对于本周的周数,需要设置按钮方便调节

1.选择开发工具

2.选择插入,选择数值调节按钮

3.选择设置控件格式

4.设置控件的对应参数

到这里就完成了看板90%的步骤,点击按钮,能看动态展示看板的相关数据

最后就对看板进行相应的美化,在看板美化过程中也参考了其他EXCEL教程中的配色,因此最后的看板展示效果为

练习#

1.完成数据看板,需要通过按钮调节周数,同时销售额,订单数以及数据图进行变化

思考#

1.为什么每周的介绍日期和开始日期都可以使用XLOOKUP获得

2.为什么每周1的下单金额之和可以通过SUMIF函数求

3.为什么设置按钮调节每周的数据变化,这样有什么好处

后记#

行文至此,以上就是Free-excel教程的全部内容,整个教程的编写过程中也广泛的参阅了各式各样的Excel教程,尽力让本教程变得轻松易学,希望读者能掌握相关的Excel技巧,并能灵活的运用到工作中,面对数字化社会,数据将渗透到生活的点点滴滴,拥抱数字,同时也拥抱变化。

–作者:牧小熊,Datawhale成员,数据分析师

================================================ FILE: docs/Content/chap2.html ================================================ 第二章 Excel的快捷操作 — free-excel

第二章 Excel的快捷操作#

在本节中我们将了解Excel中的各种快捷操作,目前已知的Excel快捷操作键有230个,本篇重点介绍那些常用的Excel快捷操作键。

1.Excel快捷操作简介#

1.1文件相关#

  • Ctrl + N 创建一个新的Excel工作簿

  • Ctrl + w 关闭当前工作簿

  • Ctrl + S 保存当前的Excel工作簿

  • F12 将当前文件进行另存为

  • Ctrl + p 打印当前工作表

1.2通用快捷键#

  • Ctrl + z 撤销当前操作

  • Ctrl + Y 恢复撤销,可以用这个快捷键恢复被撤消的操作

  • Ctrl + C 复制所选单元格

  • Ctrl + x 剪切所选单元格

  • Ctrl + v 粘贴所选单元格

  • Ctrl + F 弹出查找和替换对话框

  • Ctrl + G 显示定位对话框

1.3表格选择#

  • Ctrl + A 全选表格

  • Ctrl + 移动到数据区域的右边缘

  • Ctrl + 移动到数据区域的左边缘

  • Ctrl + 移动到数据区域的上边缘

  • Ctrl + 移动到数据区域的下边缘

1.4单元格编辑#

  • F2 编辑当前单元格(跟双击单元格效果一致)

  • Alt + Enter 在当前单元格内换行 (直接按 Enter会跳转到下一行)

  • Enter 下移一个单元格

  • Shift + Enter 上移一个单元格

  • Tab 右移一个单元格

  • Shift + Tab 左移一个单元格

  • Ctrl + Enter 输入完成,并停留在当前单元格

  • Ctrl + ;(分号) 输入当前日期(显示为年/月/日)

  • Ctrl +Shift + : 输入当前时间 (显示为小时/分钟)

  • Ctrl + E 快速填充

1.5Excel格式化#

  • Ctrl + 1(数字1) 设置单元格格式

  • Ctrl + B 加粗或取消加粗

  • Ctrl + i 加斜体或取消斜体

1.6Excel公式#

  • F4 绝对引用和相对引用切换

  • Alt+= 自动插入求和公式

2.Excel快捷操作实践#

2.1自动插入求和公式#

打开文件data/chap2/2.1.xlsx,点击【案例1】

1.选中案例1中的表格区域(注意这里要把汇总的那一行也选上

2.使用快捷键Alt+= ,自动插入求和公式,可以看到,对上述的Excel表格区域进行自动求和。

2.2自动进行列差异比对#

打开文件data/chap2/2.2.xlsx,点击【案例1】,我们现在的任务是找到1月和2月客户数不同的区域,如何快速定位?

1.选中需要进行列差异比对的区域,注意选择顺序从左往右

2.使用快捷键ctrl+\ (注意不是”/”),可以快速定位到区域4、区域8以及区域10所对应的客户数不同

3.选择填充颜色,即可快速显示两列的差异

注意这里的选择方向,从右往左选择,那么默认最右边为参考标准,其他列的数据可参考标准比较,如果从左往右选择,那最左边就是参考标准,其他的操作同上。

2.3自动填充#

在excel中很多重复、繁琐的工作由数据提取和数据合并这类问题造成,2013年以后的Excel支持智能填充,能灵活的解决这类问题。需要注意的是,自动填充的数据需要是同一个规范数据才可以完成自动填充。

打开文件data/chap2/2.3.xlsx,点击【案例1】,需要提取客户的手机号

1.手动提取客户1的手机号,并输入到【B2】

2.选择需要快速填充的列,也就是【B2-B11】

3.按ctrl+E进行自动填充

练习#

1.完成data/chap2/2.1.xlsx工作簿中的【案例2】【案例3】的快捷键自动求和任务

2.完成data/chap2/2.2.xlsx工作簿中的【案例2】【案例3】的多行快速比对任务(提示:需要选中所有待比对表格框)

3.完成data/chap2/2.3.xlsx工作簿中的【案例2】【案例3】【案例4】的填充任务

================================================ FILE: docs/Content/chap3.html ================================================ 第三章 Excel的表合并 — free-excel

第三章 Excel的表合并#

当遇到需要将多个表的行记录合并在一起的时候,我们一般会手动复制粘贴,这会带来很多重复繁琐的操作,并且容易出错,可以使用Excel的合并计算工具来快速完成。

1.多表行合并#

打开文件data/chap3/3.1.xlsx,点击【案例1】可以看到有3个消费表格,每个客户的消费金额不同,现在需要你统计每个客户在消费的总金额。

一般的操作方法是将这3个数据复制粘贴,那么有没有更加优雅的方法呢?这里推荐使用合并计算

1.选择需要汇总的单元格起点

2.选择Excel中的数据栏

3.找到数据栏中的合并计算块

4.选择合并计算函数中的求和

5.点击引用位置右侧的引用项

6.选择第一个数据表所在的范围

7.点击添加

8.将3个数据表添加到所有引用位置

9.选择标签位置信息

10.点击完成

可以看到完成了所有客户消费金额的求和计算~

2.多表列合并#

打开文件data/chap3/3.1.xlsx,点击【案例2】可以看到有3个不同的消费表格,每个客户的消费金额不同,现在需要你统计每个客户在3个不同消费的总金额。

使用合并计算选择3个不同项目的数据区域

练习#

1.选择data/chap3/3.1.xlsx工作簿中的【案例1】得到不同客户的消费次数

2.选择data/chap3/3.1.xlsx工作簿中的【案例2】得到不同客户的不同项目的消费次数

================================================ FILE: docs/Content/chap4.html ================================================ 第四章 Excel函数-逻辑判断 — free-excel

第四章 Excel函数-逻辑判断#

Excel中有着非常丰富的函数,这些函数能大幅度提升我们的工作效率,本节中会重点介绍一些常用的Excel函数。

1.if函数#

打开文件data/chap4/4.1.xlsx,点击【案例1】,现在需要对客户的原始得分进行校正,当客户的原始得分为负时,校正为0

针对上面遇到的问题,可以使用IF函数,Excel函数用法如下

【IF函数】=IF(判断条件,如果满足则,如果不满足则)

针对遇到的问题,那么在C2单元格中输入

=IF(B2<0,0,B2) —-> 注意,这里的逗号要使用英文的逗号

那么这个公式是什么意思呢?判断B2单元格是不是小于0,如果是,则C2单元格为0,如果不是则返回B2单元格的值,可以看到C2单元格实际返回值为0,这是因为B2的值为-1,满足判断条件,因此C2单元格返回为0

那么如何进行公式批量填充呢?

这里推荐一个比较优雅的方法

1.在C2单元格写Excel公式

2.选择需要填充公式的区域,包括C2单元格

3.点击C2单元格,进入公式编辑状态

4.使用快捷键CTRL+Enter进行批量填充

打开文件data/chap4/4.1.xlsx,点击【案例2】,现在有客户的1月、2月消费金额,如果客户2个月的消费金额都超过400,那么就认为这个客户为高消费客户。

这里与5.1中的案例不同,需要IF函数与逻辑函数进行配合

【AND函数】=AND(条件1,条件2,…)

【OR函数】=OR(条件,条件2,…)

AND函数,需要所有条件全部满足,才返还TRUE,OR函数,所有条件中只要有1个条件满足,就返还TRUE

针对遇到的问题,那么在D2单元格中输入

=IF(AND(B2>400,C2>400),”高消费客户”,””) —–> 这里””代表返回空值

随后对整列的函数进行填充,具体填充方法见5.1中详解

2.ifs函数#

打开文件data/chap4/4.1.xlsx,点击【案例3】,有员工的相关考核分,考核得分在4.8分以上,优秀;考核得分在3.5-4.7分,良好;考核得分在0-3.4分,一般。

这里可以使用IFS函数,具体用法为

【IFS函数】=IFS(判断条件1,如果满足条件1则,判断条件2,如果满足条件2则)

针对遇到的问题,则可以在C2单元格输入

=IFS(B3<=3.4,”一般”,AND(B3>=3.5,B3<=4.7),”良好”,B3>=4.8,”优秀”)

对整列数据进行函数填充

3.sumif函数#

在Excel数据任务处理中,会遇到大量的求和的任务,SUMIF函数在求和任务中具有天然优势,因此在本节中将详细的讲解SUMIF函数的相关用法

【SUMIF函数】=SUMIF(条件区域,求和条件,[实际求和区域]) —>实际求和区域位选择条件

案例1#

打开data/chap4/4.2xlsx中的【案例1】现在有几名同学的考试成绩,现在想统计数学成绩在90分以上的成绩之和

那么可以输入如下的函数公式

=SUMIF(B:B,”>=90”,B:B)

第一个参数为条件区域,因为要判断数学成绩,所以这里选择B列,当然这里也可以修改为实际的区域B2:B12

第二个参数为判定条件,判定条件为大于等于90

第三个参数为实际求和区,这是选填参数

案例2#

打开data/chap4/4.2xlsx中的【案例2】,现在想统计小米系列的产品销售额

SUMIF函数支持模糊匹配,因此我们输入如下公式

=SUMIF(B:B,”小米*”,C:C)

使用小米*匹配所有的小米系产品

案例3#

打开data/chap4/4.2xlsx中的【案例3】,现在想统计1月-3月的预计销售额预计销售和实际销售额

因此可以巧用SUMIF函数,将条件区域进行横向选择,条件选择自己需要的字段,因此输入如下两个函数公式,并向下拖拽填充其他位置

=SUMIF($B$2:$G$2,I$2,B3:G3)

=SUMIF($B$2:$G$2,H$2,B3:G3)

$在Excel中是绝对引用,公式中引用的单元格如果使用绝对引用 $,那么向下拖拽的过程中,这个单元格不会增加。

例如,在J3单元格中输入=C3,在K3单元格中输入=$C$3并向下拖拽进行公式填充,观察区别

发现,如果使用绝对引用,引用格式值并不会随着公式的拖拽而改变,这就是绝对引用与非绝对引用的区别。

案例4#

打开data/chap4/4.2xlsx中的【案例4】,现在需要统计语文成绩在80分以上,90分以下同学的数学成绩之和

那么遇到这种情况应该怎么处理呢?相比于前面的案例,这里有2个筛选条件,而SUMIF函数无法满足需求,这里可以使用SUMIFS函数

【SUMIFS函数】=SUMIFS(条件区域1,条件1,条件区域2,条件2)

因此写如下函数公式

=SUMIFS(C2:C13,B2:B13,”>80”,B2:B13,”<90”)

因为要求数学成绩,所以第一个参数为C2:C13,而筛选条件为语文,因此条件区域为B2:B13

4.countifs函数#

打开data/chap4/4.2xlsx中的【案例5】,现在需要统计语文成绩超过60,数学成绩超过65,英语成绩超过70的同学个数

那么遇到这种情况应该怎么处理呢?其实countifs函数与sumifs函数用法非常接近,求满足所有条件的个数

【COUNTIFS函数】=COUNTIFS(条件区域1,条件1,条件区域2,条件2)

因此写如下函数公式

=COUNTIFS(B2:B13,”>60”,C2:C13,”>65”,D2:D13,”>70”)

练习#

1.选择data/chap4/4.1.xlsx工作簿中的【案例1】,将客户原始得分为1以下的校正为0

2.选择data/chap4/4.1.xlsx工作簿中的【案例2】,客户1月2月中只要有1个月消费超过400,即为”高消费客户”

3.选择data/chap4/4.1.xlsx工作簿中的【案例3】,能否不使用IFS函数,使用IF函数通过嵌套完成相应的务。

4.打开data/chap4/4.2xlsx中的【案例1】语文成绩在80分以上的同学成绩之和

5.打开data/chap4/4.2xlsx中的【案例2】统计所有苹果系列产品的销售额

6.打开data/chap4/4.2xlsx中的【案例6】完成所有手机的销售额求和

================================================ FILE: docs/Content/chap5.html ================================================ 第五章 Excel函数-文本函数 — free-excel

第五章 Excel函数-文本函数#

1.Text函数#

Text函数可以将数值转换为指定格式的文本,其语法格式为TEXT(value,format_text)

【TEXT函数】=TEXT(值,自定义数字格式代码)

案例1#

打开data/chap5/5.1.xlsx,点击【案例1】,将客户的消费日期和消费金额转成大写

针对遇到的问题,那么在D2单元格中输入

=TEXT(C2,”[DBNUM2]”) —-> 注意,这里的逗号要使用英文的逗号

在E2单元格中输入

=TEXT(A2,”[DBNUM1]yyyy年m月d日”)

DBNUM1和DBNUM2为2种常见的中文格式,一般金额用DBNUM2,日期用DBNUM1

案例2#

打开data/chap5/5.1.xlsx,点击【案例2】,将客户的消费日期转换为周次,即星期几

针对遇到的问题,那么在D2单元格中输入

=TEXT(A2,”aaaa”)

案例3#

打开data/chap5/5.1.xlsx,点击【案例3】,取客户消费的年、月、日

针对遇到的问题,那么在D2单元格中输入

=TEXT(A2,”yyyy”) 或者 =TEXT(A2,”e”)

在E2单元格中输入

=TEXT(A2,”m”) 或者 =TEXT(A2,”mm”) 注意.这2种格式是有区别的

在F2单元格中输入

=TEXT(A2,”d”) 或者 =TEXT(A2,”dd”)

2.mid函数#

打开data/chap5/5.2.xlsx,点击【案例1】,提取身份证中的生日,并转换成2022年12月4日这种格式

面对这个问题,可以使用mid函数提取生日

【MID函数】=MID(text,startnum,numchars)

test:为要提取的文本字符串

start_num:为文本中要提取的第一个字符串的位置

num_chars为提取字符串的长度

因此可以在B2中输入 因为生日是8位数字,所以最后一个参数填8

=MID(A2,7,8)

在C2中输入格式化的生日

=TEXT(MID(A2,7,8),”0000年00月00日”)

问题:这里TEXT函数格式为什么没有使用yyyy年mm月dd日 这种格式?

因为MID(A2,7,8)提取出来的是文本,不是日期,因此Excel无法识别日期的年月,所以用数字格式进行代替

文本提取中相似的函数有LEFT,RIGHT

LEFT函数,以字符串左侧为起始位置,返回指定数量的字符

【LEFT函数】=MID(text,,num_chars)

text:要提取的字符串或单元格引用; num_chars:要提取的字符数量

RIGHT函数,从字符串右侧首字符开始,从右向左提取指定的字符,其功能和LEFT函数完全一样,只是方向不同

【RIGHT函数】=MID(text,num_chars)

text:要提取的字符串或单元格引用; num_chars:要提取的字符数量

3.replace函数#

打开data/chap5/5.2.xlsx,点击【案例2】,现在需要将Excel表格打印,为了不泄露客户电话号码,需要将电话后5位进行屏蔽

REPLACEI函数作用:把一个文本字符串,人为指定一个位置,用定个数新字符进行替换。

【REPLACEI函数】=REPLACEI(oldtext,startnum,numchars,newtext)

old_text:需要替换的文本

start_num:需要替换文本的开始位置

num_chars:替换文本的长度

new_text:替换内容

因此可以在B2单元格中输入

=REPLACE(A2,11,5,”#####”)

练习#

1.完成data/chap5/5.1.xlsx工作簿中的【案例1-3】

2.完成data/chap5/5.2.xlsx工作簿中的【案例1】中身份证后6位加密

================================================ FILE: docs/Content/chap6.html ================================================ 第六章 Excel函数-查找函数 — free-excel

第六章 Excel函数-查找函数#

VLOOKUP是经典的查找与引用函数,在Excel数据查询任务中有多种用途。XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,非常推荐大家使用XLOOKUP函数,如果自己的电脑Excel不是最新版不支持XLOOKUP函数,也可以来学习VLOOKUP函数。

在本节教程中会重点介绍XLOOKUP函数的相关用法,对于VLOOKUP不好解决,XLOOKUP能解决的问题放在了【案例5】、【案例6】、【案例7】

1.VLOOKUP#

案例1#

打开文件data/chap6/6.1xlsx,点击【案例1】,根据岗位编号,得到该员工的应发工资

针对这个问题,可以使用VLOOKUP函数

【VLOOKUP函数】=VLOOKUP(要查找的值,查找区域,要返回的结果在查找区域的第几列,精确匹配或近似匹配)

在L3单元格中输入如下公式

=VLOOKUP(K2,A2:H50,8,FALSE)

因为应发工资在整个单元格中的第8列,所以第3个参数为8,第4个参数选择TRUE或者FALSE,TRUE为模糊匹配,FALSE为精确匹配,因此第4个参数选择为FALSE, 有的EXCEL版本第4个参数是0是精确查找,1是精确匹配,根据实际情况输入即可。

案例2#

打开文件data/chap6/6.1xlsx,点击【案例2】,根据岗位编号,得到该员工的应发工资

在案例2的任务中我们发现,这里的员工的编号位于最后一列,那么应该如何处理呢?

如果按照正常的VLOOKUP的函数用法在L2单元格输入=VLOOKUP(K2,A2:H19,7,FALSE),输入后会发现并没有安装预期得到应发工资。

这是因为VLOOKUP函数的限制,必须查找的区域在被查找值的左侧,当然这里有其他的办法解决。

这里用到了换列的小技巧,如果感兴趣可以看相关文章,Excel技巧:一文搞懂 IF{1,0} 的用法

那么在L2中输入如下函数

=VLOOKUP(K2,IF({1,0},H2:H19,G2:G19),2,FALSE)

这个函数中,将G2:G17列与H2:H19列做成了一个临时数据组,并让这2列交换位置,这样G2:G19列就在临时数组中的第2列,因此VLOOKUP中第3个参数为2

案例3#

打开文件data/chap6/6.1xlsx,点击【案例3】,根据性别与部门信息,获得员工编号

案例3的任务与前面不同的是,无法只通过1个信息完全定位到员工编号,因此这里使用了一个技巧,在L3单元格中输入

=VLOOKUP(J2&K2,IF({1,0},C2:C20&D2:D20,A2:A20),2,0)

细心的同学可能发现了其中的技巧,就是将多个条件通过&连接成一个字符串,同时将待查找的数据也连接起来,从而通过这个连接的特殊字符来查找数据

案例4#

打开文件data/chap6/6.1xlsx,点击【案例4】,当不知道具体的信息,需要进行模糊查询

那么如何使用VLOOKUP进行模糊查询呢?

=VLOOKUP(“*”&K2,A2:F20,2,0)

Excel中的通配符匹配规则见如下,因为DW为2个字符,我们选择*

还记得第四章中的SUMIFS函数中的案例,计算小米系列的销量中,我们就使用了通配符

2 XLOOKUP#

XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,非常推荐大家使用XLOOKUP函数,如果不能支持这个函数也不用灰心,使用VLOOKUP函数也能完成绝大多数查询问题

因为XLOOKUP函数功能非常强大,因此在本节中对函数进行讲解

【XLOOKUP函数】==XLOOKUP(想要查找值, 想要在哪个数据区域中查找, 要返回的数据区域,, [ifnotfound], [matchmode], [searchmode])

第四参数(可选参数):ifnotfound,找不到结果,就返回第四参数,如果省略第四参数函数默认返回#N/A这个错误值

第五参数(可选参数):match_mode,指定匹配类型

参数为:0 ,精确匹配,未找到结果,返回 #N/A。 这是默认选项。

参数为:-1,近似匹配,未找到结果,返回下一个较小的项。

参数为:1,近似匹配,未找到结果,返回下一个较大的项。

参数为:2 ,通配符匹配

第六参数(可选参数):search_mode, 指定要使用的搜索模式

参数为:1,从第一项开始执行搜索。 这是默认选项。

参数为:-1,从最后一项开始执行反向搜索。

参数为:2,根据 lookup_array 按升序排序的二进制搜索。 如果未排序,将返回无效结果。

参数为:-2,根据lookup_array 按降序排序的二进制搜索。 如果未排序,将返回无效结果。

案例1#

打开文件data/chap6/6.1xlsx,一起来实现【案例1】

我们在M2单元格中输入如下公式

=XLOOKUP(K2,A1:A50,H1:H50)

第1个K2 就是需要查询的岗位编号DW0005

第2个参数为A1:A50,也就是要查哪一列,细心的同学已经注意到这里与VLOOKUP的不同

第3个参数就是需要返回的哪一列,也就是返回H列

案例2#

打开文件data/chap6/6.1xlsx,一起来实现【案例2】

我们在L2单元格中输入如下公式

=XLOOKUP(J2,H1:H19,G1:G19)

细心的同学就发现上面的公式中没有用到列的转换,这个公式的可读性非常强,这是就是XLOOKUP比VLOOKUP更加强大的地方

案例3#

打开文件data/chap6/6.1xlsx,一起来实现【案例3】

我们在M2单元格中输入如下公式

=XLOOKUP(J2&K2,C1:C20&D1:D20,A1:A20)

在XLOOKUP中的多条件查找,只需要使用&,将多个条件的信息连接起来即可,非常的方便

案例4#

打开文件data/chap6/6.1xlsx,一起来实现【案例4】

我们在M2单元格中输入如下公式

=XLOOKUP(“*”&K2,A2:A20,B2:B20,,2)

在使用XLOOKUP进行通配符查找事,需要指定第5个参数为2,即告诉XLOOKUP需要用通配符进行查找,这里是好VLOOKUP不同的地方

具体通配符用法,可见1.4的讲解

案例5#

打开文件data/chap6/6.1xlsx,一起来实现【案例5】,姓名6在数据表中出现了2次,想知道他的最后销售额应该怎么操作?

我们在I2单元格中输入如下公式

=XLOOKUP(H2,B1:B20,F1:F20,0,0,-1)

前3个参数想必大家已经很熟悉了,第4个参数是0,就是当XLOOKUP查找不到时,就返回0,第5个参数是0,就是选择精确匹配,第6个参数选择搜索参数,这里选择-1,从后开始往前搜索,因此这样设置就能获得正确结果。

案例6#

打开文件data/chap6/6.1xlsx,一起来实现【案例6】,这里有4个人,现在想知道这4个人的最大销售额

=MAX(XLOOKUP(H2:H5,B2:B20,F2:F20,0,0,1))

先通过XLOOKUP批量查找这4个人销售额,再通过MAX函数,求这4个人中的最大的销售额。

案例7#

打开文件data/chap6/6.1xlsx,一起来实现【案例7】,当数据集以横向形式时,如果查询到需要的数据

在C2单元格中输入如下公式

=XLOOKUP(B6,B2:L2,B1:L1)

细心的同学发现,横向数据的查询方法与纵向数据并无太大区别

练习#

1.选择VLOOKUP和XLOOKUP这2种函数中的一种,完成data/chap6/6.1xlsx中的【案例1-4】

================================================ FILE: docs/Content/chap7.html ================================================ 第七章 Excel函数-动态函数 — free-excel

第七章 Excel函数-动态函数#

在本节中会讲解一些Excel更新的动态函数,从而帮助大家更好的掌握Excel的数据处理与分析

1.FILTER函数#

在工作中,我们需要根据指定的条件,将符合条件的所有记录从数据源表格式查找过来,一是可以用高级筛选。但高级筛选在查询下一个单位时 ,需要重新设置一次,很麻烦。二是用函数公式查询。典型的套路有:INDEX+SMALL+ROW、或者LOOKUP+COUNTIF+OFFSET,而这样的方法对初学者非常不友好,而EXCEL新更新的感受FILTER可以很好的解决这个问题。

【FILTER】函数=FILTER(数据区域,筛选条件,[无满足条件的记录时返回的值])

接下来就看看FILTER的实际应用案例

案例1#

打开data/chap7/7.1xlsx中的【案例1】

获得湖北区的相关数据

在J2单元格中输入

=FILTER(A2:G30,C2:C30=”湖北区”) 注意数据区域不包含标题

生成的数据的动态数组(WPS由于不兼容动态数组,稍微和Excel有点区别,会产生数据溢出的情况)

案例2#

打开data/chap7/7.1xlsx中的【案例1】

如果在实际的任务中不需要所有的列,只需要其中的几行,那么应该怎么操作?

可以在K2单元格中输入

=FILTER(F2:G30,C2:C30=”湖北区”)

细心的同学就发现了这里与7.1.1中的不同,如果需要返回其中的几行,只需要将数据区域修改为自己需要的区域即可

现在需要知道湖北区的最大销售金额是多少

=MAX(FILTER(F2:F30,C2:C30=”湖北区”))

案例3#

打开data/chap7/7.1xlsx中的【案例1】

FILTER函数中的多条件筛选,使用+来表示或,使用*表示且

例如,需要计算湖北区、湖南区大最大销售金额,那么函数公式为

=MAX(FILTER(F2:F30,(C2:C30=”湖北区”)+(C2:C30=”湖南区”)))

例如,需要计算湖北区商品2的最大销售金额,那么函数公式为

=MAX(FILTER(F2:F30,(C2:C30=”湖北区”)*(D2:D30=”商品2”)))

2.SUBTOTAL函数#

Excel中有数据筛选非常好用,那么,如果想统计筛选后的结果应该怎么弄?例如想知道筛选后的销售总额

打开data/chap7/7.2xlsx中的案例1,使用筛选选择不同的区,而SUM求和并没有变化

如果想实现上述需求,可以使用【SUBTOTAL函数】

【SUBTOTAL函数】=SUBTOTAL(功能函数,选择区域)

功能函数

数字 1-11 或 101-111,用于指定要为分类汇总使用的函数。 如果使用 1-11,将包括手动隐藏的行,如果使用 101-111,则排除手动隐藏的行;始终排除已筛选掉的单元格。详见附件1

在J2单元格中输入如下公式

=SUBTOTAL(9,F2:F21)

可以看到SUBTOTAL对筛选的数据列进行正确的求和,而SUM无法跟随选择的数据列进行正确求和

【附件1】

练习#

1.打开data/chap7/7.1xlsx中的【案例1】计算河北区中商品1的最小销售额

2.打开data/chap7/7.1xlsx中的【案例1】计算湖北中什么渠道下的什么商品具有最高销售额

================================================ FILE: docs/Content/chap8.html ================================================ 第八章Excel数据可视化 — free-excel

第八章Excel数据可视化#

对于Excel中的数据可视化,相信各位读者应该能很熟练的使用,使用Excel汇总各种类型图,包括柱状图、折线图等等,从而让数据进行图形化展示。基于此,本节中对Excel中的数据作图部分不做展开讲解,本节更加偏重于讲解另一类辅助数据可视化的部分。

1.条形图#

打开data/chap8/8.1xlsx中的【案例1】,现在有湖北区2022/01/01的不同商品的销售额,怎么更加直观的展示销售额之间的差别呢?

这里可以使用条形图对销售的金额进展可视化展示

选择【开始】–>【条件格式】–>【数据条】

通过对销售金额进行数据条的填充,读者可以很快锁定湖北区2022/01/01销售额中,韩闲具有最高销售额为9442

如果只想显示条形图,不想显示金额应该如果操作?

选择条形图区域—>条件格式—>管理规则

打开管理规则后可以看到,选择设置的规则,点击编辑规则

选择仅显示数据条,当然可以在颜色的地方选择自己喜欢的颜色

选择之后得到如下效果

2.条件单元格格式#

打开data/chap8/8.2xlsx,现在有不同业务员向客户推销商品的相关信息,现在需要将截止日期还没有过今天的标注出来,应该如何操作?

EXCEL中【TODAY】函数可以获得当前日期

这里,可以使用Excel中的条件格式进行自动识别

1.选择需要设置条件的列;

2.选择条件格式;

3.选择新建规则

这里选择使用公式确定要设置格式的单元格

因为选择的区域为B2:B10 因此输入的公式满足B2要求,剩余的单元格会自动填充,因此输入的公式为

=B2>TODAY()

接下来设置单元格的格式,在本节示范中选择对满足条件的单元格填充为黄色,得到如下效果图

3.迷你图#

打开data/chap8/8.3.xlsx中原始数据,现在知道不同业务员1-12月的销售额,且销售额最差月份以及业务员的销售额的变化趋势,应该怎么操作?

1.确定销售额最差月份

这里可以使用XLOOKUP公式,具体公式为

=XLOOKUP(MIN(B2:M2),B2:M2,$B$1:$M$1)

2.在B2插入新的单元格,命名为趋势图

点击插入,找到迷你图部分,选择折线,数据范围选择为C2:N13,防止迷你图的位置选择在B2:B13单元格

生成迷你图后,可以在显示处,调整迷你图显示的重要点,这里显示折线中的最低点,通过图中可以看到,蔡勇仁的销售业绩趋势是不断下降,而江宁寒的销售业绩不断上升,迷你图能够很好的展示原数据与数据变化的趋势情况

练习#

1.选择data/chap8/8.2.xlsx工作簿中的【案例1】,对拜访客户数大于5以上的业务员进行黄色填充

================================================ FILE: docs/Content/chap9.html ================================================ 第九章Excel数据透视 — free-excel

第九章Excel数据透视#

数据透视是Excel中个强大的数据处理和分析工具,能够快速实现数据的汇总与统计分析,本节重点讲解Excel数据透视的相关操作

1.Excel数据透视表#

打开data/chap9/9.1.xlsx中的数据源,现在对数据源进行数据透视

1.选择插入

2.选择数据透视表

3.选择表格区域

4.选择数据透视表放置的位置

可以看到,在新的数据表中出现了数据透视表

例如,想知道不同月份的不同区域销售金额统计情况,可以将区域置于列,月置于行,金额的求和项置于值,即可得到不同区域不同月份的销售金额之和

如果又想知道不同店员的销售额怎么办呢?

1.点击数据透视表分析

2.点击插入切片器

3.选择插片器的字段

点击不同的店员,可以直接统计该店员的销售额,这里的插片器相当于直接筛选店员的数据做统计。如果想统计多个店员的数据,可以点击切片器的多选项,可以同时统计多个店员的数据。

2.Excel数据透视图#

打开data/chap9/9.1.xlsx中的数据源,现在对数据源进行数据透视图

1.选择插入

2.选择数据透视图

3.选择创建数据透视图,选择数据源作为数据区域

4.选择新工作表

选择月为类别,选择区域为图例,选择金额求和作为值,得到如下透视图

如果,想切换透视图的类型,可以选择不同的图像类型,例如我们想知道不同月份销售的变化趋势,可以选择为折线图

当然数据透视图也支持插片器,同样是选择店员作为切片的条件

练习#

1.选择data/chap9/9.1.xlsx工作簿中的【数据源】绘制不同的透视图

================================================ FILE: docs/Content/index.html ================================================ 教程 — free-excel
================================================ FILE: docs/Datawhale.html ================================================ Datawhale — free-excel

Datawhale#

Datawhale 是一个专注于 AI 领域的开源组织,希望构建对学习者最有价值的开源社区。

作为一个由国内外各个高校的教授、学生、企业从业者等创建的开放式组织形态,抱有开源精神和探索精神,愿景:for the learner,和学习者一起成长。

Datawhale官网:https://datawhale.club/

微信公众号#

_images/datawhale.jpg
================================================ FILE: docs/_sources/Content/chap1.rst.txt ================================================ 第一章 Excel与数据格式 ====================== 1.数据缘何而来 -------------- Execel是我们常见的用来进行数据处理的工具,其中Excel文件主要包含有2种格式分别是\ ``xls``\ 或\ ``xlsx``\ ,\ ``xls``\ 和\ ``xlsx``\ 主要区别如下: .. figure:: ../_static/chap1/1.0.png :alt: 因此,推荐大家使用最新版本的Excel或者WPS进行相关的学习与操作。 1.1 了解Excel ~~~~~~~~~~~~~ Excel文每个数据文件叫做工作簿,每个工作簿里面含有多个工作表,每个工作表里面的格子叫做单元格。 在Excel中点击新建文档后,Excel默认的文档名称是工作簿1,也就是一个Excel文档,就是一个工作簿 .. figure:: ../_static/chap1/1.1.png :alt: 在新建的工作簿中,可以看到左下方有\ ``Sheet1``\ 的标签,每个工作簿里面可以含有多个工作表,Excel表中最大支持255个工作表 .. figure:: ../_static/chap1/1.2.png :alt: 单元格就是工作表中间每一个格子 .. figure:: ../_static/chap1/1.3.png :alt: 在Excel最上方是工具栏,如果希望在Excel中导入第三方插件,可以点击\ ``文件``-->\ ``选项``-->\ ``自定义功能区``\ 点击右侧的√,即可导入相关模块 .. figure:: ../_static/chap1/1.5.gif :alt: 1.2 Excel存储格式 ~~~~~~~~~~~~~~~~~ Excel中的数据可以存储为不同的类型格式,其中常用的存储类似分别是xlsx、csv以及txt,一般情况下,csv文件采用是逗号分隔,txt文件采用的是制表符作为分隔,例如\ ``data/chap1/Titanic_normal.csv``\ 和\ ``data/chap1/Titanic_tab.txt``\ ,而在较为特殊的情况下,数据的分隔符合可能不是常规的分隔符合,例如\ ``data/chap1/Titanic_special.txt``\ ,使用记事本打开这个文件发现文件采用\ ``|``\ 作为分隔的符合,那么这样的文件如何使用Excel打开呢? .. figure:: ../_static/chap1/1.6.png :alt: 这里推荐大家使用以下的操作方案,操作路径为菜单栏选择:\ **数据-->获取和转换数据-->从文件/CSV** .. figure:: ../_static/chap1/1.7.gif :alt: \ 点击\ **加载**\ 后可以看到我们导入的数据集,接着按快捷键\ ``ctrl+s``\ 保存工作簿到本地。 至此我们已经成功加载数据集到工作表当中,需要注意的是此时构建的数据表跟原始数据是存在连接关系,更改csv文件的数据后在点击路径:\ **设计-外部表数据-刷新**\ 后就可以更新工作表数据。如果要取消链接关系则点击路径:\ **设计-外部数据表-取消链接**\ 即可。 2.Excel数据格式 --------------- 2.1 单元格数据类型 ~~~~~~~~~~~~~~~~~~ 打开\ ``data/chap1/2.1.xlsx``\ 文件,点击【单元格数据类型】工作表,可以看到Excel有11种数据类型 .. figure:: ../_static/chap1/2.1.png :alt: 在平时工作和学习中常见的数据类型有3种分别是数字、文本和日期,接下来就详细讲解这3种格式的相关应用 2.1.1 数字 ^^^^^^^^^^ 数值是单元格最常见的数据之一,12位数的时候会以科学计数法显示。 打开\ ``data/chap1/2.1.xlsx``\ 文件,点击【真假数字】工作表看到展示的是真假数值列,真数值默认情况下是右对齐(方便观测数据位数),假数值是数值型文本属于\ **文本**\ ,左上角会有个绿色三角错误检查,当数据是文本时,无法完成数字运算操作。 .. figure:: ../_static/chap1/2.2.png :alt: Excel会自带数据纠错功能,点击黄色感叹号可以看到,将文本转出数字,或者使用\ ``=VALUE()``\ 函数将文本转成数字 .. figure:: ../_static/chap1/2.3.gif :alt: 2.1.2 文本 ^^^^^^^^^^ 文本为Excel中的常见格式,主要为文本字符串,例如下图就是典型的文本数据。当数据是文本类型时就可以完成文本数据相关操作。 .. figure:: ../_static/chap1/2.4.png :alt: 2.1.3 日期 ^^^^^^^^^^ Excel中的标准日期由年月日组成的数据,例如\ ``2021/1/1``\ ,同时日期又是很特殊的数值,在Excel里面日期最早是1900年1月1日,对应的数值为1,通过两日期相减可以得到日期相差的天数。需要注意的是如果是\ ``2021-01-01``\ 的数据就要看是否实际数据为\ ``'2021/1/1'``\ ,否则为文本型日期,需要进行转换才行。观察下图真假日期,可以发现真日期右对齐,假日期左对齐(内容跟显示的一致),真日期转格式可以看到单元格数据仍然是真日期格式(内容跟显示不一致)。 .. figure:: ../_static/chap1/2.5.gif :alt: 2.2 单元格格式 ~~~~~~~~~~~~~~ 设置单元格格式可以点击单元格后,\ **右键-设置单元格格式**\ 选项,或者按快捷键\ **ctrl+1**\ ,或者通过工具栏:\ **开始-数字**\ 去快速做更改。单元格可以设置的格式类型包括: - 数字:调整数值格式或者日期格式。 - 对齐:调整对齐方式。 - 字体:更改字体、字型、字号等。 - 边框:单元格边框设置。 - 填充:填充单元格背景颜色,标注数据经常使用。 - 保护:锁定单元格或者隐藏公式。 2.2.1 数值格式 ^^^^^^^^^^^^^^ 设置单元格格式分类选择数值,对数值设置小数点一般保留两位,同时能让数值对齐,使用千分位分隔符能更容易观察数值大小。 2.2.2 文本格式 ^^^^^^^^^^^^^^ 文本常见的设置格式用于对文本进行加单引号、双引号或者逗号的情况。 例如对真假日期中的假日期增加单引号 .. figure:: ../_static/chap1/2.7.gif :alt: 2.2.3 日期格式 ^^^^^^^^^^^^^^ 通过日期分类调整日期格式为年-月-日,需要注意的是文本型的日期格式无法调整,而数值是可以调整为日期。 .. figure:: ../_static/chap1/2.8.png :alt: 2.3 转换单元格数据 ~~~~~~~~~~~~~~~~~~ 2.3.1 数值和文本相互转换 ^^^^^^^^^^^^^^^^^^^^^^^^ 打开\ ``data/chap1/2.1.xlsx``\ ,将数值转换成文本 .. figure:: ../_static/chap1/2.9.gif :alt: 2.3.2 日期和文本相互转换 ^^^^^^^^^^^^^^^^^^^^^^^^ 打开\ ``data/chap1/2.1.xlsx``\ ,将不规范日期转成规范日期,然后转成文本 .. figure:: ../_static/chap1/2.10.gif :alt: 练习 ---- 1. 使用Excel数据导入功能,完成\ ``data/chap1/Titanic_normal.csv``\ 和\ ``data/chap1/Titanic_train.txt``\ 数据导入 2. 完成\ ``data/chap1/2.1.xlsx``\ 中案例1-4中的问题 ================================================ FILE: docs/_sources/Content/chap10.rst.txt ================================================ 第十章Excel看板 =============== 数据看板作为数据动态展示的一种重要方式,被广泛的应用于各个领域,因此本节根据1个案例讲解使用Excel制作数据看板的过程,以期起到抛砖引玉的效果,在学习技能的同时也将其应用到实践的工作中 1.业务背景 ---------------------- 打开\ ``data/chap10/10.1.xlsx``\ 中的数据源,这是某厂家在淘宝、拼多多、京东这3个电商销售平台的销售数据,现在你是这个厂家的员工,老板想知道商品在不同渠道的每周销售情况,想请你做一个数据周报看板。 .. figure:: ../_static/chap10/10.1.png :alt: 2.实现分析 ---------------------- 1.既然是周报看板,需要确定每天日期所在周数与每周的第几天 2.根据确定周数对销售金额进行汇总 3.对销售金额进行动态展示 3.实现过程 ---------------------- 1.确定周数 ~~~~~~~~~~~ 确定日期所在的周数用【WEEKNUM函数】,确定日期是第几周可以用【WEEKDAY函数】 在H2单元格输入 **=WEEKNUM(B2,2)** 在I2单元格输入 **=WEEKDAY(B2,11)** (如果想得到中文星期几 可以输入 =TEXT(B2,"aaaa")) .. figure:: ../_static/chap10/10.2.gif :alt: 2.销售基础整理 ~~~~~~~~~~~ 新建1个工作表,确定动态数据的变量为周数,并确定需要计算的指标,本周开始日期、介绍日期、销售额、订单数、上周销售额、上周订单数、销售额变化、订单数变化 使用公式求解相关的基础数据 在C3单元格输入公式\ ``=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001)`` 如果发现数据日期变成了44200,显然就是格式不正确,只需要将单元格的格式转为日期即可 .. figure:: ../_static/chap10/10.3.gif :alt: 在C4单元格输入公式\ ``=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001,0,0,-1)`` .. figure:: ../_static/chap10/10.4.gif :alt: 对于本周的销售额,可以使用SUMIFS函数获得 ,在C5单元格中输入 ``=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)`` .. figure:: ../_static/chap10/10.5.gif :alt: 对于本周的订单数,可以使用COUNTIFS函数获得 ,在C6单元格中输入 ``=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)`` .. figure:: ../_static/chap10/10.6.gif :alt: 对于上周开始日期,可以使用本周开始日期-7,在E3单元格中输入 ``=C3-7`` 对于上周结束日期,可以使用本周结束日期-7,在E4单元格中输入 ``=C4-7`` 对于上周销售额,可以使用SUMIFS函数获得 ,在E5单元格中输入 ``=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)`` 对于上周的订单数,可以使用COUNTIFS函数获得 ,在E6单元格中输入 ``=COUNTIFS(数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)`` .. figure:: ../_static/chap10/10.7.gif :alt: 对于相比上周销售额变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C7单元格中输入 ``=TEXT(((C5-E5)/E5)*100,"0.00")&"%"`` 对于相比上周订单数变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C8单元格中输入 ``=TEXT(((C6-E6)/E6)*100,"0.00")&"%"`` 当然也可以直接设置单元格格式为【百分比】 .. figure:: ../_static/chap10/10.8.gif :alt: 当然这个【相比上周销售额变化】指标是一个比较重要的指标,可以对这个指标进行格式设置 选择C6单元格并设置条件格式,判断C5单元格与E5单元格值的大小,如果C5>=E5,那么C6单元值为红,否则为绿色 .. figure:: ../_static/chap10/10.9.gif :alt: 3.周销售数据变化趋势 ~~~~~~~~~~~ 对于每周的数据需要做一个统计,并对每周数据的下单金额与下单数进行整理 装B13-B19单元格输入星期数 现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式 ``=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&'计算过程'!B13)`` 现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式 ``=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&'计算过程'!B13)`` .. figure:: ../_static/chap10/10.10.gif :alt: 接下来就对数据进行可视化展示 .. figure:: ../_static/chap10/10.11.gif :alt: 4.周销售渠道整理 ~~~~~~~~~~~ 对于每周的数据需要做一个统计,并对每周数据的渠道分布进行整理 装G3-G6单元格分别输入产品的电商渠道京东、拼多多、淘宝 在H3单元格中输入SUMIFS函数求不同渠道的销售金额,并进行向下填充 ``=SUMIFS(数据源!$F:$F,数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)`` 在I3单元格中输入COUNTIF函数求不同渠道的下单数,并进行向下填充 ``=COUNTIFS(数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)`` .. figure:: ../_static/chap10/10.12.gif :alt: 接下来就对数据进行可视化展示,将图片进行简单的美化,就可以得到下单金额饼状图与下单数的柱状图 .. figure:: ../_static/chap10/10.13.gif :alt: 5.看板绘制 ~~~~~~~~~~~ 完成了前面的全部计算后,接下来的工作就是将绘制的图结合在一起进行展示 首先是上述计算的数据与绘图的信息集合到一起 .. figure:: ../_static/chap10/10.13.png :alt: 其中本周的总销量、本周订单数、当前周数、开始日期以及结束日期都是引用计算过程中的值 本周总销量的值为\ ``=计算过程!$C$5`` 本周总订单的值为\ ``=计算过程!$C$6`` 本周周数的值为\ ``=计算过程!$C$2`` 本周的开始日期为\ ``=计算过程!$C$3`` 本周的结束日期为\ ``=计算过程!$C$4`` 因为本周的变化情况带有条件单元格式,因此不能直接引用,需要将其转化成链接图片的形式,具体操作为 1.复制C7单元格 2.粘贴选择链接的图片 .. figure:: ../_static/chap10/10.14.png :alt: 对于本周的周数,需要设置按钮方便调节 1.选择开发工具 2.选择插入,选择数值调节按钮 3.选择设置控件格式 4.设置控件的对应参数 .. figure:: ../_static/chap10/10.15.png :alt: 到这里就完成了看板90%的步骤,点击按钮,能看动态展示看板的相关数据 .. figure:: ../_static/chap10/10.16.png :alt: 最后就对看板进行相应的美化,在看板美化过程中也参考了其他EXCEL教程中的配色,因此最后的看板展示效果为 .. figure:: ../_static/chap10/10.17.png :alt: 练习 ---- 1.完成数据看板,需要通过按钮调节周数,同时销售额,订单数以及数据图进行变化 思考 ---- 1.为什么每周的介绍日期和开始日期都可以使用XLOOKUP获得 2.为什么每周1的下单金额之和可以通过SUMIF函数求 3.为什么设置按钮调节每周的数据变化,这样有什么好处 后记 ==== 行文至此,以上就是Free-excel教程的全部内容,整个教程的编写过程中也广泛的参阅了各式各样的Excel教程,尽力让本教程变得轻松易学,希望读者能掌握相关的Excel技巧,并能灵活的运用到工作中,面对数字化社会,数据将渗透到生活的点点滴滴,拥抱数字,同时也拥抱变化。 --作者:牧小熊,Datawhale成员,数据分析师 ================================================ FILE: docs/_sources/Content/chap2.rst.txt ================================================ .. _header-n0: 第二章 Excel的快捷操作 ====================== 在本节中我们将了解Excel中的各种快捷操作,目前已知的Excel快捷操作键有230个,本篇重点介绍那些常用的Excel快捷操作键。 .. _header-n2: 1.Excel快捷操作简介 ------------------- .. _header-n9: 1.1文件相关 ~~~~~~~~~~~ - ``Ctrl`` + ``N`` 创建一个新的Excel工作簿 - ``Ctrl`` + ``w`` 关闭当前工作簿 - ``Ctrl`` + ``S`` 保存当前的Excel工作簿 - ``F12`` 将当前文件进行另存为 - ``Ctrl`` + ``p`` 打印当前工作表 .. _header-n29: 1.2通用快捷键 ~~~~~~~~~~~~~ - ``Ctrl`` + ``z`` 撤销当前操作 - ``Ctrl`` + ``Y`` 恢复撤销,可以用这个快捷键恢复被撤消的操作 - ``Ctrl`` + ``C`` 复制所选单元格 - ``Ctrl`` + ``x`` 剪切所选单元格 - ``Ctrl`` + ``v`` 粘贴所选单元格 - ``Ctrl`` + ``F`` 弹出查找和替换对话框 - ``Ctrl`` + ``G`` 显示定位对话框 .. _header-n50: 1.3表格选择 ~~~~~~~~~~~ - ``Ctrl`` + ``A`` 全选表格 - ``Ctrl`` + ``→`` 移动到数据区域的右边缘 - ``Ctrl`` + ``←`` 移动到数据区域的左边缘 - ``Ctrl`` + ``↑`` 移动到数据区域的上边缘 - ``Ctrl`` + ``↓`` 移动到数据区域的下边缘 .. _header-n72: 1.4单元格编辑 ~~~~~~~~~~~~~ - ``F2`` 编辑当前单元格(跟双击单元格效果一致) - ``Alt`` + ``Enter`` 在当前单元格内换行 (直接按 ``Enter``\ 会跳转到下一行) - ``Enter`` 下移一个单元格 - ``Shift`` + ``Enter`` 上移一个单元格 - ``Tab`` 右移一个单元格 - ``Shift`` + ``Tab`` 左移一个单元格 - ``Ctrl`` + ``Enter`` 输入完成,并停留在当前单元格 - ``Ctrl`` + ``;``\ (分号) 输入当前日期(显示为年/月/日) - ``Ctrl`` +\ ``Shift`` + ``:`` 输入当前时间 (显示为小时/分钟) - ``Ctrl`` + ``E`` 快速填充 .. _header-n99: 1.5Excel格式化 ~~~~~~~~~~~~~~ - ``Ctrl`` + ``1``\ (数字1) 设置单元格格式 - ``Ctrl`` + ``B`` 加粗或取消加粗 - ``Ctrl`` + ``i`` 加斜体或取消斜体 .. _header-n116: 1.6Excel公式 ~~~~~~~~~~~~ - ``F4`` 绝对引用和相对引用切换 - ``Alt``\ +\ ``=`` 自动插入求和公式 .. _header-n3: 2.Excel快捷操作实践 ------------------- .. _header-n126: 2.1自动插入求和公式 ~~~~~~~~~~~~~~~~~~~ 打开文件\ ``data/chap2/2.1.xlsx``\ ,点击【案例1】 1.选中案例1中的表格区域(\ **注意这里要把汇总的那一行也选上**\ ) 2.使用快捷键\ ``Alt``\ +\ ``=`` ,自动插入求和公式,可以看到,对上述的Excel表格区域进行自动求和。 .. figure:: ../_static/chap2/2.1.gif :alt: .. _header-n4: 2.2自动进行列差异比对 ~~~~~~~~~~~~~~~~~~~~~ 打开文件\ ``data/chap2/2.2.xlsx``\ ,点击【案例1】,我们现在的任务是找到1月和2月客户数不同的区域,如何快速定位? 1.选中需要进行列差异比对的区域,注意选择顺序从左往右 2.使用快捷键\ ``ctrl``\ +\ ``\`` (**注意不是"/"**),可以快速定位到区域4、区域8以及区域10所对应的客户数不同 3.选择填充颜色,即可快速显示两列的差异 注意这里的选择方向,从右往左选择,那么默认最右边为参考标准,其他列的数据可参考标准比较,如果从左往右选择,那最左边就是参考标准,其他的操作同上。 .. figure:: ../_static/chap2/2.2.gif :alt: .. _header-n137: 2.3自动填充 ~~~~~~~~~~~ 在excel中很多重复、繁琐的工作由数据提取和数据合并这类问题造成,\ **2013年以后的Excel**\ 支持智能填充,能灵活的解决这类问题。需要注意的是,自动填充的数据需要是同一个规范数据才可以完成自动填充。 打开文件\ ``data/chap2/2.3.xlsx``\ ,点击【案例1】,需要提取客户的手机号 1.手动提取客户1的手机号,并输入到【B2】 2.选择需要快速填充的列,也就是【B2-B11】 3.按\ ``ctrl``\ +\ ``E``\ 进行自动填充 .. figure:: ../_static/chap2/2.3.gif :alt: .. _header-n167: 练习 ---- 1.完成\ ``data/chap2/2.1.xlsx``\ 工作簿中的【案例2】【案例3】的快捷键自动求和任务 2.完成\ ``data/chap2/2.2.xlsx``\ 工作簿中的【案例2】【案例3】的多行快速比对任务(提示:需要选中所有待比对表格框) 3.完成\ ``data/chap2/2.3.xlsx``\ 工作簿中的【案例2】【案例3】【案例4】的填充任务 ================================================ FILE: docs/_sources/Content/chap3.rst.txt ================================================ .. _header-n0: 第三章 Excel的表合并 ==================== 当遇到需要将多个表的行记录合并在一起的时候,我们一般会手动复制粘贴,这会带来很多重复繁琐的操作,并且容易出错,可以使用Excel的合并计算工具来快速完成。 .. _header-n4: 1.多表行合并 ------------ 打开文件\ ``data/chap3/3.1.xlsx``\ ,点击【案例1】可以看到有3个消费表格,每个客户的消费金额不同,现在需要你统计每个客户在消费的总金额。 一般的操作方法是将这3个数据复制粘贴,那么有没有更加优雅的方法呢?这里推荐使用合并计算 **1.选择需要汇总的单元格起点** **2.选择Excel中的数据栏** **3.找到数据栏中的合并计算块** **4.选择合并计算函数中的求和** **5.点击引用位置右侧的引用项** **6.选择第一个数据表所在的范围** **7.点击添加** **8.将3个数据表添加到所有引用位置** **9.选择标签位置信息** **10.点击完成** 可以看到完成了所有客户消费金额的求和计算~ .. figure:: ../_static/chap3/3.1.gif :alt: .. _header-n19: 2.多表列合并 ------------ 打开文件\ ``data/chap3/3.1.xlsx``\ ,点击【案例2】可以看到有3个不同的消费表格,每个客户的消费金额不同,现在需要你统计每个客户在3个不同消费的总金额。 使用合并计算选择3个不同项目的数据区域 .. figure:: ../_static/chap3/3.2.gif :alt: .. _header-n23: 练习 ---- 1.选择\ ``data/chap3/3.1.xlsx``\ 工作簿中的【案例1】得到不同客户的消费次数 2.选择\ ``data/chap3/3.1.xlsx``\ 工作簿中的【案例2】得到不同客户的不同项目的消费次数 ================================================ FILE: docs/_sources/Content/chap4.rst.txt ================================================ .. _header-n0: 第四章 Excel函数-逻辑判断 ========================= Excel中有着非常丰富的函数,这些函数能大幅度提升我们的工作效率,本节中会重点介绍一些常用的Excel函数。 .. _header-n4: 1.if函数 -------- 打开文件\ ``data/chap4/4.1.xlsx``\ ,点击【案例1】,现在需要对客户的原始得分进行校正,当客户的原始得分为负时,校正为0 针对上面遇到的问题,可以使用IF函数,Excel函数用法如下 【IF函数】\ **=IF(判断条件,如果满足则,如果不满足则)** 针对遇到的问题,那么在C2单元格中输入 **=IF(B2<0,0,B2)** ----> **注意,这里的逗号要使用英文的逗号** 那么这个公式是什么意思呢?判断B2单元格是不是小于0,如果是,则C2单元格为0,如果不是则返回B2单元格的值,可以看到C2单元格实际返回值为0,这是因为B2的值为-1,满足判断条件,因此C2单元格返回为0 那么如何进行公式批量填充呢? 这里推荐一个比较优雅的方法 1.在C2单元格写Excel公式 2.选择需要填充公式的区域,包括C2单元格 3.点击C2单元格,进入公式编辑状态 4.使用快捷键\ ``CTRL``\ +\ ``Enter``\ 进行批量填充 .. figure:: ../_static/chap4/4.1.gif :alt: 打开文件\ ``data/chap4/4.1.xlsx``\ ,点击【案例2】,现在有客户的1月、2月消费金额,如果客户2个月的消费金额都超过400,那么就认为这个客户为高消费客户。 这里与5.1中的案例不同,需要IF函数与逻辑函数进行配合 【AND函数】\ **=AND(条件1,条件2,...)** 【OR函数】\ **=OR(条件,条件2,...)** AND函数,需要所有条件全部满足,才返还TRUE,OR函数,所有条件中只要有1个条件满足,就返还TRUE 针对遇到的问题,那么在D2单元格中输入 **=IF(AND(B2>400,C2>400),"高消费客户","")** -----> 这里""代表返回空值 随后对整列的函数进行填充,具体填充方法见5.1中详解 .. figure:: ../_static/chap4/4.2.gif :alt: .. _header-n27: 2.ifs函数 --------- 打开文件\ ``data/chap4/4.1.xlsx``\ ,点击【案例3】,有员工的相关考核分,考核得分在4.8分以上,优秀;考核得分在3.5-4.7分,良好;考核得分在0-3.4分,一般。 这里可以使用IFS函数,具体用法为 【IFS函数】=IFS(判断条件1,如果满足条件1则,判断条件2,如果满足条件2则) 针对遇到的问题,则可以在C2单元格输入 **=IFS(B3<=3.4,"一般",AND(B3>=3.5,B3<=4.7),"良好",B3>=4.8,"优秀")** 对整列数据进行函数填充 .. figure:: ../_static/chap4/4.3.gif :alt: .. _header-n35: 3.sumif函数 ----------- 在Excel数据任务处理中,会遇到大量的求和的任务,SUMIF函数在求和任务中具有天然优势,因此在本节中将详细的讲解SUMIF函数的相关用法 【SUMIF函数】=SUMIF(条件区域,求和条件,[实际求和区域]) --->实际求和区域位选择条件 .. _header-n39: 案例1 ~~~~~ 打开\ ``data/chap4/4.2xlsx``\ 中的【案例1】现在有几名同学的考试成绩,现在想统计数学成绩在90分以上的成绩之和 那么可以输入如下的函数公式 **=SUMIF(B:B,">=90",B:B)** 第一个参数为条件区域,因为要判断数学成绩,所以这里选择B列,当然这里也可以修改为实际的区域B2:B12 第二个参数为判定条件,判定条件为大于等于90 第三个参数为实际求和区,这是选填参数 .. figure:: ../_static/chap4/4.4.gif :alt: .. _header-n47: 案例2 ~~~~~ 打开\ ``data/chap4/4.2xlsx``\ 中的【案例2】,现在想统计小米系列的产品销售额 SUMIF函数支持模糊匹配,因此我们输入如下公式 **=SUMIF(B:B,"小米*",C:C)** 使用小米*匹配所有的小米系产品 .. figure:: ../_static/chap4/4.5.gif :alt: .. _header-n53: 案例3 ~~~~~ 打开\ ``data/chap4/4.2xlsx``\ 中的【案例3】,现在想统计1月-3月的预计销售额预计销售和实际销售额 因此可以巧用SUMIF函数,将条件区域进行横向选择,条件选择自己需要的字段,因此输入如下两个函数公式,并向下拖拽填充其他位置 ``=SUMIF($B$2:$G$2,I$2,B3:G3)`` ``=SUMIF($B$2:$G$2,H$2,B3:G3)`` ``$``\ 在Excel中是绝对引用,公式中引用的单元格如果使用绝对引用 ``$``\ ,那么向下拖拽的过程中,这个单元格不会增加。 .. figure:: ../_static/chap4/4.6.png :alt: 例如,在J3单元格中输入\ ``=C3``\ ,在K3单元格中输入\ ``=$C$3``\ 并向下拖拽进行公式填充,观察区别 发现,如果使用绝对引用,引用格式值并不会随着公式的拖拽而改变,这就是绝对引用与非绝对引用的区别。 .. figure:: ../_static/chap4/4.7.gif :alt: .. _header-n63: 案例4 ~~~~~ 打开\ ``data/chap4/4.2xlsx``\ 中的【案例4】,现在需要统计语文成绩在80分以上,90分以下同学的数学成绩之和 那么遇到这种情况应该怎么处理呢?相比于前面的案例,这里有2个筛选条件,而SUMIF函数无法满足需求,这里可以使用SUMIFS函数 【SUMIFS函数】=SUMIFS(条件区域1,条件1,条件区域2,条件2) 因此写如下函数公式 **=SUMIFS(C2:C13,B2:B13,">80",B2:B13,"<90")** 因为要求数学成绩,所以第一个参数为C2:C13,而筛选条件为语文,因此条件区域为B2:B13 .. figure:: ../_static/chap4/4.8.gif :alt: .. _header-n71: 4.countifs函数 -------------- 打开\ ``data/chap4/4.2xlsx``\ 中的【案例5】,现在需要统计语文成绩超过60,数学成绩超过65,英语成绩超过70的同学个数 那么遇到这种情况应该怎么处理呢?其实countifs函数与sumifs函数用法非常接近,求满足所有条件的个数 【COUNTIFS函数】=COUNTIFS(条件区域1,条件1,条件区域2,条件2) 因此写如下函数公式 **=COUNTIFS(B2:B13,">60",C2:C13,">65",D2:D13,">70")** .. figure:: ../_static/chap4/4.9.gif :alt: .. _header-n78: 练习 ---- 1.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例1】,将客户原始得分为1以下的校正为0 2.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例2】,客户1月2月中只要有1个月消费超过400,即为"高消费客户" 3.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例3】,能否不使用IFS函数,使用IF函数通过嵌套完成相应的务。 4.打开\ ``data/chap4/4.2xlsx``\ 中的【案例1】语文成绩在80分以上的同学成绩之和 5.打开\ ``data/chap4/4.2xlsx``\ 中的【案例2】统计所有苹果系列产品的销售额 6.打开\ ``data/chap4/4.2xlsx``\ 中的【案例6】完成所有手机的销售额求和 ================================================ FILE: docs/_sources/Content/chap5.rst.txt ================================================ 第五章 Excel函数-文本函数 ========================= 1.Text函数 ---------- Text函数可以将数值转换为指定格式的文本,其语法格式为TEXT(value,format_text) 【TEXT函数】=TEXT(值,自定义数字格式代码) 案例1 ~~~~~ 打开\ ``data/chap5/5.1.xlsx``\ ,点击【案例1】,将客户的消费日期和消费金额转成大写 针对遇到的问题,那么在D2单元格中输入 **=TEXT(C2,"[DBNUM2]")** ----> **注意,这里的逗号要使用英文的逗号** 在E2单元格中输入 **=TEXT(A2,"[DBNUM1]yyyy年m月d日")** DBNUM1和DBNUM2为2种常见的中文格式,一般金额用DBNUM2,日期用DBNUM1 .. figure:: ../_static/chap5/5.1.gif :alt: 案例2 ~~~~~ 打开\ ``data/chap5/5.1.xlsx``\ ,点击【案例2】,将客户的消费日期转换为周次,即星期几 针对遇到的问题,那么在D2单元格中输入 **=TEXT(A2,"aaaa")** .. figure:: ../_static/chap5/5.2.gif :alt: 案例3 ~~~~~ 打开\ ``data/chap5/5.1.xlsx``\ ,点击【案例3】,取客户消费的年、月、日 针对遇到的问题,那么在D2单元格中输入 **=TEXT(A2,"yyyy")** 或者 **=TEXT(A2,"e")** 在E2单元格中输入 **=TEXT(A2,"m")** 或者 **=TEXT(A2,"mm")** 注意.这2种格式是有区别的 在F2单元格中输入 **=TEXT(A2,"d")** 或者 **=TEXT(A2,"dd")** .. figure:: ../_static/chap5/5.3.gif :alt: 2.mid函数 --------- 打开\ ``data/chap5/5.2.xlsx``\ ,点击【案例1】,提取身份证中的生日,并转换成2022年12月4日这种格式 面对这个问题,可以使用mid函数提取生日 【MID函数】=MID(text,start\ *num,num*\ chars) test:为要提取的文本字符串 start_num:为文本中要提取的第一个字符串的位置 num_chars为提取字符串的长度 因此可以在B2中输入 因为生日是8位数字,所以最后一个参数填8 **=MID(A2,7,8)** 在C2中输入格式化的生日 **=TEXT(MID(A2,7,8),"0000年00月00日")** 问题:这里TEXT函数格式为什么没有使用yyyy年mm月dd日 这种格式? 因为MID(A2,7,8)提取出来的是文本,不是日期,因此Excel无法识别日期的年月,所以用数字格式进行代替 .. figure:: ../_static/chap5/5.4.gif :alt: 文本提取中相似的函数有LEFT,RIGHT LEFT函数,以字符串左侧为起始位置,返回指定数量的字符 【LEFT函数】=MID(text,,num_chars) text:要提取的字符串或单元格引用; num_chars:要提取的字符数量 RIGHT函数,从字符串右侧首字符开始,从右向左提取指定的字符,其功能和LEFT函数完全一样,只是方向不同 【RIGHT函数】=MID(text,num_chars) text:要提取的字符串或单元格引用; num_chars:要提取的字符数量 3.replace函数 ------------- 打开\ ``data/chap5/5.2.xlsx``\ ,点击【案例2】,现在需要将Excel表格打印,为了不泄露客户电话号码,需要将电话后5位进行屏蔽 REPLACEI函数作用:把一个文本字符串,人为指定一个位置,用定个数新字符进行替换。 【REPLACEI函数】=REPLACEI(old\ *text,start*\ num,num\ *chars,new*\ text) old_text:需要替换的文本 start_num:需要替换文本的开始位置 num_chars:替换文本的长度 new_text:替换内容 因此可以在B2单元格中输入 **=REPLACE(A2,11,5,"#####")** .. figure:: ../_static/chap5/5.5.gif :alt: 练习 ---- 1.完成\ ``data/chap5/5.1.xlsx``\ 工作簿中的【案例1-3】 2.完成\ ``data/chap5/5.2.xlsx``\ 工作簿中的【案例1】中身份证后6位加密 ================================================ FILE: docs/_sources/Content/chap6.rst.txt ================================================ .. _header-n0: 第六章 Excel函数-查找函数 ========================= VLOOKUP是经典的查找与引用函数,在Excel数据查询任务中有多种用途。XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,\ **非常推荐大家使用XLOOKUP函数**\ ,如果自己的电脑Excel不是最新版不支持XLOOKUP函数,也可以来学习VLOOKUP函数。 .. 在本节教程中会重点介绍XLOOKUP函数的相关用法,对于VLOOKUP不好解决,XLOOKUP能解决的问题放在了【案例5】、【案例6】、【案例7】 .. _header-n6: 1.VLOOKUP --------- .. _header-n7: 案例1 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,点击【案例1】,根据岗位编号,得到该员工的应发工资 针对这个问题,可以使用VLOOKUP函数 【VLOOKUP函数】\ **=VLOOKUP(要查找的值,查找区域,要返回的结果在查找区域的第几列,精确匹配或近似匹配)** **在L3单元格中输入如下公式** **=VLOOKUP(K2,A2:H50,8,FALSE)** 因为应发工资在整个单元格中的第8列,所以第3个参数为8,第4个参数选择TRUE或者FALSE,TRUE为模糊匹配,FALSE为精确匹配,因此第4个参数选择为FALSE, 有的EXCEL版本第4个参数是0是精确查找,1是精确匹配,根据实际情况输入即可。 .. figure:: ../_static/chap6/6.1.gif :alt: .. _header-n15: 案例2 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,点击【案例2】,根据岗位编号,得到该员工的应发工资 在案例2的任务中我们发现,这里的员工的编号位于最后一列,那么应该如何处理呢? 如果按照正常的VLOOKUP的函数用法在L2单元格输入=VLOOKUP(K2,A2:H19,7,FALSE),输入后会发现并没有安装预期得到应发工资。 .. figure:: ../_static/chap6/6.2.gif :alt: 这是因为VLOOKUP函数的限制,必须查找的区域在被查找值的左侧,当然这里有其他的办法解决。 这里用到了换列的小技巧,如果感兴趣可以看相关文章,\ `Excel技巧:一文搞懂 IF{1,0} 的用法 `__ 那么在L2中输入如下函数 **=VLOOKUP(K2,IF({1,0},H2:H19,G2:G19),2,FALSE)** 这个函数中,将G2:G17列与H2:H19列做成了一个临时数据组,并让这2列交换位置,这样G2:G19列就在临时数组中的第2列,因此VLOOKUP中第3个参数为2 .. figure:: ../_static/chap6/6.3.gif :alt: .. _header-n26: 案例3 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,点击【案例3】,根据性别与部门信息,获得员工编号 案例3的任务与前面不同的是,无法只通过1个信息完全定位到员工编号,因此这里使用了一个技巧,在L3单元格中输入 **=VLOOKUP(J2&K2,IF({1,0},C2:C20&D2:D20,A2:A20),2,0)** 细心的同学可能发现了其中的技巧,就是将多个条件通过&连接成一个字符串,同时将待查找的数据也连接起来,从而通过这个连接的特殊字符来查找数据 .. figure:: ../_static/chap6/6.4.gif :alt: .. _header-n32: 案例4 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,点击【案例4】,当不知道具体的信息,需要进行模糊查询 那么如何使用VLOOKUP进行模糊查询呢? **=VLOOKUP("*"&K2,A2:F20,2,0)** Excel中的通配符匹配规则见如下,因为DW为2个字符,我们选择\* 还记得第四章中的SUMIFS函数中的案例,计算小米系列的销量中,我们就使用了通配符 .. figure:: ../_static/chap6/6.5.png :alt: .. figure:: ../_static/chap6/6.6.gif :alt: .. _header-n39: 2 XLOOKUP --------- XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,\ **非常推荐大家使用XLOOKUP函数**\ ,如果不能支持这个函数也不用灰心,使用VLOOKUP函数也能完成绝大多数查询问题 因为XLOOKUP函数功能非常强大,因此在本节中对函数进行讲解 【XLOOKUP函数】\ **==XLOOKUP(想要查找值, 想要在哪个数据区域中查找, 要返回的数据区域,, [if\ not\ found], [match\ mode], [search\ mode])** 第四参数(可选参数):if\ *not*\ found,找不到结果,就返回第四参数,如果省略第四参数函数默认返回#N/A这个错误值 第五参数(可选参数):match_mode,指定匹配类型 参数为:0 ,精确匹配,未找到结果,返回 #N/A。 这是默认选项。 参数为:-1,近似匹配,未找到结果,返回下一个较小的项。 参数为:1,近似匹配,未找到结果,返回下一个较大的项。 参数为:2 ,通配符匹配 第六参数(可选参数):search_mode, 指定要使用的搜索模式 参数为:1,从第一项开始执行搜索。 这是默认选项。 参数为:-1,从最后一项开始执行反向搜索。 参数为:2,根据 lookup_array 按升序排序的二进制搜索。 如果未排序,将返回无效结果。 参数为:-2,根据lookup_array 按降序排序的二进制搜索。 如果未排序,将返回无效结果。 .. _header-n55: 案例1 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例1】 我们在M2单元格中输入如下公式 **=XLOOKUP(K2,A1:A50,H1:H50)** 第1个K2 就是需要查询的岗位编号DW0005 第2个参数为A1:A50,也就是要查哪一列,\ **细心的同学已经注意到这里与VLOOKUP的不同** 第3个参数就是需要返回的哪一列,也就是返回H列 .. _header-n62: 案例2 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例2】 我们在L2单元格中输入如下公式 **=XLOOKUP(J2,H1:H19,G1:G19)** 细心的同学就发现上面的公式中没有用到列的转换,这个公式的可读性非常强,这是就是XLOOKUP比VLOOKUP更加强大的地方 .. _header-n67: 案例3 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例3】 我们在M2单元格中输入如下公式 **=XLOOKUP(J2&K2,C1:C20&D1:D20,A1:A20)** 在XLOOKUP中的多条件查找,只需要使用\ **&**\ ,将多个条件的信息连接起来即可,非常的方便 .. _header-n72: 案例4 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例4】 我们在M2单元格中输入如下公式 **=XLOOKUP("*"&K2,A2:A20,B2:B20,,2)** 在使用XLOOKUP进行通配符查找事,需要指定第5个参数为2,即告诉XLOOKUP需要用通配符进行查找,这里是好VLOOKUP不同的地方 具体通配符用法,可见1.4的讲解 .. _header-n78: 案例5 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例5】,姓名6在数据表中出现了2次,想知道他的最后销售额应该怎么操作? 我们在I2单元格中输入如下公式 **=XLOOKUP(H2,B1:B20,F1:F20,0,0,-1)** 前3个参数想必大家已经很熟悉了,第4个参数是0,就是当XLOOKUP查找不到时,就返回0,第5个参数是0,就是选择精确匹配,第6个参数选择搜索参数,这里选择-1,从后开始往前搜索,因此这样设置就能获得正确结果。 .. _header-n83: 案例6 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例6】,这里有4个人,现在想知道这4个人的最大销售额 **=MAX(XLOOKUP(H2:H5,B2:B20,F2:F20,0,0,1))** 先通过XLOOKUP批量查找这4个人销售额,再通过MAX函数,求这4个人中的最大的销售额。 .. figure:: ../_static/chap6/6.7.gif :alt: .. _header-n88: 案例7 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例7】,当数据集以横向形式时,如果查询到需要的数据 在C2单元格中输入如下公式 **=XLOOKUP(B6,B2:L2,B1:L1)** 细心的同学发现,横向数据的查询方法与纵向数据并无太大区别 .. figure:: ../_static/chap6/6.8.gif :alt: .. _header-n94: 练习 ---- 1.选择VLOOKUP和XLOOKUP这2种函数中的一种,完成\ ``data/chap6/6.1xlsx``\ 中的【案例1-4】 ================================================ FILE: docs/_sources/Content/chap7.rst.txt ================================================ .. _header-n98: 第七章 Excel函数-动态函数 ========================= 在本节中会讲解一些Excel更新的动态函数,从而帮助大家更好的掌握Excel的数据处理与分析 .. _header-n102: 1.FILTER函数 ------------ 在工作中,我们需要根据指定的条件,将符合条件的所有记录从数据源表格式查找过来,一是可以用高级筛选。但高级筛选在查询下一个单位时 ,需要重新设置一次,很麻烦。二是用函数公式查询。典型的套路有:INDEX+SMALL+ROW、或者LOOKUP+COUNTIF+OFFSET,而这样的方法对初学者非常不友好,而EXCEL新更新的感受FILTER可以很好的解决这个问题。 【FILTER】函数=FILTER(数据区域,筛选条件,[无满足条件的记录时返回的值]) 接下来就看看FILTER的实际应用案例 .. _header-n107: 案例1 ~~~~~ 打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】 获得湖北区的相关数据 在J2单元格中输入 **=FILTER(A2:G30,C2:C30="湖北区")** 注意数据区域不包含标题 生成的数据的动态数组(WPS由于不兼容动态数组,稍微和Excel有点区别,会产生数据溢出的情况) .. figure:: ../_static/chap7/7.1.gif :alt: .. _header-n114: 案例2 ~~~~~ 打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】 如果在实际的任务中不需要所有的列,只需要其中的几行,那么应该怎么操作? 可以在K2单元格中输入 **=FILTER(F2:G30,C2:C30="湖北区")** 细心的同学就发现了这里与7.1.1中的不同,如果需要返回其中的几行,只需要将数据区域修改为自己需要的区域即可 现在需要知道湖北区的最大销售金额是多少 **=MAX(FILTER(F2:F30,C2:C30="湖北区"))** .. figure:: ../_static/chap7/7.2.gif :alt: .. _header-n123: 案例3 ~~~~~ 打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】 FILTER函数中的多条件筛选,使用\ ``+``\ 来表示或,使用\ ``*``\ 表示且 例如,需要计算湖北区、湖南区大最大销售金额,那么函数公式为 **=MAX(FILTER(F2:F30,(C2:C30="湖北区")+(C2:C30="湖南区")))** .. figure:: ../_static/chap7/7.3.gif :alt: 例如,需要计算湖北区商品2的最大销售金额,那么函数公式为 **=MAX(FILTER(F2:F30,(C2:C30="湖北区")*(D2:D30="商品2")))** .. figure:: ../_static/chap7/7.4.gif :alt: .. _header-n132: 2.SUBTOTAL函数 -------------- Excel中有数据筛选非常好用,那么,如果想统计筛选后的结果应该怎么弄?例如想知道筛选后的销售总额 打开\ ``data/chap7/7.2xlsx``\ 中的案例1,使用筛选选择不同的区,而SUM求和并没有变化 如果想实现上述需求,可以使用【SUBTOTAL函数】 【SUBTOTAL函数】=SUBTOTAL(功能函数,选择区域) 功能函数 数字 1-11 或 101-111,用于指定要为分类汇总使用的函数。 如果使用 1-11,将包括手动隐藏的行,如果使用 101-111,则排除手动隐藏的行;始终排除已筛选掉的单元格。详见附件1 在J2单元格中输入如下公式 **=SUBTOTAL(9,F2:F21)** 可以看到SUBTOTAL对筛选的数据列进行正确的求和,而SUM无法跟随选择的数据列进行正确求和 .. figure:: ../_static/chap7/7.5.gif :alt: 【附件1】 .. figure:: ../_static/chap7/7.6.png :alt: 练习 ---- 1.打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】计算河北区中商品1的最小销售额 2.打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】计算湖北中什么渠道下的什么商品具有最高销售额 ================================================ FILE: docs/_sources/Content/chap8.rst.txt ================================================ 第八章Excel数据可视化 ===================== 对于Excel中的数据可视化,相信各位读者应该能很熟练的使用,使用Excel汇总各种类型图,包括柱状图、折线图等等,从而让数据进行图形化展示。基于此,本节中对Excel中的数据作图部分不做展开讲解,本节更加偏重于讲解另一类辅助数据可视化的部分。 1.条形图 ------------ 打开\ ``data/chap8/8.1xlsx``\ 中的【案例1】,现在有湖北区2022/01/01的不同商品的销售额,怎么更加直观的展示销售额之间的差别呢? 这里可以使用条形图对销售的金额进展可视化展示 选择【开始】-->【条件格式】-->【数据条】 .. figure:: ../_static/chap8/8.1.gif :alt: 通过对销售金额进行数据条的填充,读者可以很快锁定湖北区2022/01/01销售额中,韩闲具有最高销售额为9442 如果只想显示条形图,不想显示金额应该如果操作? 选择条形图区域--->条件格式--->管理规则 打开管理规则后可以看到,选择设置的规则,点击编辑规则 选择仅显示数据条,当然可以在颜色的地方选择自己喜欢的颜色 选择之后得到如下效果 .. figure:: ../_static/chap8/8.2.gif :alt: 2.条件单元格格式 ------------ 打开\ ``data/chap8/8.2xlsx``\ ,现在有不同业务员向客户推销商品的相关信息,现在需要将截止日期还没有过今天的标注出来,应该如何操作? EXCEL中【TODAY】函数可以获得当前日期 这里,可以使用Excel中的条件格式进行自动识别 1.选择需要设置条件的列; 2.选择条件格式; 3.选择新建规则 这里选择使用公式确定要设置格式的单元格 因为选择的区域为B2:B10 因此输入的公式满足B2要求,剩余的单元格会自动填充,因此输入的公式为 **=B2>TODAY()** 接下来设置单元格的格式,在本节示范中选择对满足条件的单元格填充为黄色,得到如下效果图 .. figure:: ../_static/chap8/8.3.gif :alt: 3.迷你图 ------------ 打开\ ``data/chap8/8.3.xlsx``\ 中原始数据,现在知道不同业务员1-12月的销售额,且销售额最差月份以及业务员的销售额的变化趋势,应该怎么操作? 1.确定销售额最差月份 这里可以使用XLOOKUP公式,具体公式为 ``=XLOOKUP(MIN(B2:M2),B2:M2,$B$1:$M$1)`` .. figure:: ../_static/chap8/8.4.gif :alt: 2.在B2插入新的单元格,命名为趋势图 点击插入,找到迷你图部分,选择折线,数据范围选择为C2:N13,防止迷你图的位置选择在B2:B13单元格 .. figure:: ../_static/chap8/8.5.gif :alt: 生成迷你图后,可以在显示处,调整迷你图显示的重要点,这里显示折线中的最低点,通过图中可以看到,蔡勇仁的销售业绩趋势是不断下降,而江宁寒的销售业绩不断上升,迷你图能够很好的展示原数据与数据变化的趋势情况 .. figure:: ../_static/chap8/8.6.gif :alt: 练习 ---- 1.选择\ ``data/chap8/8.2.xlsx``\ 工作簿中的【案例1】,对拜访客户数大于5以上的业务员进行黄色填充 ================================================ FILE: docs/_sources/Content/chap9.rst.txt ================================================ 第九章Excel数据透视 ================ 数据透视是Excel中个强大的数据处理和分析工具,能够快速实现数据的汇总与统计分析,本节重点讲解Excel数据透视的相关操作 1.Excel数据透视表 ---------------------- 打开\ ``data/chap9/9.1.xlsx``\ 中的数据源,现在对数据源进行数据透视 1.选择插入 2.选择数据透视表 3.选择表格区域 4.选择数据透视表放置的位置 可以看到,在新的数据表中出现了数据透视表 .. figure:: ../_static/chap9/9.1.gif :alt: 例如,想知道不同月份的不同区域销售金额统计情况,可以将区域置于列,月置于行,金额的求和项置于值,即可得到不同区域不同月份的销售金额之和 .. figure:: ../_static/chap9/9.2.gif :alt: 如果又想知道不同店员的销售额怎么办呢? 1.点击数据透视表分析 2.点击插入切片器 3.选择插片器的字段 点击不同的店员,可以直接统计该店员的销售额,这里的插片器相当于直接筛选店员的数据做统计。如果想统计多个店员的数据,可以点击切片器的多选项,可以同时统计多个店员的数据。 .. figure:: ../_static/chap9/9.3.gif :alt: 2.Excel数据透视图 ---------------------- 打开\ ``data/chap9/9.1.xlsx``\ 中的数据源,现在对数据源进行数据透视图 1.选择插入 2.选择数据透视图 3.选择创建数据透视图,选择数据源作为数据区域 4.选择新工作表 .. figure:: ../_static/chap9/9.5.gif :alt: 选择月为类别,选择区域为图例,选择金额求和作为值,得到如下透视图 .. figure:: ../_static/chap9/9.6.gif :alt: 如果,想切换透视图的类型,可以选择不同的图像类型,例如我们想知道不同月份销售的变化趋势,可以选择为折线图 .. figure:: ../_static/chap9/9.7.gif :alt: 当然数据透视图也支持插片器,同样是选择店员作为切片的条件 .. figure:: ../_static/chap9/9.8.gif :alt: 练习 ---- 1.选择\ ``data/chap9/9.1.xlsx``\ 工作簿中的【数据源】绘制不同的透视图 ================================================ FILE: docs/_sources/Content/index.rst.txt ================================================ ******** 教程 ******** .. toctree:: :maxdepth: 2 chap1 chap2 chap3 chap4 chap5 chap6 chap7 chap8 chap9 chap10 ================================================ FILE: docs/_sources/Datawhale.rst.txt ================================================ ***************** Datawhale ***************** ``Datawhale`` 是一个专注于 ``AI`` 领域的开源组织,希望构建对学习者最有价值的开源社区。 作为一个由国内外各个高校的教授、学生、企业从业者等创建的开放式组织形态,抱有开源精神和探索精神,愿景:for the learner,和学习者一起成长。 Datawhale官网:https://datawhale.club/ 知乎 ================ https://www.zhihu.com/people/datawhale2018 微信公众号 ================ .. image:: _static/datawhale.jpg :height: 388 px :width: 336 px :scale: 100 % :align: center ================================================ FILE: docs/_sources/index.rst.txt ================================================ .. Joyful Pandas documentation master file, created by sphinx-quickstart on Sat Sep 19 16:56:20 2020. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Home ============= .. toctree:: :caption: 框架 :maxdepth: 2 :hidden: 主页 Content/index 作者 Datawhale 练习题参考操作 主页 ============= free excel中文意为自由Excel,源于希望学习者能够通过该教程能够更加自由地使用Excel进行数据分析、数据统计,解放Excel不再为Excel所困。内容上会更加偏实践应用,力求尽可能简单而又具有一定深度。其他很多教程都是按功能模块来讲解,而且还详细的说明每个功能,令人枯燥乏味。Free Excel根据多年工作经验总结而成,很多内容是常用且重要的,同时学完后能加深对Excel的理解。授之以鱼不如授之以渔,让我们开始愉快的Excel之旅吧! 本教程的数据集在 `此处 `__ 下载。 教程大纲 ============= .. image:: _static/home.png :height: 400 px :width: 720 px :scale: 100 % :align: center 更新版本与更新时间 ================== - V1.0 2021-08-08 - V2.0 2022-09-09 - V2.1 2022-11-27 V2.1教程配套Excel版本为2019及以上,请自行装好环境以便操作。如果电脑没有Excel,可以下载WPS进行相关的操作学习。 注:本课程中部分函数为Excel新更新的内容,如果想体验Excel新添加的函数,可将Excel更新至最新版,或将WPS更新至11.1版及以上 ================================================ FILE: docs/_sources/主页.rst.txt ================================================ 主页 ============= free excel中文意为自由Excel,源于希望学习者能够通过该教程能够更加自由地使用Excel进行数据分析、数据统计,解放Excel不再为Excel所困。内容上会更加偏实践应用,力求尽可能简单而又具有一定深度。其他很多教程都是按功能模块来讲解,而且还详细的说明每个功能,令人枯燥乏味。Free Excel根据多年工作经验总结而成,很多内容是常用且重要的,同时学完后能加深对Excel的理解。授之以鱼不如授之以渔,让我们开始愉快的Excel之旅吧! 本教程的数据集在 `此处 `__ 下载。 教程大纲 ============= .. figure:: _static/home.png :alt: 更新版本与更新时间 ================ - V1.0 2021-08-08 - V2.0 2022-09-09 - V2.1 2022-11-27 V2.1教程配套Excel版本为2019及以上,请自行装好环境以便操作。如果电脑没有Excel,可以下载WPS进行相关的操作学习。 注:本课程中部分函数为Excel新更新的内容,如果想体验Excel新添加的函数,可将Excel更新至最新版,或将WPS更新至11.1版及以上 ================================================ FILE: docs/_sources/作者.rst.txt ================================================ 作者 ==== 牧小熊,华中农业大学硕士,Datawhale成员,互联网金融数据分析师 开源内容 -------- - `《free-excel》 `_ - `《心跳信号分类》 `_ - `《python自动化办公》 `_ - `《如何打一个数据挖掘比赛- 入门篇》 `_ Github ---------- https://github.com/muxiaoxiong 知乎 ---------- https://www.zhihu.com/people/muxiaoxiong E-mail ---------- 1335008986@qq.com 微信 ---------- .. image:: _static/wechat.jpg :height: 388 px :width: 336 px :scale: 100 % :align: center 知乎咨询 ---------- .. image:: _static/zixun.png :height: 360 px :width: 779 px :scale: 100 % :align: left ================================================ FILE: docs/_sources/练习题参考操作.rst.txt ================================================ 练习题参考操作 ============== 第一章 ====== 1.1使用Excel数据导入功能,完成\ ``data/chap1/Titanic_normal.csv``\ 和\ ``data/chap1/data/chap1/Titanic_special.txt``\ 数据导入 .. figure:: ./_static/ref/1.1.gif :alt: 1.2完成\ ``data/chap1/2.1.xlsx``\ 中案例1-4中的问题 .. figure:: ./_static/ref/1.2.gif :alt: 第二章 ====== 2.1.完成\ ``data/chap2/2.1.xlsx``\ 工作簿中的【案例2】【案例3】的快捷键自动求和任务 .. figure:: ./_static/ref/2.1.gif :alt: 2.2.完成\ ``data/chap2/2.2.xlsx``\ 工作簿中的【案例2】【案例3】的多行快速比对任务(提示:需要选中所有待比对表格框) .. figure:: ./_static/ref/2.2.gif :alt: 2.3.完成\ ``data/chap2/2.3.xlsx``\ 工作簿中的【案例2】【案例3】【案例4】的填充任务 .. figure:: ./_static/ref/2.3.gif :alt: 第三章 ====== 3.1.选择\ ``data/chap3/3.1.xlsx``\ 工作簿中的【案例1】得到不同客户的消费次数 3.2.选择\ ``data/chap3/3.1.xlsx``\ 工作簿中的【案例2】得到不同客户的不同项目的消费次数 .. figure:: ./_static/ref/3.1.gif :alt: 第四章 ====== 4.1.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例1】,将客户原始得分为1以下的校正为0 4.2.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例2】,客户1月2月中只要有1个月消费超过400,即为"高消费户" 4.3.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例3】,能否不使用IFS函数,使用IF函数通过嵌套完成相应的务。 .. figure:: ./_static/ref/4.1.gif :alt: 4.4.打开\ ``data/chap4/4.2xlsx``\ 中的【案例1】语文成绩在80分以上的同学成绩之和 4.5.打开\ ``data/chap4/4.2xlsx``\ 中的【案例2】统计所有苹果系列产品的销售额 4.6.打开\ ``data/chap4/4.2xlsx``\ 中的【案例6】完成所有手机的销售额求和 .. figure:: ./_static/ref/4.2.gif :alt: 第五章 ====== 5.1.完成\ ``data/chap5/5.1.xlsx``\ 工作簿中的【案例1-3】 参考教程 5.2.完成\ ``data/chap5/5.2.xlsx``\ 工作簿中的【案例1】中身份证后6位加密 .. figure:: ./_static/ref/5.2.gif :alt: 第六章 ====== 6.1.选择VLOOKUP和XLOOKUP这2种函数中的一种,完成\ ``data/chap6/6.1xlsx``\ 中的【案例1-4】 参考教程 第七章 ====== 7.1.打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】计算河北区中商品1的最小销售额 .. figure:: ./_static/ref/7.1.gif :alt: 7.2.打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】计算湖北中什么渠道下的什么商品具有最高销售额 .. figure:: ./_static/ref/7.2.gif :alt: 第八章 ====== 8.1.选择\ ``data/chap8/8.2.xlsx``\ 工作簿中的【案例1】,对拜访客户数大于5以上的业务员进行黄色填充 .. figure:: ./_static/ref/8.1.gif :alt: 第九章 ====== 9.1.选择\ ``data/chap9/9.1.xlsx``\ 工作簿中的【数据源】绘制不同的透视图 .. figure:: ./_static/ref/9.1.gif :alt: 第十章 ====== 10.1.完成数据看板,需要通过按钮调节周数,同时销售额,订单数以及数据图进行变化 参考教程 ================================================ FILE: docs/_static/1 ================================================ 1 ================================================ FILE: docs/_static/_sphinx_javascript_frameworks_compat.js ================================================ /* * _sphinx_javascript_frameworks_compat.js * ~~~~~~~~~~ * * Compatability shim for jQuery and underscores.js. * * WILL BE REMOVED IN Sphinx 6.0 * xref RemovedInSphinx60Warning * */ /** * select a different prefix for underscore */ $u = _.noConflict(); /** * small helper function to urldecode strings * * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL */ jQuery.urldecode = function(x) { if (!x) { return x } return decodeURIComponent(x.replace(/\+/g, ' ')); }; /** * small helper function to urlencode strings */ jQuery.urlencode = encodeURIComponent; /** * This function returns the parsed url parameters of the * current request. Multiple values per key are supported, * it will always return arrays of strings for the value parts. */ jQuery.getQueryParameters = function(s) { if (typeof s === 'undefined') s = document.location.search; var parts = s.substr(s.indexOf('?') + 1).split('&'); var result = {}; for (var i = 0; i < parts.length; i++) { var tmp = parts[i].split('=', 2); var key = jQuery.urldecode(tmp[0]); var value = jQuery.urldecode(tmp[1]); if (key in result) result[key].push(value); else result[key] = [value]; } return result; }; /** * highlight a given string on a jquery object by wrapping it in * span elements with the given class name. */ jQuery.fn.highlightText = function(text, className) { function highlight(node, addItems) { if (node.nodeType === 3) { var val = node.nodeValue; var pos = val.toLowerCase().indexOf(text); if (pos >= 0 && !jQuery(node.parentNode).hasClass(className) && !jQuery(node.parentNode).hasClass("nohighlight")) { var span; var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); if (isInSVG) { span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); } else { span = document.createElement("span"); span.className = className; } span.appendChild(document.createTextNode(val.substr(pos, text.length))); node.parentNode.insertBefore(span, node.parentNode.insertBefore( document.createTextNode(val.substr(pos + text.length)), node.nextSibling)); node.nodeValue = val.substr(0, pos); if (isInSVG) { var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); var bbox = node.parentElement.getBBox(); rect.x.baseVal.value = bbox.x; rect.y.baseVal.value = bbox.y; rect.width.baseVal.value = bbox.width; rect.height.baseVal.value = bbox.height; rect.setAttribute('class', className); addItems.push({ "parent": node.parentNode, "target": rect}); } } } else if (!jQuery(node).is("button, select, textarea")) { jQuery.each(node.childNodes, function() { highlight(this, addItems); }); } } var addItems = []; var result = this.each(function() { highlight(this, addItems); }); for (var i = 0; i < addItems.length; ++i) { jQuery(addItems[i].parent).before(addItems[i].target); } return result; }; /* * backward compatibility for jQuery.browser * This will be supported until firefox bug is fixed. */ if (!jQuery.browser) { jQuery.uaMatch = function(ua) { ua = ua.toLowerCase(); var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || /(webkit)[ \/]([\w.]+)/.exec(ua) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || /(msie) ([\w.]+)/.exec(ua) || ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || []; return { browser: match[ 1 ] || "", version: match[ 2 ] || "0" }; }; jQuery.browser = {}; jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; } ================================================ FILE: docs/_static/basic.css ================================================ /* * basic.css * ~~~~~~~~~ * * Sphinx stylesheet -- basic theme. * * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ /* -- main layout ----------------------------------------------------------- */ div.clearer { clear: both; } div.section::after { display: block; content: ''; clear: left; } /* -- relbar ---------------------------------------------------------------- */ div.related { width: 100%; font-size: 90%; } div.related h3 { display: none; } div.related ul { margin: 0; padding: 0 0 0 10px; list-style: none; } div.related li { display: inline; } div.related li.right { float: right; margin-right: 5px; } /* -- sidebar --------------------------------------------------------------- */ div.sphinxsidebarwrapper { padding: 10px 5px 0 10px; } div.sphinxsidebar { float: left; width: 270px; margin-left: -100%; font-size: 90%; word-wrap: break-word; overflow-wrap : break-word; } div.sphinxsidebar ul { list-style: none; } div.sphinxsidebar ul ul, div.sphinxsidebar ul.want-points { margin-left: 20px; list-style: square; } div.sphinxsidebar ul ul { margin-top: 0; margin-bottom: 0; } div.sphinxsidebar form { margin-top: 10px; } div.sphinxsidebar input { border: 1px solid #98dbcc; font-family: sans-serif; font-size: 1em; } div.sphinxsidebar #searchbox form.search { overflow: hidden; } div.sphinxsidebar #searchbox input[type="text"] { float: left; width: 80%; padding: 0.25em; box-sizing: border-box; } div.sphinxsidebar #searchbox input[type="submit"] { float: left; width: 20%; border-left: none; padding: 0.25em; box-sizing: border-box; } img { border: 0; max-width: 100%; } /* -- search page ----------------------------------------------------------- */ ul.search { margin: 10px 0 0 20px; padding: 0; } ul.search li { padding: 5px 0 5px 20px; background-image: url(file.png); background-repeat: no-repeat; background-position: 0 7px; } ul.search li a { font-weight: bold; } ul.search li p.context { color: #888; margin: 2px 0 0 30px; text-align: left; } ul.keywordmatches li.goodmatch a { font-weight: bold; } /* -- index page ------------------------------------------------------------ */ table.contentstable { width: 90%; margin-left: auto; margin-right: auto; } table.contentstable p.biglink { line-height: 150%; } a.biglink { font-size: 1.3em; } span.linkdescr { font-style: italic; padding-top: 5px; font-size: 90%; } /* -- general index --------------------------------------------------------- */ table.indextable { width: 100%; } table.indextable td { text-align: left; vertical-align: top; } table.indextable ul { margin-top: 0; margin-bottom: 0; list-style-type: none; } table.indextable > tbody > tr > td > ul { padding-left: 0em; } table.indextable tr.pcap { height: 10px; } table.indextable tr.cap { margin-top: 10px; background-color: #f2f2f2; } img.toggler { margin-right: 3px; margin-top: 3px; cursor: pointer; } div.modindex-jumpbox { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; margin: 1em 0 1em 0; padding: 0.4em; } div.genindex-jumpbox { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; margin: 1em 0 1em 0; padding: 0.4em; } /* -- domain module index --------------------------------------------------- */ table.modindextable td { padding: 2px; border-collapse: collapse; } /* -- general body styles --------------------------------------------------- */ div.body { min-width: 360px; max-width: 800px; } div.body p, div.body dd, div.body li, div.body blockquote { -moz-hyphens: auto; -ms-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; } a.headerlink { visibility: hidden; } a.brackets:before, span.brackets > a:before{ content: "["; } a.brackets:after, span.brackets > a:after { content: "]"; } h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, h4:hover > a.headerlink, h5:hover > a.headerlink, h6:hover > a.headerlink, dt:hover > a.headerlink, caption:hover > a.headerlink, p.caption:hover > a.headerlink, div.code-block-caption:hover > a.headerlink { visibility: visible; } div.body p.caption { text-align: inherit; } div.body td { text-align: left; } .first { margin-top: 0 !important; } p.rubric { margin-top: 30px; font-weight: bold; } img.align-left, figure.align-left, .figure.align-left, object.align-left { clear: left; float: left; margin-right: 1em; } img.align-right, figure.align-right, .figure.align-right, object.align-right { clear: right; float: right; margin-left: 1em; } img.align-center, figure.align-center, .figure.align-center, object.align-center { display: block; margin-left: auto; margin-right: auto; } img.align-default, figure.align-default, .figure.align-default { display: block; margin-left: auto; margin-right: auto; } .align-left { text-align: left; } .align-center { text-align: center; } .align-default { text-align: center; } .align-right { text-align: right; } /* -- sidebars -------------------------------------------------------------- */ div.sidebar, aside.sidebar { margin: 0 0 0.5em 1em; border: 1px solid #ddb; padding: 7px; background-color: #ffe; width: 40%; float: right; clear: right; overflow-x: auto; } p.sidebar-title { font-weight: bold; } div.admonition, div.topic, blockquote { clear: left; } /* -- topics ---------------------------------------------------------------- */ div.topic { border: 1px solid #ccc; padding: 7px; margin: 10px 0 10px 0; } p.topic-title { font-size: 1.1em; font-weight: bold; margin-top: 10px; } /* -- admonitions ----------------------------------------------------------- */ div.admonition { margin-top: 10px; margin-bottom: 10px; padding: 7px; } div.admonition dt { font-weight: bold; } p.admonition-title { margin: 0px 10px 5px 0px; font-weight: bold; } div.body p.centered { text-align: center; margin-top: 25px; } /* -- content of sidebars/topics/admonitions -------------------------------- */ div.sidebar > :last-child, aside.sidebar > :last-child, div.topic > :last-child, div.admonition > :last-child { margin-bottom: 0; } div.sidebar::after, aside.sidebar::after, div.topic::after, div.admonition::after, blockquote::after { display: block; content: ''; clear: both; } /* -- tables ---------------------------------------------------------------- */ table.docutils { margin-top: 10px; margin-bottom: 10px; border: 0; border-collapse: collapse; } table.align-center { margin-left: auto; margin-right: auto; } table.align-default { margin-left: auto; margin-right: auto; } table caption span.caption-number { font-style: italic; } table caption span.caption-text { } table.docutils td, table.docutils th { padding: 1px 8px 1px 5px; border-top: 0; border-left: 0; border-right: 0; border-bottom: 1px solid #aaa; } th { text-align: left; padding-right: 5px; } table.citation { border-left: solid 1px gray; margin-left: 1px; } table.citation td { border-bottom: none; } th > :first-child, td > :first-child { margin-top: 0px; } th > :last-child, td > :last-child { margin-bottom: 0px; } /* -- figures --------------------------------------------------------------- */ div.figure, figure { margin: 0.5em; padding: 0.5em; } div.figure p.caption, figcaption { padding: 0.3em; } div.figure p.caption span.caption-number, figcaption span.caption-number { font-style: italic; } div.figure p.caption span.caption-text, figcaption span.caption-text { } /* -- field list styles ----------------------------------------------------- */ table.field-list td, table.field-list th { border: 0 !important; } .field-list ul { margin: 0; padding-left: 1em; } .field-list p { margin: 0; } .field-name { -moz-hyphens: manual; -ms-hyphens: manual; -webkit-hyphens: manual; hyphens: manual; } /* -- hlist styles ---------------------------------------------------------- */ table.hlist { margin: 1em 0; } table.hlist td { vertical-align: top; } /* -- object description styles --------------------------------------------- */ .sig { font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; } .sig-name, code.descname { background-color: transparent; font-weight: bold; } .sig-name { font-size: 1.1em; } code.descname { font-size: 1.2em; } .sig-prename, code.descclassname { background-color: transparent; } .optional { font-size: 1.3em; } .sig-paren { font-size: larger; } .sig-param.n { font-style: italic; } /* C++ specific styling */ .sig-inline.c-texpr, .sig-inline.cpp-texpr { font-family: unset; } .sig.c .k, .sig.c .kt, .sig.cpp .k, .sig.cpp .kt { color: #0033B3; } .sig.c .m, .sig.cpp .m { color: #1750EB; } .sig.c .s, .sig.c .sc, .sig.cpp .s, .sig.cpp .sc { color: #067D17; } /* -- other body styles ----------------------------------------------------- */ ol.arabic { list-style: decimal; } ol.loweralpha { list-style: lower-alpha; } ol.upperalpha { list-style: upper-alpha; } ol.lowerroman { list-style: lower-roman; } ol.upperroman { list-style: upper-roman; } :not(li) > ol > li:first-child > :first-child, :not(li) > ul > li:first-child > :first-child { margin-top: 0px; } :not(li) > ol > li:last-child > :last-child, :not(li) > ul > li:last-child > :last-child { margin-bottom: 0px; } ol.simple ol p, ol.simple ul p, ul.simple ol p, ul.simple ul p { margin-top: 0; } ol.simple > li:not(:first-child) > p, ul.simple > li:not(:first-child) > p { margin-top: 0; } ol.simple p, ul.simple p { margin-bottom: 0; } dl.footnote > dt, dl.citation > dt { float: left; margin-right: 0.5em; } dl.footnote > dd, dl.citation > dd { margin-bottom: 0em; } dl.footnote > dd:after, dl.citation > dd:after { content: ""; clear: both; } dl.field-list { display: grid; grid-template-columns: fit-content(30%) auto; } dl.field-list > dt { font-weight: bold; word-break: break-word; padding-left: 0.5em; padding-right: 5px; } dl.field-list > dt:after { content: ":"; } dl.field-list > dd { padding-left: 0.5em; margin-top: 0em; margin-left: 0em; margin-bottom: 0em; } dl { margin-bottom: 15px; } dd > :first-child { margin-top: 0px; } dd ul, dd table { margin-bottom: 10px; } dd { margin-top: 3px; margin-bottom: 10px; margin-left: 30px; } dl > dd:last-child, dl > dd:last-child > :last-child { margin-bottom: 0; } dt:target, span.highlighted { background-color: #fbe54e; } rect.highlighted { fill: #fbe54e; } dl.glossary dt { font-weight: bold; font-size: 1.1em; } .versionmodified { font-style: italic; } .system-message { background-color: #fda; padding: 5px; border: 3px solid red; } .footnote:target { background-color: #ffa; } .line-block { display: block; margin-top: 1em; margin-bottom: 1em; } .line-block .line-block { margin-top: 0; margin-bottom: 0; margin-left: 1.5em; } .guilabel, .menuselection { font-family: sans-serif; } .accelerator { text-decoration: underline; } .classifier { font-style: oblique; } .classifier:before { font-style: normal; margin: 0 0.5em; content: ":"; display: inline-block; } abbr, acronym { border-bottom: dotted 1px; cursor: help; } /* -- code displays --------------------------------------------------------- */ pre { overflow: auto; overflow-y: hidden; /* fixes display issues on Chrome browsers */ } pre, div[class*="highlight-"] { clear: both; } span.pre { -moz-hyphens: none; -ms-hyphens: none; -webkit-hyphens: none; hyphens: none; white-space: nowrap; } div[class*="highlight-"] { margin: 1em 0; } td.linenos pre { border: 0; background-color: transparent; color: #aaa; } table.highlighttable { display: block; } table.highlighttable tbody { display: block; } table.highlighttable tr { display: flex; } table.highlighttable td { margin: 0; padding: 0; } table.highlighttable td.linenos { padding-right: 0.5em; } table.highlighttable td.code { flex: 1; overflow: hidden; } .highlight .hll { display: block; } div.highlight pre, table.highlighttable pre { margin: 0; } div.code-block-caption + div { margin-top: 0; } div.code-block-caption { margin-top: 1em; padding: 2px 5px; font-size: small; } div.code-block-caption code { background-color: transparent; } table.highlighttable td.linenos, span.linenos, div.highlight span.gp { /* gp: Generic.Prompt */ user-select: none; -webkit-user-select: text; /* Safari fallback only */ -webkit-user-select: none; /* Chrome/Safari */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* IE10+ */ } div.code-block-caption span.caption-number { padding: 0.1em 0.3em; font-style: italic; } div.code-block-caption span.caption-text { } div.literal-block-wrapper { margin: 1em 0; } code.xref, a code { background-color: transparent; font-weight: bold; } h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { background-color: transparent; } .viewcode-link { float: right; } .viewcode-back { float: right; font-family: sans-serif; } div.viewcode-block:target { margin: -1px -10px; padding: 0 10px; } /* -- math display ---------------------------------------------------------- */ img.math { vertical-align: middle; } div.body div.math p { text-align: center; } span.eqno { float: right; } span.eqno a.headerlink { position: absolute; z-index: 1; } div.math:hover a.headerlink { visibility: visible; } /* -- printout stylesheet --------------------------------------------------- */ @media print { div.document, div.documentwrapper, div.bodywrapper { margin: 0 !important; width: 100%; } div.sphinxsidebar, div.related, div.footer, #top-link { display: none; } } ================================================ FILE: docs/_static/css/s4defs-roles.css ================================================ /* * CSS hacks and small modification for my Sphinx website * :copyright: Copyright 2013-2016 Lilian Besson * :license: GPLv3, see LICENSE for details. */ /* Colors and text decoration. For example, :black:`text in black` or :blink:`text blinking` in rST. */ .black { color: black; } .gray { color: gray; } .grey { color: gray; } .silver { color: silver; } .white { color: white; } .maroon { color: maroon; } .red { color: red; } .magenta { color: magenta; } .fuchsia { color: fuchsia; } .pink { color: pink; } .orange { color: orange; } .yellow { color: yellow; } .lime { color: lime; } .green { color: green; } .olive { color: olive; } .teal { color: teal; } .cyan { color: cyan; } .aqua { color: aqua; } .blue { color: blue; } .navy { color: navy; } .purple { color: purple; } .under { text-decoration: underline; } .over { text-decoration: overline; } .blink { text-decoration: blink; } .line { text-decoration: line-through; } .strike { text-decoration: line-through; } .it { font-style: italic; } .ob { font-style: oblique; } .small { font-size: small; } .large { font-size: large; } .smallpar { font-size: small; } /* Style pour les badges en bas de la page. */ div.supportBadges { margin: 1em; text-align: right; } div.supportBadges ul { padding: 0; display: inline; } div.supportBadges li { display: inline; } div.supportBadges a { margin-right: 1px; opacity: 0.6; } div.supportBadges a:hover { opacity: 1; } /* Details elements in the sidebar */ a.reference { border-bottom: none; text-decoration: none; } ul.details { font-size: 80%; } ul.details li p { font-size: 85%; } ul.externallinks { font-size: 85%; } /* Pour le drapeau de langue */ img.languageswitch { width: 50px; height: 32px; margin-left: 5px; vertical-align: bottom; } div.sphinxsidebar { overflow: hidden !important; font-size: 120%; word-wrap: break-word; width: 300px; max-width: 300px; } div.sphinxsidebar h3 { font-size: 125%; } div.sphinxsidebar h4 { font-size: 110%; } div.sphinxsidebar a { font-size: 85%; } /* Image style for scrollUp jQuery plugin */ #scrollUpLeft { bottom: 50px; left: 260px; height: 38px; width: 38px; background: url('//perso.crans.org/besson/_images/.top.svg'); background: url('../_images/.top.svg'); } @media screen and (max-width: 875px) { #scrollUpLeft { right: 50px; left: auto; } } /* responsive for font-size. */ @media (max-width: 875px) { body { font-size: 105%; /* Increase font size for responsive theme */ } } @media (max-width: 1480px) and (min-width: 876px) { body { font-size: 110%; /* Increase font size for not-so-big screens */ } } @media (min-width: 1481px) { body { font-size: 115%; /* Increase even more font size for big screens */ } } /* Social Icons in the sidebar (available: twitter, facebook, linkedin, google+, bitbucket, github) */ .social-icons { display: inline-block; margin: 0; text-align: center; } .social-icons a { background: none no-repeat scroll center top #444444; border: 1px solid #F6F6F6; border-radius: 50% 50% 50% 50%; display: inline-block; height: 35px; width: 35px; margin: 0; text-indent: -9000px; transition: all 0.2s ease 0s; text-align: center; border-bottom: none; } .social-icons li { display: inline-block; list-style-type: none; border-bottom: none; } .social-icons li a { border-bottom: none; } .social-icons a:hover { background-color: #666666; transition: all 0.2s ease 0s; text-decoration: none; } .social-icons a.facebook { background-image: url('../_images/.facebook.png'); background-image: url('//perso.crans.org/besson/_images/.facebook.png'); display: block; margin-left: auto; margin-right: auto; background-size: 35px 35px; } .social-icons a.bitbucket { background-image: url('../_images/.bitbucket.png'); background-image: url('//perso.crans.org/besson/_images/.bitbucket.png'); display: block; margin-left: auto; margin-right: auto; background-size: 35px 35px; } .social-icons li a.github { background-image: url('../_images/.github.png'); background-image: url('//perso.crans.org/besson/_images/.github.png'); display: block; margin-left: auto; margin-right: auto; background-size: 35px 35px; } .social-icons li a.wikipedia { background-image: url('../_images/.wikipedia.png'); background-image: url('//perso.crans.org/besson/_images/.wikipedia.png'); display: block; margin-left: auto; margin-right: auto; background-size: 35px 35px; } ================================================ FILE: docs/_static/doctools.js ================================================ /* * doctools.js * ~~~~~~~~~~~ * * Base JavaScript utilities for all Sphinx HTML documentation. * * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. * :license: BSD, see LICENSE for details. * */ "use strict"; const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([ "TEXTAREA", "INPUT", "SELECT", "BUTTON", ]); const _ready = (callback) => { if (document.readyState !== "loading") { callback(); } else { document.addEventListener("DOMContentLoaded", callback); } }; /** * Small JavaScript module for the documentation. */ const Documentation = { init: () => { Documentation.initDomainIndexTable(); Documentation.initOnKeyListeners(); }, /** * i18n support */ TRANSLATIONS: {}, PLURAL_EXPR: (n) => (n === 1 ? 0 : 1), LOCALE: "unknown", // gettext and ngettext don't access this so that the functions // can safely bound to a different name (_ = Documentation.gettext) gettext: (string) => { const translated = Documentation.TRANSLATIONS[string]; switch (typeof translated) { case "undefined": return string; // no translation case "string": return translated; // translation exists default: return translated[0]; // (singular, plural) translation tuple exists } }, ngettext: (singular, plural, n) => { const translated = Documentation.TRANSLATIONS[singular]; if (typeof translated !== "undefined") return translated[Documentation.PLURAL_EXPR(n)]; return n === 1 ? singular : plural; }, addTranslations: (catalog) => { Object.assign(Documentation.TRANSLATIONS, catalog.messages); Documentation.PLURAL_EXPR = new Function( "n", `return (${catalog.plural_expr})` ); Documentation.LOCALE = catalog.locale; }, /** * helper function to focus on search bar */ focusSearchBar: () => { document.querySelectorAll("input[name=q]")[0]?.focus(); }, /** * Initialise the domain index toggle buttons */ initDomainIndexTable: () => { const toggler = (el) => { const idNumber = el.id.substr(7); const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`); if (el.src.substr(-9) === "minus.png") { el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`; toggledRows.forEach((el) => (el.style.display = "none")); } else { el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`; toggledRows.forEach((el) => (el.style.display = "")); } }; const togglerElements = document.querySelectorAll("img.toggler"); togglerElements.forEach((el) => el.addEventListener("click", (event) => toggler(event.currentTarget)) ); togglerElements.forEach((el) => (el.style.display = "")); if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler); }, initOnKeyListeners: () => { // only install a listener if it is really needed if ( !DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS && !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS ) return; document.addEventListener("keydown", (event) => { // bail for input elements if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; // bail with special keys if (event.altKey || event.ctrlKey || event.metaKey) return; if (!event.shiftKey) { switch (event.key) { case "ArrowLeft": if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; const prevLink = document.querySelector('link[rel="prev"]'); if (prevLink && prevLink.href) { window.location.href = prevLink.href; event.preventDefault(); } break; case "ArrowRight": if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; const nextLink = document.querySelector('link[rel="next"]'); if (nextLink && nextLink.href) { window.location.href = nextLink.href; event.preventDefault(); } break; } } // some keyboard layouts may need Shift to get / switch (event.key) { case "/": if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; Documentation.focusSearchBar(); event.preventDefault(); } }); }, }; // quick alias for translations const _ = Documentation.gettext; _ready(Documentation.init); ================================================ FILE: docs/_static/documentation_options.js ================================================ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), VERSION: '2.1', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', FILE_SUFFIX: '.html', LINK_SUFFIX: '.html', HAS_SOURCE: true, SOURCELINK_SUFFIX: '.txt', NAVIGATION_WITH_KEYS: true, SHOW_SEARCH_SUMMARY: true, ENABLE_SEARCH_SHORTCUTS: true, }; ================================================ FILE: docs/_static/jquery-3.6.0.js ================================================ /*! * jQuery JavaScript Library v3.6.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2021-03-02T17:08Z */ ( function( global, factory ) { "use strict"; if ( typeof module === "object" && typeof module.exports === "object" ) { // For CommonJS and CommonJS-like environments where a proper `window` // is present, execute the factory and get jQuery. // For environments that do not have a `window` with a `document` // (such as Node.js), expose a factory as module.exports. // This accentuates the need for the creation of a real `window`. // e.g. var jQuery = require("jquery")(window); // See ticket #14549 for more info. module.exports = global.document ? factory( global, true ) : function( w ) { if ( !w.document ) { throw new Error( "jQuery requires a window with a document" ); } return factory( w ); }; } else { factory( global ); } // Pass this if window is not defined yet } )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { // Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 // throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode // arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common // enough that all such attempts are guarded in a try block. "use strict"; var arr = []; var getProto = Object.getPrototypeOf; var slice = arr.slice; var flat = arr.flat ? function( array ) { return arr.flat.call( array ); } : function( array ) { return arr.concat.apply( [], array ); }; var push = arr.push; var indexOf = arr.indexOf; var class2type = {}; var toString = class2type.toString; var hasOwn = class2type.hasOwnProperty; var fnToString = hasOwn.toString; var ObjectFunctionString = fnToString.call( Object ); var support = {}; var isFunction = function isFunction( obj ) { // Support: Chrome <=57, Firefox <=52 // In some browsers, typeof returns "function" for HTML elements // (i.e., `typeof document.createElement( "object" ) === "function"`). // We don't want to classify *any* DOM node as a function. // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 // Plus for old WebKit, typeof returns "function" for HTML collections // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) return typeof obj === "function" && typeof obj.nodeType !== "number" && typeof obj.item !== "function"; }; var isWindow = function isWindow( obj ) { return obj != null && obj === obj.window; }; var document = window.document; var preservedScriptAttributes = { type: true, src: true, nonce: true, noModule: true }; function DOMEval( code, node, doc ) { doc = doc || document; var i, val, script = doc.createElement( "script" ); script.text = code; if ( node ) { for ( i in preservedScriptAttributes ) { // Support: Firefox 64+, Edge 18+ // Some browsers don't support the "nonce" property on scripts. // On the other hand, just using `getAttribute` is not enough as // the `nonce` attribute is reset to an empty string whenever it // becomes browsing-context connected. // See https://github.com/whatwg/html/issues/2369 // See https://html.spec.whatwg.org/#nonce-attributes // The `node.getAttribute` check was added for the sake of // `jQuery.globalEval` so that it can fake a nonce-containing node // via an object. val = node[ i ] || node.getAttribute && node.getAttribute( i ); if ( val ) { script.setAttribute( i, val ); } } } doc.head.appendChild( script ).parentNode.removeChild( script ); } function toType( obj ) { if ( obj == null ) { return obj + ""; } // Support: Android <=2.3 only (functionish RegExp) return typeof obj === "object" || typeof obj === "function" ? class2type[ toString.call( obj ) ] || "object" : typeof obj; } /* global Symbol */ // Defining this global in .eslintrc.json would create a danger of using the global // unguarded in another place, it seems safer to define global only for this module var version = "3.6.0", // Define a local copy of jQuery jQuery = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' // Need init if jQuery is called (just allow error to be thrown if not included) return new jQuery.fn.init( selector, context ); }; jQuery.fn = jQuery.prototype = { // The current version of jQuery being used jquery: version, constructor: jQuery, // The default length of a jQuery object is 0 length: 0, toArray: function() { return slice.call( this ); }, // Get the Nth element in the matched element set OR // Get the whole matched element set as a clean array get: function( num ) { // Return all the elements in a clean array if ( num == null ) { return slice.call( this ); } // Return just the one element from the set return num < 0 ? this[ num + this.length ] : this[ num ]; }, // Take an array of elements and push it onto the stack // (returning the new matched element set) pushStack: function( elems ) { // Build a new jQuery matched element set var ret = jQuery.merge( this.constructor(), elems ); // Add the old object onto the stack (as a reference) ret.prevObject = this; // Return the newly-formed element set return ret; }, // Execute a callback for every element in the matched set. each: function( callback ) { return jQuery.each( this, callback ); }, map: function( callback ) { return this.pushStack( jQuery.map( this, function( elem, i ) { return callback.call( elem, i, elem ); } ) ); }, slice: function() { return this.pushStack( slice.apply( this, arguments ) ); }, first: function() { return this.eq( 0 ); }, last: function() { return this.eq( -1 ); }, even: function() { return this.pushStack( jQuery.grep( this, function( _elem, i ) { return ( i + 1 ) % 2; } ) ); }, odd: function() { return this.pushStack( jQuery.grep( this, function( _elem, i ) { return i % 2; } ) ); }, eq: function( i ) { var len = this.length, j = +i + ( i < 0 ? len : 0 ); return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); }, end: function() { return this.prevObject || this.constructor(); }, // For internal use only. // Behaves like an Array's method, not like a jQuery method. push: push, sort: arr.sort, splice: arr.splice }; jQuery.extend = jQuery.fn.extend = function() { var options, name, src, copy, copyIsArray, clone, target = arguments[ 0 ] || {}, i = 1, length = arguments.length, deep = false; // Handle a deep copy situation if ( typeof target === "boolean" ) { deep = target; // Skip the boolean and the target target = arguments[ i ] || {}; i++; } // Handle case when target is a string or something (possible in deep copy) if ( typeof target !== "object" && !isFunction( target ) ) { target = {}; } // Extend jQuery itself if only one argument is passed if ( i === length ) { target = this; i--; } for ( ; i < length; i++ ) { // Only deal with non-null/undefined values if ( ( options = arguments[ i ] ) != null ) { // Extend the base object for ( name in options ) { copy = options[ name ]; // Prevent Object.prototype pollution // Prevent never-ending loop if ( name === "__proto__" || target === copy ) { continue; } // Recurse if we're merging plain objects or arrays if ( deep && copy && ( jQuery.isPlainObject( copy ) || ( copyIsArray = Array.isArray( copy ) ) ) ) { src = target[ name ]; // Ensure proper type for the source value if ( copyIsArray && !Array.isArray( src ) ) { clone = []; } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { clone = {}; } else { clone = src; } copyIsArray = false; // Never move original objects, clone them target[ name ] = jQuery.extend( deep, clone, copy ); // Don't bring in undefined values } else if ( copy !== undefined ) { target[ name ] = copy; } } } } // Return the modified object return target; }; jQuery.extend( { // Unique for each copy of jQuery on the page expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), // Assume jQuery is ready without the ready module isReady: true, error: function( msg ) { throw new Error( msg ); }, noop: function() {}, isPlainObject: function( obj ) { var proto, Ctor; // Detect obvious negatives // Use toString instead of jQuery.type to catch host objects if ( !obj || toString.call( obj ) !== "[object Object]" ) { return false; } proto = getProto( obj ); // Objects with no prototype (e.g., `Object.create( null )`) are plain if ( !proto ) { return true; } // Objects with prototype are plain iff they were constructed by a global Object function Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; }, isEmptyObject: function( obj ) { var name; for ( name in obj ) { return false; } return true; }, // Evaluates a script in a provided context; falls back to the global one // if not specified. globalEval: function( code, options, doc ) { DOMEval( code, { nonce: options && options.nonce }, doc ); }, each: function( obj, callback ) { var length, i = 0; if ( isArrayLike( obj ) ) { length = obj.length; for ( ; i < length; i++ ) { if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { break; } } } else { for ( i in obj ) { if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { break; } } } return obj; }, // results is for internal usage only makeArray: function( arr, results ) { var ret = results || []; if ( arr != null ) { if ( isArrayLike( Object( arr ) ) ) { jQuery.merge( ret, typeof arr === "string" ? [ arr ] : arr ); } else { push.call( ret, arr ); } } return ret; }, inArray: function( elem, arr, i ) { return arr == null ? -1 : indexOf.call( arr, elem, i ); }, // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit merge: function( first, second ) { var len = +second.length, j = 0, i = first.length; for ( ; j < len; j++ ) { first[ i++ ] = second[ j ]; } first.length = i; return first; }, grep: function( elems, callback, invert ) { var callbackInverse, matches = [], i = 0, length = elems.length, callbackExpect = !invert; // Go through the array, only saving the items // that pass the validator function for ( ; i < length; i++ ) { callbackInverse = !callback( elems[ i ], i ); if ( callbackInverse !== callbackExpect ) { matches.push( elems[ i ] ); } } return matches; }, // arg is for internal usage only map: function( elems, callback, arg ) { var length, value, i = 0, ret = []; // Go through the array, translating each of the items to their new values if ( isArrayLike( elems ) ) { length = elems.length; for ( ; i < length; i++ ) { value = callback( elems[ i ], i, arg ); if ( value != null ) { ret.push( value ); } } // Go through every key on the object, } else { for ( i in elems ) { value = callback( elems[ i ], i, arg ); if ( value != null ) { ret.push( value ); } } } // Flatten any nested arrays return flat( ret ); }, // A global GUID counter for objects guid: 1, // jQuery.support is not used in Core but other projects attach their // properties to it so it needs to exist. support: support } ); if ( typeof Symbol === "function" ) { jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; } // Populate the class2type map jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), function( _i, name ) { class2type[ "[object " + name + "]" ] = name.toLowerCase(); } ); function isArrayLike( obj ) { // Support: real iOS 8.2 only (not reproducible in simulator) // `in` check used to prevent JIT error (gh-2145) // hasOwn isn't used here due to false negatives // regarding Nodelist length in IE var length = !!obj && "length" in obj && obj.length, type = toType( obj ); if ( isFunction( obj ) || isWindow( obj ) ) { return false; } return type === "array" || length === 0 || typeof length === "number" && length > 0 && ( length - 1 ) in obj; } var Sizzle = /*! * Sizzle CSS Selector Engine v2.3.6 * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://js.foundation/ * * Date: 2021-02-16 */ ( function( window ) { var i, support, Expr, getText, isXML, tokenize, compile, select, outermostContext, sortInput, hasDuplicate, // Local document vars setDocument, document, docElem, documentIsHTML, rbuggyQSA, rbuggyMatches, matches, contains, // Instance-specific data expando = "sizzle" + 1 * new Date(), preferredDoc = window.document, dirruns = 0, done = 0, classCache = createCache(), tokenCache = createCache(), compilerCache = createCache(), nonnativeSelectorCache = createCache(), sortOrder = function( a, b ) { if ( a === b ) { hasDuplicate = true; } return 0; }, // Instance methods hasOwn = ( {} ).hasOwnProperty, arr = [], pop = arr.pop, pushNative = arr.push, push = arr.push, slice = arr.slice, // Use a stripped-down indexOf as it's faster than native // https://jsperf.com/thor-indexof-vs-for/5 indexOf = function( list, elem ) { var i = 0, len = list.length; for ( ; i < len; i++ ) { if ( list[ i ] === elem ) { return i; } } return -1; }, booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + "ismap|loop|multiple|open|readonly|required|scoped", // Regular expressions // http://www.w3.org/TR/css3-selectors/#whitespace whitespace = "[\\x20\\t\\r\\n\\f]", // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + // Operator (capture 2) "*([*^$|!~]?=)" + whitespace + // "Attribute values must be CSS identifiers [capture 5] // or strings [capture 3 or capture 4]" "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + "*\\]", pseudos = ":(" + identifier + ")(?:\\((" + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: // 1. quoted (capture 3; capture 4 or capture 5) "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + // 2. simple (capture 6) "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + // 3. anything else (capture 2) ".*" + ")\\)|)", // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter rwhitespace = new RegExp( whitespace + "+", "g" ), rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), rdescend = new RegExp( whitespace + "|>" ), rpseudo = new RegExp( pseudos ), ridentifier = new RegExp( "^" + identifier + "$" ), matchExpr = { "ID": new RegExp( "^#(" + identifier + ")" ), "CLASS": new RegExp( "^\\.(" + identifier + ")" ), "TAG": new RegExp( "^(" + identifier + "|[*])" ), "ATTR": new RegExp( "^" + attributes ), "PSEUDO": new RegExp( "^" + pseudos ), "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), // For use in libraries implementing .is() // We use this for POS matching in `select` "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) }, rhtml = /HTML$/i, rinputs = /^(?:input|select|textarea|button)$/i, rheader = /^h\d$/i, rnative = /^[^{]+\{\s*\[native \w/, // Easily-parseable/retrievable ID or TAG or CLASS selectors rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, rsibling = /[+~]/, // CSS escapes // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), funescape = function( escape, nonHex ) { var high = "0x" + escape.slice( 1 ) - 0x10000; return nonHex ? // Strip the backslash prefix from a non-hex escape sequence nonHex : // Replace a hexadecimal escape sequence with the encoded Unicode code point // Support: IE <=11+ // For values outside the Basic Multilingual Plane (BMP), manually construct a // surrogate pair high < 0 ? String.fromCharCode( high + 0x10000 ) : String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); }, // CSS string/identifier serialization // https://drafts.csswg.org/cssom/#common-serializing-idioms rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, fcssescape = function( ch, asCodePoint ) { if ( asCodePoint ) { // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER if ( ch === "\0" ) { return "\uFFFD"; } // Control characters and (dependent upon position) numbers get escaped as code points return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; } // Other potentially-special ASCII characters get backslash-escaped return "\\" + ch; }, // Used for iframes // See setDocument() // Removing the function wrapper causes a "Permission Denied" // error in IE unloadHandler = function() { setDocument(); }, inDisabledFieldset = addCombinator( function( elem ) { return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; }, { dir: "parentNode", next: "legend" } ); // Optimize for push.apply( _, NodeList ) try { push.apply( ( arr = slice.call( preferredDoc.childNodes ) ), preferredDoc.childNodes ); // Support: Android<4.0 // Detect silently failing push.apply // eslint-disable-next-line no-unused-expressions arr[ preferredDoc.childNodes.length ].nodeType; } catch ( e ) { push = { apply: arr.length ? // Leverage slice if possible function( target, els ) { pushNative.apply( target, slice.call( els ) ); } : // Support: IE<9 // Otherwise append directly function( target, els ) { var j = target.length, i = 0; // Can't trust NodeList.length while ( ( target[ j++ ] = els[ i++ ] ) ) {} target.length = j - 1; } }; } function Sizzle( selector, context, results, seed ) { var m, i, elem, nid, match, groups, newSelector, newContext = context && context.ownerDocument, // nodeType defaults to 9, since context defaults to document nodeType = context ? context.nodeType : 9; results = results || []; // Return early from calls with invalid selector or context if ( typeof selector !== "string" || !selector || nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { return results; } // Try to shortcut find operations (as opposed to filters) in HTML documents if ( !seed ) { setDocument( context ); context = context || document; if ( documentIsHTML ) { // If the selector is sufficiently simple, try using a "get*By*" DOM method // (excepting DocumentFragment context, where the methods don't exist) if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { // ID selector if ( ( m = match[ 1 ] ) ) { // Document context if ( nodeType === 9 ) { if ( ( elem = context.getElementById( m ) ) ) { // Support: IE, Opera, Webkit // TODO: identify versions // getElementById can match elements by name instead of ID if ( elem.id === m ) { results.push( elem ); return results; } } else { return results; } // Element context } else { // Support: IE, Opera, Webkit // TODO: identify versions // getElementById can match elements by name instead of ID if ( newContext && ( elem = newContext.getElementById( m ) ) && contains( context, elem ) && elem.id === m ) { results.push( elem ); return results; } } // Type selector } else if ( match[ 2 ] ) { push.apply( results, context.getElementsByTagName( selector ) ); return results; // Class selector } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && context.getElementsByClassName ) { push.apply( results, context.getElementsByClassName( m ) ); return results; } } // Take advantage of querySelectorAll if ( support.qsa && !nonnativeSelectorCache[ selector + " " ] && ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && // Support: IE 8 only // Exclude object elements ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { newSelector = selector; newContext = context; // qSA considers elements outside a scoping root when evaluating child or // descendant combinators, which is not what we want. // In such cases, we work around the behavior by prefixing every selector in the // list with an ID selector referencing the scope context. // The technique has to be used as well when a leading combinator is used // as such selectors are not recognized by querySelectorAll. // Thanks to Andrew Dupont for this technique. if ( nodeType === 1 && ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { // Expand context for sibling selectors newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; // We can use :scope instead of the ID hack if the browser // supports it & if we're not changing the context. if ( newContext !== context || !support.scope ) { // Capture the context ID, setting it first if necessary if ( ( nid = context.getAttribute( "id" ) ) ) { nid = nid.replace( rcssescape, fcssescape ); } else { context.setAttribute( "id", ( nid = expando ) ); } } // Prefix every selector in the list groups = tokenize( selector ); i = groups.length; while ( i-- ) { groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + toSelector( groups[ i ] ); } newSelector = groups.join( "," ); } try { push.apply( results, newContext.querySelectorAll( newSelector ) ); return results; } catch ( qsaError ) { nonnativeSelectorCache( selector, true ); } finally { if ( nid === expando ) { context.removeAttribute( "id" ); } } } } } // All others return select( selector.replace( rtrim, "$1" ), context, results, seed ); } /** * Create key-value caches of limited size * @returns {function(string, object)} Returns the Object data after storing it on itself with * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) * deleting the oldest entry */ function createCache() { var keys = []; function cache( key, value ) { // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) if ( keys.push( key + " " ) > Expr.cacheLength ) { // Only keep the most recent entries delete cache[ keys.shift() ]; } return ( cache[ key + " " ] = value ); } return cache; } /** * Mark a function for special use by Sizzle * @param {Function} fn The function to mark */ function markFunction( fn ) { fn[ expando ] = true; return fn; } /** * Support testing using an element * @param {Function} fn Passed the created element and returns a boolean result */ function assert( fn ) { var el = document.createElement( "fieldset" ); try { return !!fn( el ); } catch ( e ) { return false; } finally { // Remove from its parent by default if ( el.parentNode ) { el.parentNode.removeChild( el ); } // release memory in IE el = null; } } /** * Adds the same handler for all of the specified attrs * @param {String} attrs Pipe-separated list of attributes * @param {Function} handler The method that will be applied */ function addHandle( attrs, handler ) { var arr = attrs.split( "|" ), i = arr.length; while ( i-- ) { Expr.attrHandle[ arr[ i ] ] = handler; } } /** * Checks document order of two siblings * @param {Element} a * @param {Element} b * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b */ function siblingCheck( a, b ) { var cur = b && a, diff = cur && a.nodeType === 1 && b.nodeType === 1 && a.sourceIndex - b.sourceIndex; // Use IE sourceIndex if available on both nodes if ( diff ) { return diff; } // Check if b follows a if ( cur ) { while ( ( cur = cur.nextSibling ) ) { if ( cur === b ) { return -1; } } } return a ? 1 : -1; } /** * Returns a function to use in pseudos for input types * @param {String} type */ function createInputPseudo( type ) { return function( elem ) { var name = elem.nodeName.toLowerCase(); return name === "input" && elem.type === type; }; } /** * Returns a function to use in pseudos for buttons * @param {String} type */ function createButtonPseudo( type ) { return function( elem ) { var name = elem.nodeName.toLowerCase(); return ( name === "input" || name === "button" ) && elem.type === type; }; } /** * Returns a function to use in pseudos for :enabled/:disabled * @param {Boolean} disabled true for :disabled; false for :enabled */ function createDisabledPseudo( disabled ) { // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable return function( elem ) { // Only certain elements can match :enabled or :disabled // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled if ( "form" in elem ) { // Check for inherited disabledness on relevant non-disabled elements: // * listed form-associated elements in a disabled fieldset // https://html.spec.whatwg.org/multipage/forms.html#category-listed // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled // * option elements in a disabled optgroup // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled // All such elements have a "form" property. if ( elem.parentNode && elem.disabled === false ) { // Option elements defer to a parent optgroup if present if ( "label" in elem ) { if ( "label" in elem.parentNode ) { return elem.parentNode.disabled === disabled; } else { return elem.disabled === disabled; } } // Support: IE 6 - 11 // Use the isDisabled shortcut property to check for disabled fieldset ancestors return elem.isDisabled === disabled || // Where there is no isDisabled, check manually /* jshint -W018 */ elem.isDisabled !== !disabled && inDisabledFieldset( elem ) === disabled; } return elem.disabled === disabled; // Try to winnow out elements that can't be disabled before trusting the disabled property. // Some victims get caught in our net (label, legend, menu, track), but it shouldn't // even exist on them, let alone have a boolean value. } else if ( "label" in elem ) { return elem.disabled === disabled; } // Remaining elements are neither :enabled nor :disabled return false; }; } /** * Returns a function to use in pseudos for positionals * @param {Function} fn */ function createPositionalPseudo( fn ) { return markFunction( function( argument ) { argument = +argument; return markFunction( function( seed, matches ) { var j, matchIndexes = fn( [], seed.length, argument ), i = matchIndexes.length; // Match elements found at the specified indexes while ( i-- ) { if ( seed[ ( j = matchIndexes[ i ] ) ] ) { seed[ j ] = !( matches[ j ] = seed[ j ] ); } } } ); } ); } /** * Checks a node for validity as a Sizzle context * @param {Element|Object=} context * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value */ function testContext( context ) { return context && typeof context.getElementsByTagName !== "undefined" && context; } // Expose support vars for convenience support = Sizzle.support = {}; /** * Detects XML nodes * @param {Element|Object} elem An element or a document * @returns {Boolean} True iff elem is a non-HTML XML node */ isXML = Sizzle.isXML = function( elem ) { var namespace = elem && elem.namespaceURI, docElem = elem && ( elem.ownerDocument || elem ).documentElement; // Support: IE <=8 // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes // https://bugs.jquery.com/ticket/4833 return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); }; /** * Sets document-related variables once based on the current document * @param {Element|Object} [doc] An element or document object to use to set the document * @returns {Object} Returns the current document */ setDocument = Sizzle.setDocument = function( node ) { var hasCompare, subWindow, doc = node ? node.ownerDocument || node : preferredDoc; // Return early if doc is invalid or already selected // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { return document; } // Update global variables document = doc; docElem = document.documentElement; documentIsHTML = !isXML( document ); // Support: IE 9 - 11+, Edge 12 - 18+ // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( preferredDoc != document && ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { // Support: IE 11, Edge if ( subWindow.addEventListener ) { subWindow.addEventListener( "unload", unloadHandler, false ); // Support: IE 9 - 10 only } else if ( subWindow.attachEvent ) { subWindow.attachEvent( "onunload", unloadHandler ); } } // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, // Safari 4 - 5 only, Opera <=11.6 - 12.x only // IE/Edge & older browsers don't support the :scope pseudo-class. // Support: Safari 6.0 only // Safari 6.0 supports :scope but it's an alias of :root there. support.scope = assert( function( el ) { docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); return typeof el.querySelectorAll !== "undefined" && !el.querySelectorAll( ":scope fieldset div" ).length; } ); /* Attributes ---------------------------------------------------------------------- */ // Support: IE<8 // Verify that getAttribute really returns attributes and not properties // (excepting IE8 booleans) support.attributes = assert( function( el ) { el.className = "i"; return !el.getAttribute( "className" ); } ); /* getElement(s)By* ---------------------------------------------------------------------- */ // Check if getElementsByTagName("*") returns only elements support.getElementsByTagName = assert( function( el ) { el.appendChild( document.createComment( "" ) ); return !el.getElementsByTagName( "*" ).length; } ); // Support: IE<9 support.getElementsByClassName = rnative.test( document.getElementsByClassName ); // Support: IE<10 // Check if getElementById returns elements by name // The broken getElementById methods don't pick up programmatically-set names, // so use a roundabout getElementsByName test support.getById = assert( function( el ) { docElem.appendChild( el ).id = expando; return !document.getElementsByName || !document.getElementsByName( expando ).length; } ); // ID filter and find if ( support.getById ) { Expr.filter[ "ID" ] = function( id ) { var attrId = id.replace( runescape, funescape ); return function( elem ) { return elem.getAttribute( "id" ) === attrId; }; }; Expr.find[ "ID" ] = function( id, context ) { if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { var elem = context.getElementById( id ); return elem ? [ elem ] : []; } }; } else { Expr.filter[ "ID" ] = function( id ) { var attrId = id.replace( runescape, funescape ); return function( elem ) { var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode( "id" ); return node && node.value === attrId; }; }; // Support: IE 6 - 7 only // getElementById is not reliable as a find shortcut Expr.find[ "ID" ] = function( id, context ) { if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { var node, i, elems, elem = context.getElementById( id ); if ( elem ) { // Verify the id attribute node = elem.getAttributeNode( "id" ); if ( node && node.value === id ) { return [ elem ]; } // Fall back on getElementsByName elems = context.getElementsByName( id ); i = 0; while ( ( elem = elems[ i++ ] ) ) { node = elem.getAttributeNode( "id" ); if ( node && node.value === id ) { return [ elem ]; } } } return []; } }; } // Tag Expr.find[ "TAG" ] = support.getElementsByTagName ? function( tag, context ) { if ( typeof context.getElementsByTagName !== "undefined" ) { return context.getElementsByTagName( tag ); // DocumentFragment nodes don't have gEBTN } else if ( support.qsa ) { return context.querySelectorAll( tag ); } } : function( tag, context ) { var elem, tmp = [], i = 0, // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too results = context.getElementsByTagName( tag ); // Filter out possible comments if ( tag === "*" ) { while ( ( elem = results[ i++ ] ) ) { if ( elem.nodeType === 1 ) { tmp.push( elem ); } } return tmp; } return results; }; // Class Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { return context.getElementsByClassName( className ); } }; /* QSA/matchesSelector ---------------------------------------------------------------------- */ // QSA and matchesSelector support // matchesSelector(:active) reports false when true (IE9/Opera 11.5) rbuggyMatches = []; // qSa(:focus) reports false when true (Chrome 21) // We allow this because of a bug in IE8/9 that throws an error // whenever `document.activeElement` is accessed on an iframe // So, we allow :focus to pass through QSA all the time to avoid the IE error // See https://bugs.jquery.com/ticket/13378 rbuggyQSA = []; if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { // Build QSA regex // Regex strategy adopted from Diego Perini assert( function( el ) { var input; // Select is set to empty string on purpose // This is to test IE's treatment of not explicitly // setting a boolean content attribute, // since its presence should be enough // https://bugs.jquery.com/ticket/12359 docElem.appendChild( el ).innerHTML = "" + ""; // Support: IE8, Opera 11-12.16 // Nothing should be selected when empty strings follow ^= or $= or *= // The test attribute must be unknown in Opera but "safe" for WinRT // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); } // Support: IE8 // Boolean attributes and "value" are not treated correctly if ( !el.querySelectorAll( "[selected]" ).length ) { rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); } // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { rbuggyQSA.push( "~=" ); } // Support: IE 11+, Edge 15 - 18+ // IE 11/Edge don't find elements on a `[name='']` query in some cases. // Adding a temporary attribute to the document before the selection works // around the issue. // Interestingly, IE 10 & older don't seem to have the issue. input = document.createElement( "input" ); input.setAttribute( "name", "" ); el.appendChild( input ); if ( !el.querySelectorAll( "[name='']" ).length ) { rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + whitespace + "*(?:''|\"\")" ); } // Webkit/Opera - :checked should return selected option elements // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked // IE8 throws error here and will not see later tests if ( !el.querySelectorAll( ":checked" ).length ) { rbuggyQSA.push( ":checked" ); } // Support: Safari 8+, iOS 8+ // https://bugs.webkit.org/show_bug.cgi?id=136851 // In-page `selector#id sibling-combinator selector` fails if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { rbuggyQSA.push( ".#.+[+~]" ); } // Support: Firefox <=3.6 - 5 only // Old Firefox doesn't throw on a badly-escaped identifier. el.querySelectorAll( "\\\f" ); rbuggyQSA.push( "[\\r\\n\\f]" ); } ); assert( function( el ) { el.innerHTML = "" + ""; // Support: Windows 8 Native Apps // The type and name attributes are restricted during .innerHTML assignment var input = document.createElement( "input" ); input.setAttribute( "type", "hidden" ); el.appendChild( input ).setAttribute( "name", "D" ); // Support: IE8 // Enforce case-sensitivity of name attribute if ( el.querySelectorAll( "[name=d]" ).length ) { rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); } // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) // IE8 throws error here and will not see later tests if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { rbuggyQSA.push( ":enabled", ":disabled" ); } // Support: IE9-11+ // IE's :disabled selector does not pick up the children of disabled fieldsets docElem.appendChild( el ).disabled = true; if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { rbuggyQSA.push( ":enabled", ":disabled" ); } // Support: Opera 10 - 11 only // Opera 10-11 does not throw on post-comma invalid pseudos el.querySelectorAll( "*,:x" ); rbuggyQSA.push( ",.*:" ); } ); } if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || docElem.webkitMatchesSelector || docElem.mozMatchesSelector || docElem.oMatchesSelector || docElem.msMatchesSelector ) ) ) ) { assert( function( el ) { // Check to see if it's possible to do matchesSelector // on a disconnected node (IE 9) support.disconnectedMatch = matches.call( el, "*" ); // This should fail with an exception // Gecko does not error, returns false instead matches.call( el, "[s!='']:x" ); rbuggyMatches.push( "!=", pseudos ); } ); } rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); /* Contains ---------------------------------------------------------------------- */ hasCompare = rnative.test( docElem.compareDocumentPosition ); // Element contains another // Purposefully self-exclusive // As in, an element does not contain itself contains = hasCompare || rnative.test( docElem.contains ) ? function( a, b ) { var adown = a.nodeType === 9 ? a.documentElement : a, bup = b && b.parentNode; return a === bup || !!( bup && bup.nodeType === 1 && ( adown.contains ? adown.contains( bup ) : a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 ) ); } : function( a, b ) { if ( b ) { while ( ( b = b.parentNode ) ) { if ( b === a ) { return true; } } } return false; }; /* Sorting ---------------------------------------------------------------------- */ // Document order sorting sortOrder = hasCompare ? function( a, b ) { // Flag for duplicate removal if ( a === b ) { hasDuplicate = true; return 0; } // Sort on method existence if only one input has compareDocumentPosition var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; if ( compare ) { return compare; } // Calculate position if both inputs belong to the same document // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? a.compareDocumentPosition( b ) : // Otherwise we know they are disconnected 1; // Disconnected nodes if ( compare & 1 || ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { // Choose the first element that is related to our preferred document // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( a == document || a.ownerDocument == preferredDoc && contains( preferredDoc, a ) ) { return -1; } // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( b == document || b.ownerDocument == preferredDoc && contains( preferredDoc, b ) ) { return 1; } // Maintain original order return sortInput ? ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : 0; } return compare & 4 ? -1 : 1; } : function( a, b ) { // Exit early if the nodes are identical if ( a === b ) { hasDuplicate = true; return 0; } var cur, i = 0, aup = a.parentNode, bup = b.parentNode, ap = [ a ], bp = [ b ]; // Parentless nodes are either documents or disconnected if ( !aup || !bup ) { // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. /* eslint-disable eqeqeq */ return a == document ? -1 : b == document ? 1 : /* eslint-enable eqeqeq */ aup ? -1 : bup ? 1 : sortInput ? ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : 0; // If the nodes are siblings, we can do a quick check } else if ( aup === bup ) { return siblingCheck( a, b ); } // Otherwise we need full lists of their ancestors for comparison cur = a; while ( ( cur = cur.parentNode ) ) { ap.unshift( cur ); } cur = b; while ( ( cur = cur.parentNode ) ) { bp.unshift( cur ); } // Walk down the tree looking for a discrepancy while ( ap[ i ] === bp[ i ] ) { i++; } return i ? // Do a sibling check if the nodes have a common ancestor siblingCheck( ap[ i ], bp[ i ] ) : // Otherwise nodes in our document sort first // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. /* eslint-disable eqeqeq */ ap[ i ] == preferredDoc ? -1 : bp[ i ] == preferredDoc ? 1 : /* eslint-enable eqeqeq */ 0; }; return document; }; Sizzle.matches = function( expr, elements ) { return Sizzle( expr, null, null, elements ); }; Sizzle.matchesSelector = function( elem, expr ) { setDocument( elem ); if ( support.matchesSelector && documentIsHTML && !nonnativeSelectorCache[ expr + " " ] && ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { try { var ret = matches.call( elem, expr ); // IE 9's matchesSelector returns false on disconnected nodes if ( ret || support.disconnectedMatch || // As well, disconnected nodes are said to be in a document // fragment in IE 9 elem.document && elem.document.nodeType !== 11 ) { return ret; } } catch ( e ) { nonnativeSelectorCache( expr, true ); } } return Sizzle( expr, document, null, [ elem ] ).length > 0; }; Sizzle.contains = function( context, elem ) { // Set document vars if needed // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( ( context.ownerDocument || context ) != document ) { setDocument( context ); } return contains( context, elem ); }; Sizzle.attr = function( elem, name ) { // Set document vars if needed // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( ( elem.ownerDocument || elem ) != document ) { setDocument( elem ); } var fn = Expr.attrHandle[ name.toLowerCase() ], // Don't get fooled by Object.prototype properties (jQuery #13807) val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? fn( elem, name, !documentIsHTML ) : undefined; return val !== undefined ? val : support.attributes || !documentIsHTML ? elem.getAttribute( name ) : ( val = elem.getAttributeNode( name ) ) && val.specified ? val.value : null; }; Sizzle.escape = function( sel ) { return ( sel + "" ).replace( rcssescape, fcssescape ); }; Sizzle.error = function( msg ) { throw new Error( "Syntax error, unrecognized expression: " + msg ); }; /** * Document sorting and removing duplicates * @param {ArrayLike} results */ Sizzle.uniqueSort = function( results ) { var elem, duplicates = [], j = 0, i = 0; // Unless we *know* we can detect duplicates, assume their presence hasDuplicate = !support.detectDuplicates; sortInput = !support.sortStable && results.slice( 0 ); results.sort( sortOrder ); if ( hasDuplicate ) { while ( ( elem = results[ i++ ] ) ) { if ( elem === results[ i ] ) { j = duplicates.push( i ); } } while ( j-- ) { results.splice( duplicates[ j ], 1 ); } } // Clear input after sorting to release objects // See https://github.com/jquery/sizzle/pull/225 sortInput = null; return results; }; /** * Utility function for retrieving the text value of an array of DOM nodes * @param {Array|Element} elem */ getText = Sizzle.getText = function( elem ) { var node, ret = "", i = 0, nodeType = elem.nodeType; if ( !nodeType ) { // If no nodeType, this is expected to be an array while ( ( node = elem[ i++ ] ) ) { // Do not traverse comment nodes ret += getText( node ); } } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { // Use textContent for elements // innerText usage removed for consistency of new lines (jQuery #11153) if ( typeof elem.textContent === "string" ) { return elem.textContent; } else { // Traverse its children for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { ret += getText( elem ); } } } else if ( nodeType === 3 || nodeType === 4 ) { return elem.nodeValue; } // Do not include comment or processing instruction nodes return ret; }; Expr = Sizzle.selectors = { // Can be adjusted by the user cacheLength: 50, createPseudo: markFunction, match: matchExpr, attrHandle: {}, find: {}, relative: { ">": { dir: "parentNode", first: true }, " ": { dir: "parentNode" }, "+": { dir: "previousSibling", first: true }, "~": { dir: "previousSibling" } }, preFilter: { "ATTR": function( match ) { match[ 1 ] = match[ 1 ].replace( runescape, funescape ); // Move the given value to match[3] whether quoted or unquoted match[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || "" ).replace( runescape, funescape ); if ( match[ 2 ] === "~=" ) { match[ 3 ] = " " + match[ 3 ] + " "; } return match.slice( 0, 4 ); }, "CHILD": function( match ) { /* matches from matchExpr["CHILD"] 1 type (only|nth|...) 2 what (child|of-type) 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) 4 xn-component of xn+y argument ([+-]?\d*n|) 5 sign of xn-component 6 x of xn-component 7 sign of y-component 8 y of y-component */ match[ 1 ] = match[ 1 ].toLowerCase(); if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { // nth-* requires argument if ( !match[ 3 ] ) { Sizzle.error( match[ 0 ] ); } // numeric x and y parameters for Expr.filter.CHILD // remember that false/true cast respectively to 0/1 match[ 4 ] = +( match[ 4 ] ? match[ 5 ] + ( match[ 6 ] || 1 ) : 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); // other types prohibit arguments } else if ( match[ 3 ] ) { Sizzle.error( match[ 0 ] ); } return match; }, "PSEUDO": function( match ) { var excess, unquoted = !match[ 6 ] && match[ 2 ]; if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { return null; } // Accept quoted arguments as-is if ( match[ 3 ] ) { match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; // Strip excess characters from unquoted arguments } else if ( unquoted && rpseudo.test( unquoted ) && // Get excess from tokenize (recursively) ( excess = tokenize( unquoted, true ) ) && // advance to the next closing parenthesis ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { // excess is a negative index match[ 0 ] = match[ 0 ].slice( 0, excess ); match[ 2 ] = unquoted.slice( 0, excess ); } // Return only captures needed by the pseudo filter method (type and argument) return match.slice( 0, 3 ); } }, filter: { "TAG": function( nodeNameSelector ) { var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); return nodeNameSelector === "*" ? function() { return true; } : function( elem ) { return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; }; }, "CLASS": function( className ) { var pattern = classCache[ className + " " ]; return pattern || ( pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( className, function( elem ) { return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute( "class" ) || "" ); } ); }, "ATTR": function( name, operator, check ) { return function( elem ) { var result = Sizzle.attr( elem, name ); if ( result == null ) { return operator === "!="; } if ( !operator ) { return true; } result += ""; /* eslint-disable max-len */ return operator === "=" ? result === check : operator === "!=" ? result !== check : operator === "^=" ? check && result.indexOf( check ) === 0 : operator === "*=" ? check && result.indexOf( check ) > -1 : operator === "$=" ? check && result.slice( -check.length ) === check : operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : false; /* eslint-enable max-len */ }; }, "CHILD": function( type, what, _argument, first, last ) { var simple = type.slice( 0, 3 ) !== "nth", forward = type.slice( -4 ) !== "last", ofType = what === "of-type"; return first === 1 && last === 0 ? // Shortcut for :nth-*(n) function( elem ) { return !!elem.parentNode; } : function( elem, _context, xml ) { var cache, uniqueCache, outerCache, node, nodeIndex, start, dir = simple !== forward ? "nextSibling" : "previousSibling", parent = elem.parentNode, name = ofType && elem.nodeName.toLowerCase(), useCache = !xml && !ofType, diff = false; if ( parent ) { // :(first|last|only)-(child|of-type) if ( simple ) { while ( dir ) { node = elem; while ( ( node = node[ dir ] ) ) { if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { return false; } } // Reverse direction for :only-* (if we haven't yet done so) start = dir = type === "only" && !start && "nextSibling"; } return true; } start = [ forward ? parent.firstChild : parent.lastChild ]; // non-xml :nth-child(...) stores cache data on `parent` if ( forward && useCache ) { // Seek `elem` from a previously-cached index // ...in a gzip-friendly way node = parent; outerCache = node[ expando ] || ( node[ expando ] = {} ); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ node.uniqueID ] || ( outerCache[ node.uniqueID ] = {} ); cache = uniqueCache[ type ] || []; nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; diff = nodeIndex && cache[ 2 ]; node = nodeIndex && parent.childNodes[ nodeIndex ]; while ( ( node = ++nodeIndex && node && node[ dir ] || // Fallback to seeking `elem` from the start ( diff = nodeIndex = 0 ) || start.pop() ) ) { // When found, cache indexes on `parent` and break if ( node.nodeType === 1 && ++diff && node === elem ) { uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; break; } } } else { // Use previously-cached element index if available if ( useCache ) { // ...in a gzip-friendly way node = elem; outerCache = node[ expando ] || ( node[ expando ] = {} ); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ node.uniqueID ] || ( outerCache[ node.uniqueID ] = {} ); cache = uniqueCache[ type ] || []; nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; diff = nodeIndex; } // xml :nth-child(...) // or :nth-last-child(...) or :nth(-last)?-of-type(...) if ( diff === false ) { // Use the same loop as above to seek `elem` from the start while ( ( node = ++nodeIndex && node && node[ dir ] || ( diff = nodeIndex = 0 ) || start.pop() ) ) { if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { // Cache the index of each encountered element if ( useCache ) { outerCache = node[ expando ] || ( node[ expando ] = {} ); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ node.uniqueID ] || ( outerCache[ node.uniqueID ] = {} ); uniqueCache[ type ] = [ dirruns, diff ]; } if ( node === elem ) { break; } } } } } // Incorporate the offset, then check against cycle size diff -= last; return diff === first || ( diff % first === 0 && diff / first >= 0 ); } }; }, "PSEUDO": function( pseudo, argument ) { // pseudo-class names are case-insensitive // http://www.w3.org/TR/selectors/#pseudo-classes // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters // Remember that setFilters inherits from pseudos var args, fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || Sizzle.error( "unsupported pseudo: " + pseudo ); // The user may use createPseudo to indicate that // arguments are needed to create the filter function // just as Sizzle does if ( fn[ expando ] ) { return fn( argument ); } // But maintain support for old signatures if ( fn.length > 1 ) { args = [ pseudo, pseudo, "", argument ]; return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? markFunction( function( seed, matches ) { var idx, matched = fn( seed, argument ), i = matched.length; while ( i-- ) { idx = indexOf( seed, matched[ i ] ); seed[ idx ] = !( matches[ idx ] = matched[ i ] ); } } ) : function( elem ) { return fn( elem, 0, args ); }; } return fn; } }, pseudos: { // Potentially complex pseudos "not": markFunction( function( selector ) { // Trim the selector passed to compile // to avoid treating leading and trailing // spaces as combinators var input = [], results = [], matcher = compile( selector.replace( rtrim, "$1" ) ); return matcher[ expando ] ? markFunction( function( seed, matches, _context, xml ) { var elem, unmatched = matcher( seed, null, xml, [] ), i = seed.length; // Match elements unmatched by `matcher` while ( i-- ) { if ( ( elem = unmatched[ i ] ) ) { seed[ i ] = !( matches[ i ] = elem ); } } } ) : function( elem, _context, xml ) { input[ 0 ] = elem; matcher( input, null, xml, results ); // Don't keep the element (issue #299) input[ 0 ] = null; return !results.pop(); }; } ), "has": markFunction( function( selector ) { return function( elem ) { return Sizzle( selector, elem ).length > 0; }; } ), "contains": markFunction( function( text ) { text = text.replace( runescape, funescape ); return function( elem ) { return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; }; } ), // "Whether an element is represented by a :lang() selector // is based solely on the element's language value // being equal to the identifier C, // or beginning with the identifier C immediately followed by "-". // The matching of C against the element's language value is performed case-insensitively. // The identifier C does not have to be a valid language name." // http://www.w3.org/TR/selectors/#lang-pseudo "lang": markFunction( function( lang ) { // lang value must be a valid identifier if ( !ridentifier.test( lang || "" ) ) { Sizzle.error( "unsupported lang: " + lang ); } lang = lang.replace( runescape, funescape ).toLowerCase(); return function( elem ) { var elemLang; do { if ( ( elemLang = documentIsHTML ? elem.lang : elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { elemLang = elemLang.toLowerCase(); return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; } } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); return false; }; } ), // Miscellaneous "target": function( elem ) { var hash = window.location && window.location.hash; return hash && hash.slice( 1 ) === elem.id; }, "root": function( elem ) { return elem === docElem; }, "focus": function( elem ) { return elem === document.activeElement && ( !document.hasFocus || document.hasFocus() ) && !!( elem.type || elem.href || ~elem.tabIndex ); }, // Boolean properties "enabled": createDisabledPseudo( false ), "disabled": createDisabledPseudo( true ), "checked": function( elem ) { // In CSS3, :checked should return both checked and selected elements // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked var nodeName = elem.nodeName.toLowerCase(); return ( nodeName === "input" && !!elem.checked ) || ( nodeName === "option" && !!elem.selected ); }, "selected": function( elem ) { // Accessing this property makes selected-by-default // options in Safari work properly if ( elem.parentNode ) { // eslint-disable-next-line no-unused-expressions elem.parentNode.selectedIndex; } return elem.selected === true; }, // Contents "empty": function( elem ) { // http://www.w3.org/TR/selectors/#empty-pseudo // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), // but not by others (comment: 8; processing instruction: 7; etc.) // nodeType < 6 works because attributes (2) do not appear as children for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { if ( elem.nodeType < 6 ) { return false; } } return true; }, "parent": function( elem ) { return !Expr.pseudos[ "empty" ]( elem ); }, // Element/input types "header": function( elem ) { return rheader.test( elem.nodeName ); }, "input": function( elem ) { return rinputs.test( elem.nodeName ); }, "button": function( elem ) { var name = elem.nodeName.toLowerCase(); return name === "input" && elem.type === "button" || name === "button"; }, "text": function( elem ) { var attr; return elem.nodeName.toLowerCase() === "input" && elem.type === "text" && // Support: IE<8 // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" ( ( attr = elem.getAttribute( "type" ) ) == null || attr.toLowerCase() === "text" ); }, // Position-in-collection "first": createPositionalPseudo( function() { return [ 0 ]; } ), "last": createPositionalPseudo( function( _matchIndexes, length ) { return [ length - 1 ]; } ), "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { return [ argument < 0 ? argument + length : argument ]; } ), "even": createPositionalPseudo( function( matchIndexes, length ) { var i = 0; for ( ; i < length; i += 2 ) { matchIndexes.push( i ); } return matchIndexes; } ), "odd": createPositionalPseudo( function( matchIndexes, length ) { var i = 1; for ( ; i < length; i += 2 ) { matchIndexes.push( i ); } return matchIndexes; } ), "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { var i = argument < 0 ? argument + length : argument > length ? length : argument; for ( ; --i >= 0; ) { matchIndexes.push( i ); } return matchIndexes; } ), "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { var i = argument < 0 ? argument + length : argument; for ( ; ++i < length; ) { matchIndexes.push( i ); } return matchIndexes; } ) } }; Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; // Add button/input type pseudos for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { Expr.pseudos[ i ] = createInputPseudo( i ); } for ( i in { submit: true, reset: true } ) { Expr.pseudos[ i ] = createButtonPseudo( i ); } // Easy API for creating new setFilters function setFilters() {} setFilters.prototype = Expr.filters = Expr.pseudos; Expr.setFilters = new setFilters(); tokenize = Sizzle.tokenize = function( selector, parseOnly ) { var matched, match, tokens, type, soFar, groups, preFilters, cached = tokenCache[ selector + " " ]; if ( cached ) { return parseOnly ? 0 : cached.slice( 0 ); } soFar = selector; groups = []; preFilters = Expr.preFilter; while ( soFar ) { // Comma and first run if ( !matched || ( match = rcomma.exec( soFar ) ) ) { if ( match ) { // Don't consume trailing commas as valid soFar = soFar.slice( match[ 0 ].length ) || soFar; } groups.push( ( tokens = [] ) ); } matched = false; // Combinators if ( ( match = rcombinators.exec( soFar ) ) ) { matched = match.shift(); tokens.push( { value: matched, // Cast descendant combinators to space type: match[ 0 ].replace( rtrim, " " ) } ); soFar = soFar.slice( matched.length ); } // Filters for ( type in Expr.filter ) { if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || ( match = preFilters[ type ]( match ) ) ) ) { matched = match.shift(); tokens.push( { value: matched, type: type, matches: match } ); soFar = soFar.slice( matched.length ); } } if ( !matched ) { break; } } // Return the length of the invalid excess // if we're just parsing // Otherwise, throw an error or return tokens return parseOnly ? soFar.length : soFar ? Sizzle.error( selector ) : // Cache the tokens tokenCache( selector, groups ).slice( 0 ); }; function toSelector( tokens ) { var i = 0, len = tokens.length, selector = ""; for ( ; i < len; i++ ) { selector += tokens[ i ].value; } return selector; } function addCombinator( matcher, combinator, base ) { var dir = combinator.dir, skip = combinator.next, key = skip || dir, checkNonElements = base && key === "parentNode", doneName = done++; return combinator.first ? // Check against closest ancestor/preceding element function( elem, context, xml ) { while ( ( elem = elem[ dir ] ) ) { if ( elem.nodeType === 1 || checkNonElements ) { return matcher( elem, context, xml ); } } return false; } : // Check against all ancestor/preceding elements function( elem, context, xml ) { var oldCache, uniqueCache, outerCache, newCache = [ dirruns, doneName ]; // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching if ( xml ) { while ( ( elem = elem[ dir ] ) ) { if ( elem.nodeType === 1 || checkNonElements ) { if ( matcher( elem, context, xml ) ) { return true; } } } } else { while ( ( elem = elem[ dir ] ) ) { if ( elem.nodeType === 1 || checkNonElements ) { outerCache = elem[ expando ] || ( elem[ expando ] = {} ); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ elem.uniqueID ] || ( outerCache[ elem.uniqueID ] = {} ); if ( skip && skip === elem.nodeName.toLowerCase() ) { elem = elem[ dir ] || elem; } else if ( ( oldCache = uniqueCache[ key ] ) && oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { // Assign to newCache so results back-propagate to previous elements return ( newCache[ 2 ] = oldCache[ 2 ] ); } else { // Reuse newcache so results back-propagate to previous elements uniqueCache[ key ] = newCache; // A match means we're done; a fail means we have to keep checking if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { return true; } } } } } return false; }; } function elementMatcher( matchers ) { return matchers.length > 1 ? function( elem, context, xml ) { var i = matchers.length; while ( i-- ) { if ( !matchers[ i ]( elem, context, xml ) ) { return false; } } return true; } : matchers[ 0 ]; } function multipleContexts( selector, contexts, results ) { var i = 0, len = contexts.length; for ( ; i < len; i++ ) { Sizzle( selector, contexts[ i ], results ); } return results; } function condense( unmatched, map, filter, context, xml ) { var elem, newUnmatched = [], i = 0, len = unmatched.length, mapped = map != null; for ( ; i < len; i++ ) { if ( ( elem = unmatched[ i ] ) ) { if ( !filter || filter( elem, context, xml ) ) { newUnmatched.push( elem ); if ( mapped ) { map.push( i ); } } } } return newUnmatched; } function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { if ( postFilter && !postFilter[ expando ] ) { postFilter = setMatcher( postFilter ); } if ( postFinder && !postFinder[ expando ] ) { postFinder = setMatcher( postFinder, postSelector ); } return markFunction( function( seed, results, context, xml ) { var temp, i, elem, preMap = [], postMap = [], preexisting = results.length, // Get initial elements from seed or context elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), // Prefilter to get matcher input, preserving a map for seed-results synchronization matcherIn = preFilter && ( seed || !selector ) ? condense( elems, preMap, preFilter, context, xml ) : elems, matcherOut = matcher ? // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, postFinder || ( seed ? preFilter : preexisting || postFilter ) ? // ...intermediate processing is necessary [] : // ...otherwise use results directly results : matcherIn; // Find primary matches if ( matcher ) { matcher( matcherIn, matcherOut, context, xml ); } // Apply postFilter if ( postFilter ) { temp = condense( matcherOut, postMap ); postFilter( temp, [], context, xml ); // Un-match failing elements by moving them back to matcherIn i = temp.length; while ( i-- ) { if ( ( elem = temp[ i ] ) ) { matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); } } } if ( seed ) { if ( postFinder || preFilter ) { if ( postFinder ) { // Get the final matcherOut by condensing this intermediate into postFinder contexts temp = []; i = matcherOut.length; while ( i-- ) { if ( ( elem = matcherOut[ i ] ) ) { // Restore matcherIn since elem is not yet a final match temp.push( ( matcherIn[ i ] = elem ) ); } } postFinder( null, ( matcherOut = [] ), temp, xml ); } // Move matched elements from seed to results to keep them synchronized i = matcherOut.length; while ( i-- ) { if ( ( elem = matcherOut[ i ] ) && ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { seed[ temp ] = !( results[ temp ] = elem ); } } } // Add elements to results, through postFinder if defined } else { matcherOut = condense( matcherOut === results ? matcherOut.splice( preexisting, matcherOut.length ) : matcherOut ); if ( postFinder ) { postFinder( null, results, matcherOut, xml ); } else { push.apply( results, matcherOut ); } } } ); } function matcherFromTokens( tokens ) { var checkContext, matcher, j, len = tokens.length, leadingRelative = Expr.relative[ tokens[ 0 ].type ], implicitRelative = leadingRelative || Expr.relative[ " " ], i = leadingRelative ? 1 : 0, // The foundational matcher ensures that elements are reachable from top-level context(s) matchContext = addCombinator( function( elem ) { return elem === checkContext; }, implicitRelative, true ), matchAnyContext = addCombinator( function( elem ) { return indexOf( checkContext, elem ) > -1; }, implicitRelative, true ), matchers = [ function( elem, context, xml ) { var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( ( checkContext = context ).nodeType ? matchContext( elem, context, xml ) : matchAnyContext( elem, context, xml ) ); // Avoid hanging onto element (issue #299) checkContext = null; return ret; } ]; for ( ; i < len; i++ ) { if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; } else { matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); // Return special upon seeing a positional matcher if ( matcher[ expando ] ) { // Find the next relative operator (if any) for proper handling j = ++i; for ( ; j < len; j++ ) { if ( Expr.relative[ tokens[ j ].type ] ) { break; } } return setMatcher( i > 1 && elementMatcher( matchers ), i > 1 && toSelector( // If the preceding token was a descendant combinator, insert an implicit any-element `*` tokens .slice( 0, i - 1 ) .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) ).replace( rtrim, "$1" ), matcher, i < j && matcherFromTokens( tokens.slice( i, j ) ), j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), j < len && toSelector( tokens ) ); } matchers.push( matcher ); } } return elementMatcher( matchers ); } function matcherFromGroupMatchers( elementMatchers, setMatchers ) { var bySet = setMatchers.length > 0, byElement = elementMatchers.length > 0, superMatcher = function( seed, context, xml, results, outermost ) { var elem, j, matcher, matchedCount = 0, i = "0", unmatched = seed && [], setMatched = [], contextBackup = outermostContext, // We must always have either seed elements or outermost context elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), // Use integer dirruns iff this is the outermost matcher dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), len = elems.length; if ( outermost ) { // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq outermostContext = context == document || context || outermost; } // Add elements passing elementMatchers directly to results // Support: IE<9, Safari // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { if ( byElement && elem ) { j = 0; // Support: IE 11+, Edge 17 - 18+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing // two documents; shallow comparisons work. // eslint-disable-next-line eqeqeq if ( !context && elem.ownerDocument != document ) { setDocument( elem ); xml = !documentIsHTML; } while ( ( matcher = elementMatchers[ j++ ] ) ) { if ( matcher( elem, context || document, xml ) ) { results.push( elem ); break; } } if ( outermost ) { dirruns = dirrunsUnique; } } // Track unmatched elements for set filters if ( bySet ) { // They will have gone through all possible matchers if ( ( elem = !matcher && elem ) ) { matchedCount--; } // Lengthen the array for every element, matched or not if ( seed ) { unmatched.push( elem ); } } } // `i` is now the count of elements visited above, and adding it to `matchedCount` // makes the latter nonnegative. matchedCount += i; // Apply set filters to unmatched elements // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` // equals `i`), unless we didn't visit _any_ elements in the above loop because we have // no element matchers and no seed. // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that // case, which will result in a "00" `matchedCount` that differs from `i` but is also // numerically zero. if ( bySet && i !== matchedCount ) { j = 0; while ( ( matcher = setMatchers[ j++ ] ) ) { matcher( unmatched, setMatched, context, xml ); } if ( seed ) { // Reintegrate element matches to eliminate the need for sorting if ( matchedCount > 0 ) { while ( i-- ) { if ( !( unmatched[ i ] || setMatched[ i ] ) ) { setMatched[ i ] = pop.call( results ); } } } // Discard index placeholder values to get only actual matches setMatched = condense( setMatched ); } // Add matches to results push.apply( results, setMatched ); // Seedless set matches succeeding multiple successful matchers stipulate sorting if ( outermost && !seed && setMatched.length > 0 && ( matchedCount + setMatchers.length ) > 1 ) { Sizzle.uniqueSort( results ); } } // Override manipulation of globals by nested matchers if ( outermost ) { dirruns = dirrunsUnique; outermostContext = contextBackup; } return unmatched; }; return bySet ? markFunction( superMatcher ) : superMatcher; } compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { var i, setMatchers = [], elementMatchers = [], cached = compilerCache[ selector + " " ]; if ( !cached ) { // Generate a function of recursive functions that can be used to check each element if ( !match ) { match = tokenize( selector ); } i = match.length; while ( i-- ) { cached = matcherFromTokens( match[ i ] ); if ( cached[ expando ] ) { setMatchers.push( cached ); } else { elementMatchers.push( cached ); } } // Cache the compiled function cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); // Save selector and tokenization cached.selector = selector; } return cached; }; /** * A low-level selection function that works with Sizzle's compiled * selector functions * @param {String|Function} selector A selector or a pre-compiled * selector function built with Sizzle.compile * @param {Element} context * @param {Array} [results] * @param {Array} [seed] A set of elements to match against */ select = Sizzle.select = function( selector, context, results, seed ) { var i, tokens, token, type, find, compiled = typeof selector === "function" && selector, match = !seed && tokenize( ( selector = compiled.selector || selector ) ); results = results || []; // Try to minimize operations if there is only one selector in the list and no seed // (the latter of which guarantees us context) if ( match.length === 1 ) { // Reduce context if the leading compound selector is an ID tokens = match[ 0 ] = match[ 0 ].slice( 0 ); if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { context = ( Expr.find[ "ID" ]( token.matches[ 0 ] .replace( runescape, funescape ), context ) || [] )[ 0 ]; if ( !context ) { return results; // Precompiled matchers will still verify ancestry, so step up a level } else if ( compiled ) { context = context.parentNode; } selector = selector.slice( tokens.shift().value.length ); } // Fetch a seed set for right-to-left matching i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; while ( i-- ) { token = tokens[ i ]; // Abort if we hit a combinator if ( Expr.relative[ ( type = token.type ) ] ) { break; } if ( ( find = Expr.find[ type ] ) ) { // Search, expanding context for leading sibling combinators if ( ( seed = find( token.matches[ 0 ].replace( runescape, funescape ), rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || context ) ) ) { // If seed is empty or no tokens remain, we can return early tokens.splice( i, 1 ); selector = seed.length && toSelector( tokens ); if ( !selector ) { push.apply( results, seed ); return results; } break; } } } } // Compile and execute a filtering function if one is not provided // Provide `match` to avoid retokenization if we modified the selector above ( compiled || compile( selector, match ) )( seed, context, !documentIsHTML, results, !context || rsibling.test( selector ) && testContext( context.parentNode ) || context ); return results; }; // One-time assignments // Sort stability support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; // Support: Chrome 14-35+ // Always assume duplicates if they aren't passed to the comparison function support.detectDuplicates = !!hasDuplicate; // Initialize against the default document setDocument(); // Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) // Detached nodes confoundingly follow *each other* support.sortDetached = assert( function( el ) { // Should return 1, but returns 4 (following) return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; } ); // Support: IE<8 // Prevent attribute/property "interpolation" // https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx if ( !assert( function( el ) { el.innerHTML = ""; return el.firstChild.getAttribute( "href" ) === "#"; } ) ) { addHandle( "type|href|height|width", function( elem, name, isXML ) { if ( !isXML ) { return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); } } ); } // Support: IE<9 // Use defaultValue in place of getAttribute("value") if ( !support.attributes || !assert( function( el ) { el.innerHTML = ""; el.firstChild.setAttribute( "value", "" ); return el.firstChild.getAttribute( "value" ) === ""; } ) ) { addHandle( "value", function( elem, _name, isXML ) { if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { return elem.defaultValue; } } ); } // Support: IE<9 // Use getAttributeNode to fetch booleans when getAttribute lies if ( !assert( function( el ) { return el.getAttribute( "disabled" ) == null; } ) ) { addHandle( booleans, function( elem, name, isXML ) { var val; if ( !isXML ) { return elem[ name ] === true ? name.toLowerCase() : ( val = elem.getAttributeNode( name ) ) && val.specified ? val.value : null; } } ); } return Sizzle; } )( window ); jQuery.find = Sizzle; jQuery.expr = Sizzle.selectors; // Deprecated jQuery.expr[ ":" ] = jQuery.expr.pseudos; jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; jQuery.text = Sizzle.getText; jQuery.isXMLDoc = Sizzle.isXML; jQuery.contains = Sizzle.contains; jQuery.escapeSelector = Sizzle.escape; var dir = function( elem, dir, until ) { var matched = [], truncate = until !== undefined; while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { if ( elem.nodeType === 1 ) { if ( truncate && jQuery( elem ).is( until ) ) { break; } matched.push( elem ); } } return matched; }; var siblings = function( n, elem ) { var matched = []; for ( ; n; n = n.nextSibling ) { if ( n.nodeType === 1 && n !== elem ) { matched.push( n ); } } return matched; }; var rneedsContext = jQuery.expr.match.needsContext; function nodeName( elem, name ) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); } var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); // Implement the identical functionality for filter and not function winnow( elements, qualifier, not ) { if ( isFunction( qualifier ) ) { return jQuery.grep( elements, function( elem, i ) { return !!qualifier.call( elem, i, elem ) !== not; } ); } // Single element if ( qualifier.nodeType ) { return jQuery.grep( elements, function( elem ) { return ( elem === qualifier ) !== not; } ); } // Arraylike of elements (jQuery, arguments, Array) if ( typeof qualifier !== "string" ) { return jQuery.grep( elements, function( elem ) { return ( indexOf.call( qualifier, elem ) > -1 ) !== not; } ); } // Filtered directly for both simple and complex selectors return jQuery.filter( qualifier, elements, not ); } jQuery.filter = function( expr, elems, not ) { var elem = elems[ 0 ]; if ( not ) { expr = ":not(" + expr + ")"; } if ( elems.length === 1 && elem.nodeType === 1 ) { return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; } return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { return elem.nodeType === 1; } ) ); }; jQuery.fn.extend( { find: function( selector ) { var i, ret, len = this.length, self = this; if ( typeof selector !== "string" ) { return this.pushStack( jQuery( selector ).filter( function() { for ( i = 0; i < len; i++ ) { if ( jQuery.contains( self[ i ], this ) ) { return true; } } } ) ); } ret = this.pushStack( [] ); for ( i = 0; i < len; i++ ) { jQuery.find( selector, self[ i ], ret ); } return len > 1 ? jQuery.uniqueSort( ret ) : ret; }, filter: function( selector ) { return this.pushStack( winnow( this, selector || [], false ) ); }, not: function( selector ) { return this.pushStack( winnow( this, selector || [], true ) ); }, is: function( selector ) { return !!winnow( this, // If this is a positional/relative selector, check membership in the returned set // so $("p:first").is("p:last") won't return true for a doc with two "p". typeof selector === "string" && rneedsContext.test( selector ) ? jQuery( selector ) : selector || [], false ).length; } } ); // Initialize a jQuery object // A central reference to the root jQuery(document) var rootjQuery, // A simple way to check for HTML strings // Prioritize #id over to avoid XSS via location.hash (#9521) // Strict HTML recognition (#11290: must start with <) // Shortcut simple #id case for speed rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, init = jQuery.fn.init = function( selector, context, root ) { var match, elem; // HANDLE: $(""), $(null), $(undefined), $(false) if ( !selector ) { return this; } // Method init() accepts an alternate rootjQuery // so migrate can support jQuery.sub (gh-2101) root = root || rootjQuery; // Handle HTML strings if ( typeof selector === "string" ) { if ( selector[ 0 ] === "<" && selector[ selector.length - 1 ] === ">" && selector.length >= 3 ) { // Assume that strings that start and end with <> are HTML and skip the regex check match = [ null, selector, null ]; } else { match = rquickExpr.exec( selector ); } // Match html or make sure no context is specified for #id if ( match && ( match[ 1 ] || !context ) ) { // HANDLE: $(html) -> $(array) if ( match[ 1 ] ) { context = context instanceof jQuery ? context[ 0 ] : context; // Option to run scripts is true for back-compat // Intentionally let the error be thrown if parseHTML is not present jQuery.merge( this, jQuery.parseHTML( match[ 1 ], context && context.nodeType ? context.ownerDocument || context : document, true ) ); // HANDLE: $(html, props) if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { for ( match in context ) { // Properties of context are called as methods if possible if ( isFunction( this[ match ] ) ) { this[ match ]( context[ match ] ); // ...and otherwise set as attributes } else { this.attr( match, context[ match ] ); } } } return this; // HANDLE: $(#id) } else { elem = document.getElementById( match[ 2 ] ); if ( elem ) { // Inject the element directly into the jQuery object this[ 0 ] = elem; this.length = 1; } return this; } // HANDLE: $(expr, $(...)) } else if ( !context || context.jquery ) { return ( context || root ).find( selector ); // HANDLE: $(expr, context) // (which is just equivalent to: $(context).find(expr) } else { return this.constructor( context ).find( selector ); } // HANDLE: $(DOMElement) } else if ( selector.nodeType ) { this[ 0 ] = selector; this.length = 1; return this; // HANDLE: $(function) // Shortcut for document ready } else if ( isFunction( selector ) ) { return root.ready !== undefined ? root.ready( selector ) : // Execute immediately if ready is not present selector( jQuery ); } return jQuery.makeArray( selector, this ); }; // Give the init function the jQuery prototype for later instantiation init.prototype = jQuery.fn; // Initialize central reference rootjQuery = jQuery( document ); var rparentsprev = /^(?:parents|prev(?:Until|All))/, // Methods guaranteed to produce a unique set when starting from a unique set guaranteedUnique = { children: true, contents: true, next: true, prev: true }; jQuery.fn.extend( { has: function( target ) { var targets = jQuery( target, this ), l = targets.length; return this.filter( function() { var i = 0; for ( ; i < l; i++ ) { if ( jQuery.contains( this, targets[ i ] ) ) { return true; } } } ); }, closest: function( selectors, context ) { var cur, i = 0, l = this.length, matched = [], targets = typeof selectors !== "string" && jQuery( selectors ); // Positional selectors never match, since there's no _selection_ context if ( !rneedsContext.test( selectors ) ) { for ( ; i < l; i++ ) { for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { // Always skip document fragments if ( cur.nodeType < 11 && ( targets ? targets.index( cur ) > -1 : // Don't pass non-elements to Sizzle cur.nodeType === 1 && jQuery.find.matchesSelector( cur, selectors ) ) ) { matched.push( cur ); break; } } } } return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); }, // Determine the position of an element within the set index: function( elem ) { // No argument, return index in parent if ( !elem ) { return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; } // Index in selector if ( typeof elem === "string" ) { return indexOf.call( jQuery( elem ), this[ 0 ] ); } // Locate the position of the desired element return indexOf.call( this, // If it receives a jQuery object, the first element is used elem.jquery ? elem[ 0 ] : elem ); }, add: function( selector, context ) { return this.pushStack( jQuery.uniqueSort( jQuery.merge( this.get(), jQuery( selector, context ) ) ) ); }, addBack: function( selector ) { return this.add( selector == null ? this.prevObject : this.prevObject.filter( selector ) ); } } ); function sibling( cur, dir ) { while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} return cur; } jQuery.each( { parent: function( elem ) { var parent = elem.parentNode; return parent && parent.nodeType !== 11 ? parent : null; }, parents: function( elem ) { return dir( elem, "parentNode" ); }, parentsUntil: function( elem, _i, until ) { return dir( elem, "parentNode", until ); }, next: function( elem ) { return sibling( elem, "nextSibling" ); }, prev: function( elem ) { return sibling( elem, "previousSibling" ); }, nextAll: function( elem ) { return dir( elem, "nextSibling" ); }, prevAll: function( elem ) { return dir( elem, "previousSibling" ); }, nextUntil: function( elem, _i, until ) { return dir( elem, "nextSibling", until ); }, prevUntil: function( elem, _i, until ) { return dir( elem, "previousSibling", until ); }, siblings: function( elem ) { return siblings( ( elem.parentNode || {} ).firstChild, elem ); }, children: function( elem ) { return siblings( elem.firstChild ); }, contents: function( elem ) { if ( elem.contentDocument != null && // Support: IE 11+ // elements with no `data` attribute has an object // `contentDocument` with a `null` prototype. getProto( elem.contentDocument ) ) { return elem.contentDocument; } // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only // Treat the template element as a regular one in browsers that // don't support it. if ( nodeName( elem, "template" ) ) { elem = elem.content || elem; } return jQuery.merge( [], elem.childNodes ); } }, function( name, fn ) { jQuery.fn[ name ] = function( until, selector ) { var matched = jQuery.map( this, fn, until ); if ( name.slice( -5 ) !== "Until" ) { selector = until; } if ( selector && typeof selector === "string" ) { matched = jQuery.filter( selector, matched ); } if ( this.length > 1 ) { // Remove duplicates if ( !guaranteedUnique[ name ] ) { jQuery.uniqueSort( matched ); } // Reverse order for parents* and prev-derivatives if ( rparentsprev.test( name ) ) { matched.reverse(); } } return this.pushStack( matched ); }; } ); var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); // Convert String-formatted options into Object-formatted ones function createOptions( options ) { var object = {}; jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { object[ flag ] = true; } ); return object; } /* * Create a callback list using the following parameters: * * options: an optional list of space-separated options that will change how * the callback list behaves or a more traditional option object * * By default a callback list will act like an event callback list and can be * "fired" multiple times. * * Possible options: * * once: will ensure the callback list can only be fired once (like a Deferred) * * memory: will keep track of previous values and will call any callback added * after the list has been fired right away with the latest "memorized" * values (like a Deferred) * * unique: will ensure a callback can only be added once (no duplicate in the list) * * stopOnFalse: interrupt callings when a callback returns false * */ jQuery.Callbacks = function( options ) { // Convert options from String-formatted to Object-formatted if needed // (we check in cache first) options = typeof options === "string" ? createOptions( options ) : jQuery.extend( {}, options ); var // Flag to know if list is currently firing firing, // Last fire value for non-forgettable lists memory, // Flag to know if list was already fired fired, // Flag to prevent firing locked, // Actual callback list list = [], // Queue of execution data for repeatable lists queue = [], // Index of currently firing callback (modified by add/remove as needed) firingIndex = -1, // Fire callbacks fire = function() { // Enforce single-firing locked = locked || options.once; // Execute callbacks for all pending executions, // respecting firingIndex overrides and runtime changes fired = firing = true; for ( ; queue.length; firingIndex = -1 ) { memory = queue.shift(); while ( ++firingIndex < list.length ) { // Run callback and check for early termination if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && options.stopOnFalse ) { // Jump to end and forget the data so .add doesn't re-fire firingIndex = list.length; memory = false; } } } // Forget the data if we're done with it if ( !options.memory ) { memory = false; } firing = false; // Clean up if we're done firing for good if ( locked ) { // Keep an empty list if we have data for future add calls if ( memory ) { list = []; // Otherwise, this object is spent } else { list = ""; } } }, // Actual Callbacks object self = { // Add a callback or a collection of callbacks to the list add: function() { if ( list ) { // If we have memory from a past run, we should fire after adding if ( memory && !firing ) { firingIndex = list.length - 1; queue.push( memory ); } ( function add( args ) { jQuery.each( args, function( _, arg ) { if ( isFunction( arg ) ) { if ( !options.unique || !self.has( arg ) ) { list.push( arg ); } } else if ( arg && arg.length && toType( arg ) !== "string" ) { // Inspect recursively add( arg ); } } ); } )( arguments ); if ( memory && !firing ) { fire(); } } return this; }, // Remove a callback from the list remove: function() { jQuery.each( arguments, function( _, arg ) { var index; while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { list.splice( index, 1 ); // Handle firing indexes if ( index <= firingIndex ) { firingIndex--; } } } ); return this; }, // Check if a given callback is in the list. // If no argument is given, return whether or not list has callbacks attached. has: function( fn ) { return fn ? jQuery.inArray( fn, list ) > -1 : list.length > 0; }, // Remove all callbacks from the list empty: function() { if ( list ) { list = []; } return this; }, // Disable .fire and .add // Abort any current/pending executions // Clear all callbacks and values disable: function() { locked = queue = []; list = memory = ""; return this; }, disabled: function() { return !list; }, // Disable .fire // Also disable .add unless we have memory (since it would have no effect) // Abort any pending executions lock: function() { locked = queue = []; if ( !memory && !firing ) { list = memory = ""; } return this; }, locked: function() { return !!locked; }, // Call all callbacks with the given context and arguments fireWith: function( context, args ) { if ( !locked ) { args = args || []; args = [ context, args.slice ? args.slice() : args ]; queue.push( args ); if ( !firing ) { fire(); } } return this; }, // Call all the callbacks with the given arguments fire: function() { self.fireWith( this, arguments ); return this; }, // To know if the callbacks have already been called at least once fired: function() { return !!fired; } }; return self; }; function Identity( v ) { return v; } function Thrower( ex ) { throw ex; } function adoptValue( value, resolve, reject, noValue ) { var method; try { // Check for promise aspect first to privilege synchronous behavior if ( value && isFunction( ( method = value.promise ) ) ) { method.call( value ).done( resolve ).fail( reject ); // Other thenables } else if ( value && isFunction( ( method = value.then ) ) ) { method.call( value, resolve, reject ); // Other non-thenables } else { // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: // * false: [ value ].slice( 0 ) => resolve( value ) // * true: [ value ].slice( 1 ) => resolve() resolve.apply( undefined, [ value ].slice( noValue ) ); } // For Promises/A+, convert exceptions into rejections // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in // Deferred#then to conditionally suppress rejection. } catch ( value ) { // Support: Android 4.0 only // Strict mode functions invoked without .call/.apply get global-object context reject.apply( undefined, [ value ] ); } } jQuery.extend( { Deferred: function( func ) { var tuples = [ // action, add listener, callbacks, // ... .then handlers, argument index, [final state] [ "notify", "progress", jQuery.Callbacks( "memory" ), jQuery.Callbacks( "memory" ), 2 ], [ "resolve", "done", jQuery.Callbacks( "once memory" ), jQuery.Callbacks( "once memory" ), 0, "resolved" ], [ "reject", "fail", jQuery.Callbacks( "once memory" ), jQuery.Callbacks( "once memory" ), 1, "rejected" ] ], state = "pending", promise = { state: function() { return state; }, always: function() { deferred.done( arguments ).fail( arguments ); return this; }, "catch": function( fn ) { return promise.then( null, fn ); }, // Keep pipe for back-compat pipe: function( /* fnDone, fnFail, fnProgress */ ) { var fns = arguments; return jQuery.Deferred( function( newDefer ) { jQuery.each( tuples, function( _i, tuple ) { // Map tuples (progress, done, fail) to arguments (done, fail, progress) var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; // deferred.progress(function() { bind to newDefer or newDefer.notify }) // deferred.done(function() { bind to newDefer or newDefer.resolve }) // deferred.fail(function() { bind to newDefer or newDefer.reject }) deferred[ tuple[ 1 ] ]( function() { var returned = fn && fn.apply( this, arguments ); if ( returned && isFunction( returned.promise ) ) { returned.promise() .progress( newDefer.notify ) .done( newDefer.resolve ) .fail( newDefer.reject ); } else { newDefer[ tuple[ 0 ] + "With" ]( this, fn ? [ returned ] : arguments ); } } ); } ); fns = null; } ).promise(); }, then: function( onFulfilled, onRejected, onProgress ) { var maxDepth = 0; function resolve( depth, deferred, handler, special ) { return function() { var that = this, args = arguments, mightThrow = function() { var returned, then; // Support: Promises/A+ section 2.3.3.3.3 // https://promisesaplus.com/#point-59 // Ignore double-resolution attempts if ( depth < maxDepth ) { return; } returned = handler.apply( that, args ); // Support: Promises/A+ section 2.3.1 // https://promisesaplus.com/#point-48 if ( returned === deferred.promise() ) { throw new TypeError( "Thenable self-resolution" ); } // Support: Promises/A+ sections 2.3.3.1, 3.5 // https://promisesaplus.com/#point-54 // https://promisesaplus.com/#point-75 // Retrieve `then` only once then = returned && // Support: Promises/A+ section 2.3.4 // https://promisesaplus.com/#point-64 // Only check objects and functions for thenability ( typeof returned === "object" || typeof returned === "function" ) && returned.then; // Handle a returned thenable if ( isFunction( then ) ) { // Special processors (notify) just wait for resolution if ( special ) { then.call( returned, resolve( maxDepth, deferred, Identity, special ), resolve( maxDepth, deferred, Thrower, special ) ); // Normal processors (resolve) also hook into progress } else { // ...and disregard older resolution values maxDepth++; then.call( returned, resolve( maxDepth, deferred, Identity, special ), resolve( maxDepth, deferred, Thrower, special ), resolve( maxDepth, deferred, Identity, deferred.notifyWith ) ); } // Handle all other returned values } else { // Only substitute handlers pass on context // and multiple values (non-spec behavior) if ( handler !== Identity ) { that = undefined; args = [ returned ]; } // Process the value(s) // Default process is resolve ( special || deferred.resolveWith )( that, args ); } }, // Only normal processors (resolve) catch and reject exceptions process = special ? mightThrow : function() { try { mightThrow(); } catch ( e ) { if ( jQuery.Deferred.exceptionHook ) { jQuery.Deferred.exceptionHook( e, process.stackTrace ); } // Support: Promises/A+ section 2.3.3.3.4.1 // https://promisesaplus.com/#point-61 // Ignore post-resolution exceptions if ( depth + 1 >= maxDepth ) { // Only substitute handlers pass on context // and multiple values (non-spec behavior) if ( handler !== Thrower ) { that = undefined; args = [ e ]; } deferred.rejectWith( that, args ); } } }; // Support: Promises/A+ section 2.3.3.3.1 // https://promisesaplus.com/#point-57 // Re-resolve promises immediately to dodge false rejection from // subsequent errors if ( depth ) { process(); } else { // Call an optional hook to record the stack, in case of exception // since it's otherwise lost when execution goes async if ( jQuery.Deferred.getStackHook ) { process.stackTrace = jQuery.Deferred.getStackHook(); } window.setTimeout( process ); } }; } return jQuery.Deferred( function( newDefer ) { // progress_handlers.add( ... ) tuples[ 0 ][ 3 ].add( resolve( 0, newDefer, isFunction( onProgress ) ? onProgress : Identity, newDefer.notifyWith ) ); // fulfilled_handlers.add( ... ) tuples[ 1 ][ 3 ].add( resolve( 0, newDefer, isFunction( onFulfilled ) ? onFulfilled : Identity ) ); // rejected_handlers.add( ... ) tuples[ 2 ][ 3 ].add( resolve( 0, newDefer, isFunction( onRejected ) ? onRejected : Thrower ) ); } ).promise(); }, // Get a promise for this deferred // If obj is provided, the promise aspect is added to the object promise: function( obj ) { return obj != null ? jQuery.extend( obj, promise ) : promise; } }, deferred = {}; // Add list-specific methods jQuery.each( tuples, function( i, tuple ) { var list = tuple[ 2 ], stateString = tuple[ 5 ]; // promise.progress = list.add // promise.done = list.add // promise.fail = list.add promise[ tuple[ 1 ] ] = list.add; // Handle state if ( stateString ) { list.add( function() { // state = "resolved" (i.e., fulfilled) // state = "rejected" state = stateString; }, // rejected_callbacks.disable // fulfilled_callbacks.disable tuples[ 3 - i ][ 2 ].disable, // rejected_handlers.disable // fulfilled_handlers.disable tuples[ 3 - i ][ 3 ].disable, // progress_callbacks.lock tuples[ 0 ][ 2 ].lock, // progress_handlers.lock tuples[ 0 ][ 3 ].lock ); } // progress_handlers.fire // fulfilled_handlers.fire // rejected_handlers.fire list.add( tuple[ 3 ].fire ); // deferred.notify = function() { deferred.notifyWith(...) } // deferred.resolve = function() { deferred.resolveWith(...) } // deferred.reject = function() { deferred.rejectWith(...) } deferred[ tuple[ 0 ] ] = function() { deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); return this; }; // deferred.notifyWith = list.fireWith // deferred.resolveWith = list.fireWith // deferred.rejectWith = list.fireWith deferred[ tuple[ 0 ] + "With" ] = list.fireWith; } ); // Make the deferred a promise promise.promise( deferred ); // Call given func if any if ( func ) { func.call( deferred, deferred ); } // All done! return deferred; }, // Deferred helper when: function( singleValue ) { var // count of uncompleted subordinates remaining = arguments.length, // count of unprocessed arguments i = remaining, // subordinate fulfillment data resolveContexts = Array( i ), resolveValues = slice.call( arguments ), // the primary Deferred primary = jQuery.Deferred(), // subordinate callback factory updateFunc = function( i ) { return function( value ) { resolveContexts[ i ] = this; resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; if ( !( --remaining ) ) { primary.resolveWith( resolveContexts, resolveValues ); } }; }; // Single- and empty arguments are adopted like Promise.resolve if ( remaining <= 1 ) { adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, !remaining ); // Use .then() to unwrap secondary thenables (cf. gh-3000) if ( primary.state() === "pending" || isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { return primary.then(); } } // Multiple arguments are aggregated like Promise.all array elements while ( i-- ) { adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); } return primary.promise(); } } ); // These usually indicate a programmer mistake during development, // warn about them ASAP rather than swallowing them by default. var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; jQuery.Deferred.exceptionHook = function( error, stack ) { // Support: IE 8 - 9 only // Console exists when dev tools are open, which can happen at any time if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); } }; jQuery.readyException = function( error ) { window.setTimeout( function() { throw error; } ); }; // The deferred used on DOM ready var readyList = jQuery.Deferred(); jQuery.fn.ready = function( fn ) { readyList .then( fn ) // Wrap jQuery.readyException in a function so that the lookup // happens at the time of error handling instead of callback // registration. .catch( function( error ) { jQuery.readyException( error ); } ); return this; }; jQuery.extend( { // Is the DOM ready to be used? Set to true once it occurs. isReady: false, // A counter to track how many items to wait for before // the ready event fires. See #6781 readyWait: 1, // Handle when the DOM is ready ready: function( wait ) { // Abort if there are pending holds or we're already ready if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { return; } // Remember that the DOM is ready jQuery.isReady = true; // If a normal DOM Ready event fired, decrement, and wait if need be if ( wait !== true && --jQuery.readyWait > 0 ) { return; } // If there are functions bound, to execute readyList.resolveWith( document, [ jQuery ] ); } } ); jQuery.ready.then = readyList.then; // The ready event handler and self cleanup method function completed() { document.removeEventListener( "DOMContentLoaded", completed ); window.removeEventListener( "load", completed ); jQuery.ready(); } // Catch cases where $(document).ready() is called // after the browser event has already occurred. // Support: IE <=9 - 10 only // Older IE sometimes signals "interactive" too soon if ( document.readyState === "complete" || ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { // Handle it asynchronously to allow scripts the opportunity to delay ready window.setTimeout( jQuery.ready ); } else { // Use the handy event callback document.addEventListener( "DOMContentLoaded", completed ); // A fallback to window.onload, that will always work window.addEventListener( "load", completed ); } // Multifunctional method to get and set values of a collection // The value/s can optionally be executed if it's a function var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { var i = 0, len = elems.length, bulk = key == null; // Sets many values if ( toType( key ) === "object" ) { chainable = true; for ( i in key ) { access( elems, fn, i, key[ i ], true, emptyGet, raw ); } // Sets one value } else if ( value !== undefined ) { chainable = true; if ( !isFunction( value ) ) { raw = true; } if ( bulk ) { // Bulk operations run against the entire set if ( raw ) { fn.call( elems, value ); fn = null; // ...except when executing function values } else { bulk = fn; fn = function( elem, _key, value ) { return bulk.call( jQuery( elem ), value ); }; } } if ( fn ) { for ( ; i < len; i++ ) { fn( elems[ i ], key, raw ? value : value.call( elems[ i ], i, fn( elems[ i ], key ) ) ); } } } if ( chainable ) { return elems; } // Gets if ( bulk ) { return fn.call( elems ); } return len ? fn( elems[ 0 ], key ) : emptyGet; }; // Matches dashed string for camelizing var rmsPrefix = /^-ms-/, rdashAlpha = /-([a-z])/g; // Used by camelCase as callback to replace() function fcamelCase( _all, letter ) { return letter.toUpperCase(); } // Convert dashed to camelCase; used by the css and data modules // Support: IE <=9 - 11, Edge 12 - 15 // Microsoft forgot to hump their vendor prefix (#9572) function camelCase( string ) { return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); } var acceptData = function( owner ) { // Accepts only: // - Node // - Node.ELEMENT_NODE // - Node.DOCUMENT_NODE // - Object // - Any return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); }; function Data() { this.expando = jQuery.expando + Data.uid++; } Data.uid = 1; Data.prototype = { cache: function( owner ) { // Check if the owner object already has a cache var value = owner[ this.expando ]; // If not, create one if ( !value ) { value = {}; // We can accept data for non-element nodes in modern browsers, // but we should not, see #8335. // Always return an empty object. if ( acceptData( owner ) ) { // If it is a node unlikely to be stringify-ed or looped over // use plain assignment if ( owner.nodeType ) { owner[ this.expando ] = value; // Otherwise secure it in a non-enumerable property // configurable must be true to allow the property to be // deleted when data is removed } else { Object.defineProperty( owner, this.expando, { value: value, configurable: true } ); } } } return value; }, set: function( owner, data, value ) { var prop, cache = this.cache( owner ); // Handle: [ owner, key, value ] args // Always use camelCase key (gh-2257) if ( typeof data === "string" ) { cache[ camelCase( data ) ] = value; // Handle: [ owner, { properties } ] args } else { // Copy the properties one-by-one to the cache object for ( prop in data ) { cache[ camelCase( prop ) ] = data[ prop ]; } } return cache; }, get: function( owner, key ) { return key === undefined ? this.cache( owner ) : // Always use camelCase key (gh-2257) owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; }, access: function( owner, key, value ) { // In cases where either: // // 1. No key was specified // 2. A string key was specified, but no value provided // // Take the "read" path and allow the get method to determine // which value to return, respectively either: // // 1. The entire cache object // 2. The data stored at the key // if ( key === undefined || ( ( key && typeof key === "string" ) && value === undefined ) ) { return this.get( owner, key ); } // When the key is not a string, or both a key and value // are specified, set or extend (existing objects) with either: // // 1. An object of properties // 2. A key and value // this.set( owner, key, value ); // Since the "set" path can have two possible entry points // return the expected data based on which path was taken[*] return value !== undefined ? value : key; }, remove: function( owner, key ) { var i, cache = owner[ this.expando ]; if ( cache === undefined ) { return; } if ( key !== undefined ) { // Support array or space separated string of keys if ( Array.isArray( key ) ) { // If key is an array of keys... // We always set camelCase keys, so remove that. key = key.map( camelCase ); } else { key = camelCase( key ); // If a key with the spaces exists, use it. // Otherwise, create an array by matching non-whitespace key = key in cache ? [ key ] : ( key.match( rnothtmlwhite ) || [] ); } i = key.length; while ( i-- ) { delete cache[ key[ i ] ]; } } // Remove the expando if there's no more data if ( key === undefined || jQuery.isEmptyObject( cache ) ) { // Support: Chrome <=35 - 45 // Webkit & Blink performance suffers when deleting properties // from DOM nodes, so set to undefined instead // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) if ( owner.nodeType ) { owner[ this.expando ] = undefined; } else { delete owner[ this.expando ]; } } }, hasData: function( owner ) { var cache = owner[ this.expando ]; return cache !== undefined && !jQuery.isEmptyObject( cache ); } }; var dataPriv = new Data(); var dataUser = new Data(); // Implementation Summary // // 1. Enforce API surface and semantic compatibility with 1.9.x branch // 2. Improve the module's maintainability by reducing the storage // paths to a single mechanism. // 3. Use the same single mechanism to support "private" and "user" data. // 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) // 5. Avoid exposing implementation details on user objects (eg. expando properties) // 6. Provide a clear path for implementation upgrade to WeakMap in 2014 var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, rmultiDash = /[A-Z]/g; function getData( data ) { if ( data === "true" ) { return true; } if ( data === "false" ) { return false; } if ( data === "null" ) { return null; } // Only convert to a number if it doesn't change the string if ( data === +data + "" ) { return +data; } if ( rbrace.test( data ) ) { return JSON.parse( data ); } return data; } function dataAttr( elem, key, data ) { var name; // If nothing was found internally, try to fetch any // data from the HTML5 data-* attribute if ( data === undefined && elem.nodeType === 1 ) { name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); data = elem.getAttribute( name ); if ( typeof data === "string" ) { try { data = getData( data ); } catch ( e ) {} // Make sure we set the data so it isn't changed later dataUser.set( elem, key, data ); } else { data = undefined; } } return data; } jQuery.extend( { hasData: function( elem ) { return dataUser.hasData( elem ) || dataPriv.hasData( elem ); }, data: function( elem, name, data ) { return dataUser.access( elem, name, data ); }, removeData: function( elem, name ) { dataUser.remove( elem, name ); }, // TODO: Now that all calls to _data and _removeData have been replaced // with direct calls to dataPriv methods, these can be deprecated. _data: function( elem, name, data ) { return dataPriv.access( elem, name, data ); }, _removeData: function( elem, name ) { dataPriv.remove( elem, name ); } } ); jQuery.fn.extend( { data: function( key, value ) { var i, name, data, elem = this[ 0 ], attrs = elem && elem.attributes; // Gets all values if ( key === undefined ) { if ( this.length ) { data = dataUser.get( elem ); if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { i = attrs.length; while ( i-- ) { // Support: IE 11 only // The attrs elements can be null (#14894) if ( attrs[ i ] ) { name = attrs[ i ].name; if ( name.indexOf( "data-" ) === 0 ) { name = camelCase( name.slice( 5 ) ); dataAttr( elem, name, data[ name ] ); } } } dataPriv.set( elem, "hasDataAttrs", true ); } } return data; } // Sets multiple values if ( typeof key === "object" ) { return this.each( function() { dataUser.set( this, key ); } ); } return access( this, function( value ) { var data; // The calling jQuery object (element matches) is not empty // (and therefore has an element appears at this[ 0 ]) and the // `value` parameter was not undefined. An empty jQuery object // will result in `undefined` for elem = this[ 0 ] which will // throw an exception if an attempt to read a data cache is made. if ( elem && value === undefined ) { // Attempt to get data from the cache // The key will always be camelCased in Data data = dataUser.get( elem, key ); if ( data !== undefined ) { return data; } // Attempt to "discover" the data in // HTML5 custom data-* attrs data = dataAttr( elem, key ); if ( data !== undefined ) { return data; } // We tried really hard, but the data doesn't exist. return; } // Set the data... this.each( function() { // We always store the camelCased key dataUser.set( this, key, value ); } ); }, null, value, arguments.length > 1, null, true ); }, removeData: function( key ) { return this.each( function() { dataUser.remove( this, key ); } ); } } ); jQuery.extend( { queue: function( elem, type, data ) { var queue; if ( elem ) { type = ( type || "fx" ) + "queue"; queue = dataPriv.get( elem, type ); // Speed up dequeue by getting out quickly if this is just a lookup if ( data ) { if ( !queue || Array.isArray( data ) ) { queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); } else { queue.push( data ); } } return queue || []; } }, dequeue: function( elem, type ) { type = type || "fx"; var queue = jQuery.queue( elem, type ), startLength = queue.length, fn = queue.shift(), hooks = jQuery._queueHooks( elem, type ), next = function() { jQuery.dequeue( elem, type ); }; // If the fx queue is dequeued, always remove the progress sentinel if ( fn === "inprogress" ) { fn = queue.shift(); startLength--; } if ( fn ) { // Add a progress sentinel to prevent the fx queue from being // automatically dequeued if ( type === "fx" ) { queue.unshift( "inprogress" ); } // Clear up the last queue stop function delete hooks.stop; fn.call( elem, next, hooks ); } if ( !startLength && hooks ) { hooks.empty.fire(); } }, // Not public - generate a queueHooks object, or return the current one _queueHooks: function( elem, type ) { var key = type + "queueHooks"; return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { empty: jQuery.Callbacks( "once memory" ).add( function() { dataPriv.remove( elem, [ type + "queue", key ] ); } ) } ); } } ); jQuery.fn.extend( { queue: function( type, data ) { var setter = 2; if ( typeof type !== "string" ) { data = type; type = "fx"; setter--; } if ( arguments.length < setter ) { return jQuery.queue( this[ 0 ], type ); } return data === undefined ? this : this.each( function() { var queue = jQuery.queue( this, type, data ); // Ensure a hooks for this queue jQuery._queueHooks( this, type ); if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { jQuery.dequeue( this, type ); } } ); }, dequeue: function( type ) { return this.each( function() { jQuery.dequeue( this, type ); } ); }, clearQueue: function( type ) { return this.queue( type || "fx", [] ); }, // Get a promise resolved when queues of a certain type // are emptied (fx is the type by default) promise: function( type, obj ) { var tmp, count = 1, defer = jQuery.Deferred(), elements = this, i = this.length, resolve = function() { if ( !( --count ) ) { defer.resolveWith( elements, [ elements ] ); } }; if ( typeof type !== "string" ) { obj = type; type = undefined; } type = type || "fx"; while ( i-- ) { tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); if ( tmp && tmp.empty ) { count++; tmp.empty.add( resolve ); } } resolve(); return defer.promise( obj ); } } ); var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; var documentElement = document.documentElement; var isAttached = function( elem ) { return jQuery.contains( elem.ownerDocument, elem ); }, composed = { composed: true }; // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only // Check attachment across shadow DOM boundaries when possible (gh-3504) // Support: iOS 10.0-10.2 only // Early iOS 10 versions support `attachShadow` but not `getRootNode`, // leading to errors. We need to check for `getRootNode`. if ( documentElement.getRootNode ) { isAttached = function( elem ) { return jQuery.contains( elem.ownerDocument, elem ) || elem.getRootNode( composed ) === elem.ownerDocument; }; } var isHiddenWithinTree = function( elem, el ) { // isHiddenWithinTree might be called from jQuery#filter function; // in that case, element will be second argument elem = el || elem; // Inline style trumps all return elem.style.display === "none" || elem.style.display === "" && // Otherwise, check computed style // Support: Firefox <=43 - 45 // Disconnected elements can have computed display: none, so first confirm that elem is // in the document. isAttached( elem ) && jQuery.css( elem, "display" ) === "none"; }; function adjustCSS( elem, prop, valueParts, tween ) { var adjusted, scale, maxIterations = 20, currentValue = tween ? function() { return tween.cur(); } : function() { return jQuery.css( elem, prop, "" ); }, initial = currentValue(), unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), // Starting value computation is required for potential unit mismatches initialInUnit = elem.nodeType && ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && rcssNum.exec( jQuery.css( elem, prop ) ); if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { // Support: Firefox <=54 // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) initial = initial / 2; // Trust units reported by jQuery.css unit = unit || initialInUnit[ 3 ]; // Iteratively approximate from a nonzero starting point initialInUnit = +initial || 1; while ( maxIterations-- ) { // Evaluate and update our best guess (doubling guesses that zero out). // Finish if the scale equals or crosses 1 (making the old*new product non-positive). jQuery.style( elem, prop, initialInUnit + unit ); if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { maxIterations = 0; } initialInUnit = initialInUnit / scale; } initialInUnit = initialInUnit * 2; jQuery.style( elem, prop, initialInUnit + unit ); // Make sure we update the tween properties later on valueParts = valueParts || []; } if ( valueParts ) { initialInUnit = +initialInUnit || +initial || 0; // Apply relative offset (+=/-=) if specified adjusted = valueParts[ 1 ] ? initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : +valueParts[ 2 ]; if ( tween ) { tween.unit = unit; tween.start = initialInUnit; tween.end = adjusted; } } return adjusted; } var defaultDisplayMap = {}; function getDefaultDisplay( elem ) { var temp, doc = elem.ownerDocument, nodeName = elem.nodeName, display = defaultDisplayMap[ nodeName ]; if ( display ) { return display; } temp = doc.body.appendChild( doc.createElement( nodeName ) ); display = jQuery.css( temp, "display" ); temp.parentNode.removeChild( temp ); if ( display === "none" ) { display = "block"; } defaultDisplayMap[ nodeName ] = display; return display; } function showHide( elements, show ) { var display, elem, values = [], index = 0, length = elements.length; // Determine new display value for elements that need to change for ( ; index < length; index++ ) { elem = elements[ index ]; if ( !elem.style ) { continue; } display = elem.style.display; if ( show ) { // Since we force visibility upon cascade-hidden elements, an immediate (and slow) // check is required in this first loop unless we have a nonempty display value (either // inline or about-to-be-restored) if ( display === "none" ) { values[ index ] = dataPriv.get( elem, "display" ) || null; if ( !values[ index ] ) { elem.style.display = ""; } } if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { values[ index ] = getDefaultDisplay( elem ); } } else { if ( display !== "none" ) { values[ index ] = "none"; // Remember what we're overwriting dataPriv.set( elem, "display", display ); } } } // Set the display of the elements in a second loop to avoid constant reflow for ( index = 0; index < length; index++ ) { if ( values[ index ] != null ) { elements[ index ].style.display = values[ index ]; } } return elements; } jQuery.fn.extend( { show: function() { return showHide( this, true ); }, hide: function() { return showHide( this ); }, toggle: function( state ) { if ( typeof state === "boolean" ) { return state ? this.show() : this.hide(); } return this.each( function() { if ( isHiddenWithinTree( this ) ) { jQuery( this ).show(); } else { jQuery( this ).hide(); } } ); } } ); var rcheckableType = ( /^(?:checkbox|radio)$/i ); var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); ( function() { var fragment = document.createDocumentFragment(), div = fragment.appendChild( document.createElement( "div" ) ), input = document.createElement( "input" ); // Support: Android 4.0 - 4.3 only // Check state lost if the name is set (#11217) // Support: Windows Web Apps (WWA) // `name` and `type` must use .setAttribute for WWA (#14901) input.setAttribute( "type", "radio" ); input.setAttribute( "checked", "checked" ); input.setAttribute( "name", "t" ); div.appendChild( input ); // Support: Android <=4.1 only // Older WebKit doesn't clone checked state correctly in fragments support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; // Support: IE <=11 only // Make sure textarea (and checkbox) defaultValue is properly cloned div.innerHTML = ""; support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; // Support: IE <=9 only // IE <=9 replaces "; support.option = !!div.lastChild; } )(); // We have to close these tags to support XHTML (#13200) var wrapMap = { // XHTML parsers do not magically insert elements in the // same way that tag soup parsers do. So we cannot shorten // this by omitting or other required elements. thead: [ 1, "", "
" ], col: [ 2, "", "
" ], tr: [ 2, "", "
" ], td: [ 3, "", "
" ], _default: [ 0, "", "" ] }; wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; wrapMap.th = wrapMap.td; // Support: IE <=9 only if ( !support.option ) { wrapMap.optgroup = wrapMap.option = [ 1, "" ]; } function getAll( context, tag ) { // Support: IE <=9 - 11 only // Use typeof to avoid zero-argument method invocation on host objects (#15151) var ret; if ( typeof context.getElementsByTagName !== "undefined" ) { ret = context.getElementsByTagName( tag || "*" ); } else if ( typeof context.querySelectorAll !== "undefined" ) { ret = context.querySelectorAll( tag || "*" ); } else { ret = []; } if ( tag === undefined || tag && nodeName( context, tag ) ) { return jQuery.merge( [ context ], ret ); } return ret; } // Mark scripts as having already been evaluated function setGlobalEval( elems, refElements ) { var i = 0, l = elems.length; for ( ; i < l; i++ ) { dataPriv.set( elems[ i ], "globalEval", !refElements || dataPriv.get( refElements[ i ], "globalEval" ) ); } } var rhtml = /<|&#?\w+;/; function buildFragment( elems, context, scripts, selection, ignored ) { var elem, tmp, tag, wrap, attached, j, fragment = context.createDocumentFragment(), nodes = [], i = 0, l = elems.length; for ( ; i < l; i++ ) { elem = elems[ i ]; if ( elem || elem === 0 ) { // Add nodes directly if ( toType( elem ) === "object" ) { // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); // Convert non-html into a text node } else if ( !rhtml.test( elem ) ) { nodes.push( context.createTextNode( elem ) ); // Convert html into DOM nodes } else { tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); // Deserialize a standard representation tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); wrap = wrapMap[ tag ] || wrapMap._default; tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; // Descend through wrappers to the right content j = wrap[ 0 ]; while ( j-- ) { tmp = tmp.lastChild; } // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( nodes, tmp.childNodes ); // Remember the top-level container tmp = fragment.firstChild; // Ensure the created nodes are orphaned (#12392) tmp.textContent = ""; } } } // Remove wrapper from fragment fragment.textContent = ""; i = 0; while ( ( elem = nodes[ i++ ] ) ) { // Skip elements already in the context collection (trac-4087) if ( selection && jQuery.inArray( elem, selection ) > -1 ) { if ( ignored ) { ignored.push( elem ); } continue; } attached = isAttached( elem ); // Append to fragment tmp = getAll( fragment.appendChild( elem ), "script" ); // Preserve script evaluation history if ( attached ) { setGlobalEval( tmp ); } // Capture executables if ( scripts ) { j = 0; while ( ( elem = tmp[ j++ ] ) ) { if ( rscriptType.test( elem.type || "" ) ) { scripts.push( elem ); } } } } return fragment; } var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; function returnTrue() { return true; } function returnFalse() { return false; } // Support: IE <=9 - 11+ // focus() and blur() are asynchronous, except when they are no-op. // So expect focus to be synchronous when the element is already active, // and blur to be synchronous when the element is not already active. // (focus and blur are always synchronous in other supported browsers, // this just defines when we can count on it). function expectSync( elem, type ) { return ( elem === safeActiveElement() ) === ( type === "focus" ); } // Support: IE <=9 only // Accessing document.activeElement can throw unexpectedly // https://bugs.jquery.com/ticket/13393 function safeActiveElement() { try { return document.activeElement; } catch ( err ) { } } function on( elem, types, selector, data, fn, one ) { var origFn, type; // Types can be a map of types/handlers if ( typeof types === "object" ) { // ( types-Object, selector, data ) if ( typeof selector !== "string" ) { // ( types-Object, data ) data = data || selector; selector = undefined; } for ( type in types ) { on( elem, type, selector, data, types[ type ], one ); } return elem; } if ( data == null && fn == null ) { // ( types, fn ) fn = selector; data = selector = undefined; } else if ( fn == null ) { if ( typeof selector === "string" ) { // ( types, selector, fn ) fn = data; data = undefined; } else { // ( types, data, fn ) fn = data; data = selector; selector = undefined; } } if ( fn === false ) { fn = returnFalse; } else if ( !fn ) { return elem; } if ( one === 1 ) { origFn = fn; fn = function( event ) { // Can use an empty set, since event contains the info jQuery().off( event ); return origFn.apply( this, arguments ); }; // Use same guid so caller can remove using origFn fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); } return elem.each( function() { jQuery.event.add( this, types, fn, data, selector ); } ); } /* * Helper functions for managing events -- not part of the public interface. * Props to Dean Edwards' addEvent library for many of the ideas. */ jQuery.event = { global: {}, add: function( elem, types, handler, data, selector ) { var handleObjIn, eventHandle, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.get( elem ); // Only attach events to objects that accept data if ( !acceptData( elem ) ) { return; } // Caller can pass in an object of custom data in lieu of the handler if ( handler.handler ) { handleObjIn = handler; handler = handleObjIn.handler; selector = handleObjIn.selector; } // Ensure that invalid selectors throw exceptions at attach time // Evaluate against documentElement in case elem is a non-element node (e.g., document) if ( selector ) { jQuery.find.matchesSelector( documentElement, selector ); } // Make sure that the handler has a unique ID, used to find/remove it later if ( !handler.guid ) { handler.guid = jQuery.guid++; } // Init the element's event structure and main handler, if this is the first if ( !( events = elemData.events ) ) { events = elemData.events = Object.create( null ); } if ( !( eventHandle = elemData.handle ) ) { eventHandle = elemData.handle = function( e ) { // Discard the second event of a jQuery.event.trigger() and // when an event is called after a page has unloaded return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? jQuery.event.dispatch.apply( elem, arguments ) : undefined; }; } // Handle multiple events separated by a space types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; t = types.length; while ( t-- ) { tmp = rtypenamespace.exec( types[ t ] ) || []; type = origType = tmp[ 1 ]; namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); // There *must* be a type, no attaching namespace-only handlers if ( !type ) { continue; } // If event changes its type, use the special event handlers for the changed type special = jQuery.event.special[ type ] || {}; // If selector defined, determine special event api type, otherwise given type type = ( selector ? special.delegateType : special.bindType ) || type; // Update special based on newly reset type special = jQuery.event.special[ type ] || {}; // handleObj is passed to all event handlers handleObj = jQuery.extend( { type: type, origType: origType, data: data, handler: handler, guid: handler.guid, selector: selector, needsContext: selector && jQuery.expr.match.needsContext.test( selector ), namespace: namespaces.join( "." ) }, handleObjIn ); // Init the event handler queue if we're the first if ( !( handlers = events[ type ] ) ) { handlers = events[ type ] = []; handlers.delegateCount = 0; // Only use addEventListener if the special events handler returns false if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { if ( elem.addEventListener ) { elem.addEventListener( type, eventHandle ); } } } if ( special.add ) { special.add.call( elem, handleObj ); if ( !handleObj.handler.guid ) { handleObj.handler.guid = handler.guid; } } // Add to the element's handler list, delegates in front if ( selector ) { handlers.splice( handlers.delegateCount++, 0, handleObj ); } else { handlers.push( handleObj ); } // Keep track of which events have ever been used, for event optimization jQuery.event.global[ type ] = true; } }, // Detach an event or set of events from an element remove: function( elem, types, handler, selector, mappedTypes ) { var j, origCount, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); if ( !elemData || !( events = elemData.events ) ) { return; } // Once for each type.namespace in types; type may be omitted types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; t = types.length; while ( t-- ) { tmp = rtypenamespace.exec( types[ t ] ) || []; type = origType = tmp[ 1 ]; namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); // Unbind all events (on this namespace, if provided) for the element if ( !type ) { for ( type in events ) { jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); } continue; } special = jQuery.event.special[ type ] || {}; type = ( selector ? special.delegateType : special.bindType ) || type; handlers = events[ type ] || []; tmp = tmp[ 2 ] && new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); // Remove matching events origCount = j = handlers.length; while ( j-- ) { handleObj = handlers[ j ]; if ( ( mappedTypes || origType === handleObj.origType ) && ( !handler || handler.guid === handleObj.guid ) && ( !tmp || tmp.test( handleObj.namespace ) ) && ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { handlers.splice( j, 1 ); if ( handleObj.selector ) { handlers.delegateCount--; } if ( special.remove ) { special.remove.call( elem, handleObj ); } } } // Remove generic event handler if we removed something and no more handlers exist // (avoids potential for endless recursion during removal of special event handlers) if ( origCount && !handlers.length ) { if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { jQuery.removeEvent( elem, type, elemData.handle ); } delete events[ type ]; } } // Remove data and the expando if it's no longer used if ( jQuery.isEmptyObject( events ) ) { dataPriv.remove( elem, "handle events" ); } }, dispatch: function( nativeEvent ) { var i, j, ret, matched, handleObj, handlerQueue, args = new Array( arguments.length ), // Make a writable jQuery.Event from the native event object event = jQuery.event.fix( nativeEvent ), handlers = ( dataPriv.get( this, "events" ) || Object.create( null ) )[ event.type ] || [], special = jQuery.event.special[ event.type ] || {}; // Use the fix-ed jQuery.Event rather than the (read-only) native event args[ 0 ] = event; for ( i = 1; i < arguments.length; i++ ) { args[ i ] = arguments[ i ]; } event.delegateTarget = this; // Call the preDispatch hook for the mapped type, and let it bail if desired if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { return; } // Determine handlers handlerQueue = jQuery.event.handlers.call( this, event, handlers ); // Run delegates first; they may want to stop propagation beneath us i = 0; while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { event.currentTarget = matched.elem; j = 0; while ( ( handleObj = matched.handlers[ j++ ] ) && !event.isImmediatePropagationStopped() ) { // If the event is namespaced, then each handler is only invoked if it is // specially universal or its namespaces are a superset of the event's. if ( !event.rnamespace || handleObj.namespace === false || event.rnamespace.test( handleObj.namespace ) ) { event.handleObj = handleObj; event.data = handleObj.data; ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || handleObj.handler ).apply( matched.elem, args ); if ( ret !== undefined ) { if ( ( event.result = ret ) === false ) { event.preventDefault(); event.stopPropagation(); } } } } } // Call the postDispatch hook for the mapped type if ( special.postDispatch ) { special.postDispatch.call( this, event ); } return event.result; }, handlers: function( event, handlers ) { var i, handleObj, sel, matchedHandlers, matchedSelectors, handlerQueue = [], delegateCount = handlers.delegateCount, cur = event.target; // Find delegate handlers if ( delegateCount && // Support: IE <=9 // Black-hole SVG instance trees (trac-13180) cur.nodeType && // Support: Firefox <=42 // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click // Support: IE 11 only // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) !( event.type === "click" && event.button >= 1 ) ) { for ( ; cur !== this; cur = cur.parentNode || this ) { // Don't check non-elements (#13208) // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { matchedHandlers = []; matchedSelectors = {}; for ( i = 0; i < delegateCount; i++ ) { handleObj = handlers[ i ]; // Don't conflict with Object.prototype properties (#13203) sel = handleObj.selector + " "; if ( matchedSelectors[ sel ] === undefined ) { matchedSelectors[ sel ] = handleObj.needsContext ? jQuery( sel, this ).index( cur ) > -1 : jQuery.find( sel, this, null, [ cur ] ).length; } if ( matchedSelectors[ sel ] ) { matchedHandlers.push( handleObj ); } } if ( matchedHandlers.length ) { handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); } } } } // Add the remaining (directly-bound) handlers cur = this; if ( delegateCount < handlers.length ) { handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); } return handlerQueue; }, addProp: function( name, hook ) { Object.defineProperty( jQuery.Event.prototype, name, { enumerable: true, configurable: true, get: isFunction( hook ) ? function() { if ( this.originalEvent ) { return hook( this.originalEvent ); } } : function() { if ( this.originalEvent ) { return this.originalEvent[ name ]; } }, set: function( value ) { Object.defineProperty( this, name, { enumerable: true, configurable: true, writable: true, value: value } ); } } ); }, fix: function( originalEvent ) { return originalEvent[ jQuery.expando ] ? originalEvent : new jQuery.Event( originalEvent ); }, special: { load: { // Prevent triggered image.load events from bubbling to window.load noBubble: true }, click: { // Utilize native event to ensure correct state for checkable inputs setup: function( data ) { // For mutual compressibility with _default, replace `this` access with a local var. // `|| data` is dead code meant only to preserve the variable through minification. var el = this || data; // Claim the first handler if ( rcheckableType.test( el.type ) && el.click && nodeName( el, "input" ) ) { // dataPriv.set( el, "click", ... ) leverageNative( el, "click", returnTrue ); } // Return false to allow normal processing in the caller return false; }, trigger: function( data ) { // For mutual compressibility with _default, replace `this` access with a local var. // `|| data` is dead code meant only to preserve the variable through minification. var el = this || data; // Force setup before triggering a click if ( rcheckableType.test( el.type ) && el.click && nodeName( el, "input" ) ) { leverageNative( el, "click" ); } // Return non-false to allow normal event-path propagation return true; }, // For cross-browser consistency, suppress native .click() on links // Also prevent it if we're currently inside a leveraged native-event stack _default: function( event ) { var target = event.target; return rcheckableType.test( target.type ) && target.click && nodeName( target, "input" ) && dataPriv.get( target, "click" ) || nodeName( target, "a" ); } }, beforeunload: { postDispatch: function( event ) { // Support: Firefox 20+ // Firefox doesn't alert if the returnValue field is not set. if ( event.result !== undefined && event.originalEvent ) { event.originalEvent.returnValue = event.result; } } } } }; // Ensure the presence of an event listener that handles manually-triggered // synthetic events by interrupting progress until reinvoked in response to // *native* events that it fires directly, ensuring that state changes have // already occurred before other listeners are invoked. function leverageNative( el, type, expectSync ) { // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add if ( !expectSync ) { if ( dataPriv.get( el, type ) === undefined ) { jQuery.event.add( el, type, returnTrue ); } return; } // Register the controller as a special universal handler for all event namespaces dataPriv.set( el, type, false ); jQuery.event.add( el, type, { namespace: false, handler: function( event ) { var notAsync, result, saved = dataPriv.get( this, type ); if ( ( event.isTrigger & 1 ) && this[ type ] ) { // Interrupt processing of the outer synthetic .trigger()ed event // Saved data should be false in such cases, but might be a leftover capture object // from an async native handler (gh-4350) if ( !saved.length ) { // Store arguments for use when handling the inner native event // There will always be at least one argument (an event object), so this array // will not be confused with a leftover capture object. saved = slice.call( arguments ); dataPriv.set( this, type, saved ); // Trigger the native event and capture its result // Support: IE <=9 - 11+ // focus() and blur() are asynchronous notAsync = expectSync( this, type ); this[ type ](); result = dataPriv.get( this, type ); if ( saved !== result || notAsync ) { dataPriv.set( this, type, false ); } else { result = {}; } if ( saved !== result ) { // Cancel the outer synthetic event event.stopImmediatePropagation(); event.preventDefault(); // Support: Chrome 86+ // In Chrome, if an element having a focusout handler is blurred by // clicking outside of it, it invokes the handler synchronously. If // that handler calls `.remove()` on the element, the data is cleared, // leaving `result` undefined. We need to guard against this. return result && result.value; } // If this is an inner synthetic event for an event with a bubbling surrogate // (focus or blur), assume that the surrogate already propagated from triggering the // native event and prevent that from happening again here. // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the // bubbling surrogate propagates *after* the non-bubbling base), but that seems // less bad than duplication. } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { event.stopPropagation(); } // If this is a native event triggered above, everything is now in order // Fire an inner synthetic event with the original arguments } else if ( saved.length ) { // ...and capture the result dataPriv.set( this, type, { value: jQuery.event.trigger( // Support: IE <=9 - 11+ // Extend with the prototype to reset the above stopImmediatePropagation() jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), saved.slice( 1 ), this ) } ); // Abort handling of the native event event.stopImmediatePropagation(); } } } ); } jQuery.removeEvent = function( elem, type, handle ) { // This "if" is needed for plain objects if ( elem.removeEventListener ) { elem.removeEventListener( type, handle ); } }; jQuery.Event = function( src, props ) { // Allow instantiation without the 'new' keyword if ( !( this instanceof jQuery.Event ) ) { return new jQuery.Event( src, props ); } // Event object if ( src && src.type ) { this.originalEvent = src; this.type = src.type; // Events bubbling up the document may have been marked as prevented // by a handler lower down the tree; reflect the correct value. this.isDefaultPrevented = src.defaultPrevented || src.defaultPrevented === undefined && // Support: Android <=2.3 only src.returnValue === false ? returnTrue : returnFalse; // Create target properties // Support: Safari <=6 - 7 only // Target should not be a text node (#504, #13143) this.target = ( src.target && src.target.nodeType === 3 ) ? src.target.parentNode : src.target; this.currentTarget = src.currentTarget; this.relatedTarget = src.relatedTarget; // Event type } else { this.type = src; } // Put explicitly provided properties onto the event object if ( props ) { jQuery.extend( this, props ); } // Create a timestamp if incoming event doesn't have one this.timeStamp = src && src.timeStamp || Date.now(); // Mark it as fixed this[ jQuery.expando ] = true; }; // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding // https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html jQuery.Event.prototype = { constructor: jQuery.Event, isDefaultPrevented: returnFalse, isPropagationStopped: returnFalse, isImmediatePropagationStopped: returnFalse, isSimulated: false, preventDefault: function() { var e = this.originalEvent; this.isDefaultPrevented = returnTrue; if ( e && !this.isSimulated ) { e.preventDefault(); } }, stopPropagation: function() { var e = this.originalEvent; this.isPropagationStopped = returnTrue; if ( e && !this.isSimulated ) { e.stopPropagation(); } }, stopImmediatePropagation: function() { var e = this.originalEvent; this.isImmediatePropagationStopped = returnTrue; if ( e && !this.isSimulated ) { e.stopImmediatePropagation(); } this.stopPropagation(); } }; // Includes all common event props including KeyEvent and MouseEvent specific props jQuery.each( { altKey: true, bubbles: true, cancelable: true, changedTouches: true, ctrlKey: true, detail: true, eventPhase: true, metaKey: true, pageX: true, pageY: true, shiftKey: true, view: true, "char": true, code: true, charCode: true, key: true, keyCode: true, button: true, buttons: true, clientX: true, clientY: true, offsetX: true, offsetY: true, pointerId: true, pointerType: true, screenX: true, screenY: true, targetTouches: true, toElement: true, touches: true, which: true }, jQuery.event.addProp ); jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { jQuery.event.special[ type ] = { // Utilize native event if possible so blur/focus sequence is correct setup: function() { // Claim the first handler // dataPriv.set( this, "focus", ... ) // dataPriv.set( this, "blur", ... ) leverageNative( this, type, expectSync ); // Return false to allow normal processing in the caller return false; }, trigger: function() { // Force setup before trigger leverageNative( this, type ); // Return non-false to allow normal event-path propagation return true; }, // Suppress native focus or blur as it's already being fired // in leverageNative. _default: function() { return true; }, delegateType: delegateType }; } ); // Create mouseenter/leave events using mouseover/out and event-time checks // so that event delegation works in jQuery. // Do the same for pointerenter/pointerleave and pointerover/pointerout // // Support: Safari 7 only // Safari sends mouseenter too often; see: // https://bugs.chromium.org/p/chromium/issues/detail?id=470258 // for the description of the bug (it existed in older Chrome versions as well). jQuery.each( { mouseenter: "mouseover", mouseleave: "mouseout", pointerenter: "pointerover", pointerleave: "pointerout" }, function( orig, fix ) { jQuery.event.special[ orig ] = { delegateType: fix, bindType: fix, handle: function( event ) { var ret, target = this, related = event.relatedTarget, handleObj = event.handleObj; // For mouseenter/leave call the handler if related is outside the target. // NB: No relatedTarget if the mouse left/entered the browser window if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { event.type = handleObj.origType; ret = handleObj.handler.apply( this, arguments ); event.type = fix; } return ret; } }; } ); jQuery.fn.extend( { on: function( types, selector, data, fn ) { return on( this, types, selector, data, fn ); }, one: function( types, selector, data, fn ) { return on( this, types, selector, data, fn, 1 ); }, off: function( types, selector, fn ) { var handleObj, type; if ( types && types.preventDefault && types.handleObj ) { // ( event ) dispatched jQuery.Event handleObj = types.handleObj; jQuery( types.delegateTarget ).off( handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, handleObj.selector, handleObj.handler ); return this; } if ( typeof types === "object" ) { // ( types-object [, selector] ) for ( type in types ) { this.off( type, selector, types[ type ] ); } return this; } if ( selector === false || typeof selector === "function" ) { // ( types [, fn] ) fn = selector; selector = undefined; } if ( fn === false ) { fn = returnFalse; } return this.each( function() { jQuery.event.remove( this, types, fn, selector ); } ); } } ); var // Support: IE <=10 - 11, Edge 12 - 13 only // In IE/Edge using regex groups here causes severe slowdowns. // See https://connect.microsoft.com/IE/feedback/details/1736512/ rnoInnerhtml = /\s*$/g; // Prefer a tbody over its parent table for containing new rows function manipulationTarget( elem, content ) { if ( nodeName( elem, "table" ) && nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { return jQuery( elem ).children( "tbody" )[ 0 ] || elem; } return elem; } // Replace/restore the type attribute of script elements for safe DOM manipulation function disableScript( elem ) { elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; return elem; } function restoreScript( elem ) { if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { elem.type = elem.type.slice( 5 ); } else { elem.removeAttribute( "type" ); } return elem; } function cloneCopyEvent( src, dest ) { var i, l, type, pdataOld, udataOld, udataCur, events; if ( dest.nodeType !== 1 ) { return; } // 1. Copy private data: events, handlers, etc. if ( dataPriv.hasData( src ) ) { pdataOld = dataPriv.get( src ); events = pdataOld.events; if ( events ) { dataPriv.remove( dest, "handle events" ); for ( type in events ) { for ( i = 0, l = events[ type ].length; i < l; i++ ) { jQuery.event.add( dest, type, events[ type ][ i ] ); } } } } // 2. Copy user data if ( dataUser.hasData( src ) ) { udataOld = dataUser.access( src ); udataCur = jQuery.extend( {}, udataOld ); dataUser.set( dest, udataCur ); } } // Fix IE bugs, see support tests function fixInput( src, dest ) { var nodeName = dest.nodeName.toLowerCase(); // Fails to persist the checked state of a cloned checkbox or radio button. if ( nodeName === "input" && rcheckableType.test( src.type ) ) { dest.checked = src.checked; // Fails to return the selected option to the default selected state when cloning options } else if ( nodeName === "input" || nodeName === "textarea" ) { dest.defaultValue = src.defaultValue; } } function domManip( collection, args, callback, ignored ) { // Flatten any nested arrays args = flat( args ); var fragment, first, scripts, hasScripts, node, doc, i = 0, l = collection.length, iNoClone = l - 1, value = args[ 0 ], valueIsFunction = isFunction( value ); // We can't cloneNode fragments that contain checked, in WebKit if ( valueIsFunction || ( l > 1 && typeof value === "string" && !support.checkClone && rchecked.test( value ) ) ) { return collection.each( function( index ) { var self = collection.eq( index ); if ( valueIsFunction ) { args[ 0 ] = value.call( this, index, self.html() ); } domManip( self, args, callback, ignored ); } ); } if ( l ) { fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); first = fragment.firstChild; if ( fragment.childNodes.length === 1 ) { fragment = first; } // Require either new content or an interest in ignored elements to invoke the callback if ( first || ignored ) { scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); hasScripts = scripts.length; // Use the original fragment for the last item // instead of the first because it can end up // being emptied incorrectly in certain situations (#8070). for ( ; i < l; i++ ) { node = fragment; if ( i !== iNoClone ) { node = jQuery.clone( node, true, true ); // Keep references to cloned scripts for later restoration if ( hasScripts ) { // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( scripts, getAll( node, "script" ) ); } } callback.call( collection[ i ], node, i ); } if ( hasScripts ) { doc = scripts[ scripts.length - 1 ].ownerDocument; // Reenable scripts jQuery.map( scripts, restoreScript ); // Evaluate executable scripts on first document insertion for ( i = 0; i < hasScripts; i++ ) { node = scripts[ i ]; if ( rscriptType.test( node.type || "" ) && !dataPriv.access( node, "globalEval" ) && jQuery.contains( doc, node ) ) { if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { // Optional AJAX dependency, but won't run scripts if not present if ( jQuery._evalUrl && !node.noModule ) { jQuery._evalUrl( node.src, { nonce: node.nonce || node.getAttribute( "nonce" ) }, doc ); } } else { DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); } } } } } } return collection; } function remove( elem, selector, keepData ) { var node, nodes = selector ? jQuery.filter( selector, elem ) : elem, i = 0; for ( ; ( node = nodes[ i ] ) != null; i++ ) { if ( !keepData && node.nodeType === 1 ) { jQuery.cleanData( getAll( node ) ); } if ( node.parentNode ) { if ( keepData && isAttached( node ) ) { setGlobalEval( getAll( node, "script" ) ); } node.parentNode.removeChild( node ); } } return elem; } jQuery.extend( { htmlPrefilter: function( html ) { return html; }, clone: function( elem, dataAndEvents, deepDataAndEvents ) { var i, l, srcElements, destElements, clone = elem.cloneNode( true ), inPage = isAttached( elem ); // Fix IE cloning issues if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && !jQuery.isXMLDoc( elem ) ) { // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 destElements = getAll( clone ); srcElements = getAll( elem ); for ( i = 0, l = srcElements.length; i < l; i++ ) { fixInput( srcElements[ i ], destElements[ i ] ); } } // Copy the events from the original to the clone if ( dataAndEvents ) { if ( deepDataAndEvents ) { srcElements = srcElements || getAll( elem ); destElements = destElements || getAll( clone ); for ( i = 0, l = srcElements.length; i < l; i++ ) { cloneCopyEvent( srcElements[ i ], destElements[ i ] ); } } else { cloneCopyEvent( elem, clone ); } } // Preserve script evaluation history destElements = getAll( clone, "script" ); if ( destElements.length > 0 ) { setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); } // Return the cloned set return clone; }, cleanData: function( elems ) { var data, elem, type, special = jQuery.event.special, i = 0; for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { if ( acceptData( elem ) ) { if ( ( data = elem[ dataPriv.expando ] ) ) { if ( data.events ) { for ( type in data.events ) { if ( special[ type ] ) { jQuery.event.remove( elem, type ); // This is a shortcut to avoid jQuery.event.remove's overhead } else { jQuery.removeEvent( elem, type, data.handle ); } } } // Support: Chrome <=35 - 45+ // Assign undefined instead of using delete, see Data#remove elem[ dataPriv.expando ] = undefined; } if ( elem[ dataUser.expando ] ) { // Support: Chrome <=35 - 45+ // Assign undefined instead of using delete, see Data#remove elem[ dataUser.expando ] = undefined; } } } } } ); jQuery.fn.extend( { detach: function( selector ) { return remove( this, selector, true ); }, remove: function( selector ) { return remove( this, selector ); }, text: function( value ) { return access( this, function( value ) { return value === undefined ? jQuery.text( this ) : this.empty().each( function() { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { this.textContent = value; } } ); }, null, value, arguments.length ); }, append: function() { return domManip( this, arguments, function( elem ) { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { var target = manipulationTarget( this, elem ); target.appendChild( elem ); } } ); }, prepend: function() { return domManip( this, arguments, function( elem ) { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { var target = manipulationTarget( this, elem ); target.insertBefore( elem, target.firstChild ); } } ); }, before: function() { return domManip( this, arguments, function( elem ) { if ( this.parentNode ) { this.parentNode.insertBefore( elem, this ); } } ); }, after: function() { return domManip( this, arguments, function( elem ) { if ( this.parentNode ) { this.parentNode.insertBefore( elem, this.nextSibling ); } } ); }, empty: function() { var elem, i = 0; for ( ; ( elem = this[ i ] ) != null; i++ ) { if ( elem.nodeType === 1 ) { // Prevent memory leaks jQuery.cleanData( getAll( elem, false ) ); // Remove any remaining nodes elem.textContent = ""; } } return this; }, clone: function( dataAndEvents, deepDataAndEvents ) { dataAndEvents = dataAndEvents == null ? false : dataAndEvents; deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; return this.map( function() { return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); } ); }, html: function( value ) { return access( this, function( value ) { var elem = this[ 0 ] || {}, i = 0, l = this.length; if ( value === undefined && elem.nodeType === 1 ) { return elem.innerHTML; } // See if we can take a shortcut and just use innerHTML if ( typeof value === "string" && !rnoInnerhtml.test( value ) && !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { value = jQuery.htmlPrefilter( value ); try { for ( ; i < l; i++ ) { elem = this[ i ] || {}; // Remove element nodes and prevent memory leaks if ( elem.nodeType === 1 ) { jQuery.cleanData( getAll( elem, false ) ); elem.innerHTML = value; } } elem = 0; // If using innerHTML throws an exception, use the fallback method } catch ( e ) {} } if ( elem ) { this.empty().append( value ); } }, null, value, arguments.length ); }, replaceWith: function() { var ignored = []; // Make the changes, replacing each non-ignored context element with the new content return domManip( this, arguments, function( elem ) { var parent = this.parentNode; if ( jQuery.inArray( this, ignored ) < 0 ) { jQuery.cleanData( getAll( this ) ); if ( parent ) { parent.replaceChild( elem, this ); } } // Force callback invocation }, ignored ); } } ); jQuery.each( { appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function( name, original ) { jQuery.fn[ name ] = function( selector ) { var elems, ret = [], insert = jQuery( selector ), last = insert.length - 1, i = 0; for ( ; i <= last; i++ ) { elems = i === last ? this : this.clone( true ); jQuery( insert[ i ] )[ original ]( elems ); // Support: Android <=4.0 only, PhantomJS 1 only // .get() because push.apply(_, arraylike) throws on ancient WebKit push.apply( ret, elems.get() ); } return this.pushStack( ret ); }; } ); var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); var getStyles = function( elem ) { // Support: IE <=11 only, Firefox <=30 (#15098, #14150) // IE throws on elements created in popups // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" var view = elem.ownerDocument.defaultView; if ( !view || !view.opener ) { view = window; } return view.getComputedStyle( elem ); }; var swap = function( elem, options, callback ) { var ret, name, old = {}; // Remember the old values, and insert the new ones for ( name in options ) { old[ name ] = elem.style[ name ]; elem.style[ name ] = options[ name ]; } ret = callback.call( elem ); // Revert the old values for ( name in options ) { elem.style[ name ] = old[ name ]; } return ret; }; var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); ( function() { // Executing both pixelPosition & boxSizingReliable tests require only one layout // so they're executed at the same time to save the second computation. function computeStyleTests() { // This is a singleton, we need to execute it only once if ( !div ) { return; } container.style.cssText = "position:absolute;left:-11111px;width:60px;" + "margin-top:1px;padding:0;border:0"; div.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + "margin:auto;border:1px;padding:1px;" + "width:60%;top:1%"; documentElement.appendChild( container ).appendChild( div ); var divStyle = window.getComputedStyle( div ); pixelPositionVal = divStyle.top !== "1%"; // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 // Some styles come back with percentage values, even though they shouldn't div.style.right = "60%"; pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; // Support: IE 9 - 11 only // Detect misreporting of content dimensions for box-sizing:border-box elements boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; // Support: IE 9 only // Detect overflow:scroll screwiness (gh-3699) // Support: Chrome <=64 // Don't get tricked when zoom affects offsetWidth (gh-4029) div.style.position = "absolute"; scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; documentElement.removeChild( container ); // Nullify the div so it wouldn't be stored in the memory and // it will also be a sign that checks already performed div = null; } function roundPixelMeasures( measure ) { return Math.round( parseFloat( measure ) ); } var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, reliableTrDimensionsVal, reliableMarginLeftVal, container = document.createElement( "div" ), div = document.createElement( "div" ); // Finish early in limited (non-browser) environments if ( !div.style ) { return; } // Support: IE <=9 - 11 only // Style of cloned element affects source element cloned (#8908) div.style.backgroundClip = "content-box"; div.cloneNode( true ).style.backgroundClip = ""; support.clearCloneStyle = div.style.backgroundClip === "content-box"; jQuery.extend( support, { boxSizingReliable: function() { computeStyleTests(); return boxSizingReliableVal; }, pixelBoxStyles: function() { computeStyleTests(); return pixelBoxStylesVal; }, pixelPosition: function() { computeStyleTests(); return pixelPositionVal; }, reliableMarginLeft: function() { computeStyleTests(); return reliableMarginLeftVal; }, scrollboxSize: function() { computeStyleTests(); return scrollboxSizeVal; }, // Support: IE 9 - 11+, Edge 15 - 18+ // IE/Edge misreport `getComputedStyle` of table rows with width/height // set in CSS while `offset*` properties report correct values. // Behavior in IE 9 is more subtle than in newer versions & it passes // some versions of this test; make sure not to make it pass there! // // Support: Firefox 70+ // Only Firefox includes border widths // in computed dimensions. (gh-4529) reliableTrDimensions: function() { var table, tr, trChild, trStyle; if ( reliableTrDimensionsVal == null ) { table = document.createElement( "table" ); tr = document.createElement( "tr" ); trChild = document.createElement( "div" ); table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; tr.style.cssText = "border:1px solid"; // Support: Chrome 86+ // Height set through cssText does not get applied. // Computed height then comes back as 0. tr.style.height = "1px"; trChild.style.height = "9px"; // Support: Android 8 Chrome 86+ // In our bodyBackground.html iframe, // display for all div elements is set to "inline", // which causes a problem only in Android 8 Chrome 86. // Ensuring the div is display: block // gets around this issue. trChild.style.display = "block"; documentElement .appendChild( table ) .appendChild( tr ) .appendChild( trChild ); trStyle = window.getComputedStyle( tr ); reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + parseInt( trStyle.borderTopWidth, 10 ) + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; documentElement.removeChild( table ); } return reliableTrDimensionsVal; } } ); } )(); function curCSS( elem, name, computed ) { var width, minWidth, maxWidth, ret, // Support: Firefox 51+ // Retrieving style before computed somehow // fixes an issue with getting wrong values // on detached elements style = elem.style; computed = computed || getStyles( elem ); // getPropertyValue is needed for: // .css('filter') (IE 9 only, #12537) // .css('--customProperty) (#3144) if ( computed ) { ret = computed.getPropertyValue( name ) || computed[ name ]; if ( ret === "" && !isAttached( elem ) ) { ret = jQuery.style( elem, name ); } // A tribute to the "awesome hack by Dean Edwards" // Android Browser returns percentage for some values, // but width seems to be reliably pixels. // This is against the CSSOM draft spec: // https://drafts.csswg.org/cssom/#resolved-values if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { // Remember the original values width = style.width; minWidth = style.minWidth; maxWidth = style.maxWidth; // Put in the new values to get a computed value out style.minWidth = style.maxWidth = style.width = ret; ret = computed.width; // Revert the changed values style.width = width; style.minWidth = minWidth; style.maxWidth = maxWidth; } } return ret !== undefined ? // Support: IE <=9 - 11 only // IE returns zIndex value as an integer. ret + "" : ret; } function addGetHookIf( conditionFn, hookFn ) { // Define the hook, we'll check on the first run if it's really needed. return { get: function() { if ( conditionFn() ) { // Hook not needed (or it's not possible to use it due // to missing dependency), remove it. delete this.get; return; } // Hook needed; redefine it so that the support test is not executed again. return ( this.get = hookFn ).apply( this, arguments ); } }; } var cssPrefixes = [ "Webkit", "Moz", "ms" ], emptyStyle = document.createElement( "div" ).style, vendorProps = {}; // Return a vendor-prefixed property or undefined function vendorPropName( name ) { // Check for vendor prefixed names var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), i = cssPrefixes.length; while ( i-- ) { name = cssPrefixes[ i ] + capName; if ( name in emptyStyle ) { return name; } } } // Return a potentially-mapped jQuery.cssProps or vendor prefixed property function finalPropName( name ) { var final = jQuery.cssProps[ name ] || vendorProps[ name ]; if ( final ) { return final; } if ( name in emptyStyle ) { return name; } return vendorProps[ name ] = vendorPropName( name ) || name; } var // Swappable if display is none or starts with table // except "table", "table-cell", or "table-caption" // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display rdisplayswap = /^(none|table(?!-c[ea]).+)/, rcustomProp = /^--/, cssShow = { position: "absolute", visibility: "hidden", display: "block" }, cssNormalTransform = { letterSpacing: "0", fontWeight: "400" }; function setPositiveNumber( _elem, value, subtract ) { // Any relative (+/-) values have already been // normalized at this point var matches = rcssNum.exec( value ); return matches ? // Guard against undefined "subtract", e.g., when used as in cssHooks Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : value; } function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { var i = dimension === "width" ? 1 : 0, extra = 0, delta = 0; // Adjustment may not be necessary if ( box === ( isBorderBox ? "border" : "content" ) ) { return 0; } for ( ; i < 4; i += 2 ) { // Both box models exclude margin if ( box === "margin" ) { delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); } // If we get here with a content-box, we're seeking "padding" or "border" or "margin" if ( !isBorderBox ) { // Add padding delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); // For "border" or "margin", add border if ( box !== "padding" ) { delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); // But still keep track of it otherwise } else { extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); } // If we get here with a border-box (content + padding + border), we're seeking "content" or // "padding" or "margin" } else { // For "content", subtract padding if ( box === "content" ) { delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); } // For "content" or "padding", subtract border if ( box !== "margin" ) { delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); } } } // Account for positive content-box scroll gutter when requested by providing computedVal if ( !isBorderBox && computedVal >= 0 ) { // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border // Assuming integer scroll gutter, subtract the rest and round down delta += Math.max( 0, Math.ceil( elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - computedVal - delta - extra - 0.5 // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter // Use an explicit zero to avoid NaN (gh-3964) ) ) || 0; } return delta; } function getWidthOrHeight( elem, dimension, extra ) { // Start with computed style var styles = getStyles( elem ), // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). // Fake content-box until we know it's needed to know the true value. boxSizingNeeded = !support.boxSizingReliable() || extra, isBorderBox = boxSizingNeeded && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", valueIsBorderBox = isBorderBox, val = curCSS( elem, dimension, styles ), offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); // Support: Firefox <=54 // Return a confounding non-pixel value or feign ignorance, as appropriate. if ( rnumnonpx.test( val ) ) { if ( !extra ) { return val; } val = "auto"; } // Support: IE 9 - 11 only // Use offsetWidth/offsetHeight for when box sizing is unreliable. // In those cases, the computed value can be trusted to be border-box. if ( ( !support.boxSizingReliable() && isBorderBox || // Support: IE 10 - 11+, Edge 15 - 18+ // IE/Edge misreport `getComputedStyle` of table rows with width/height // set in CSS while `offset*` properties report correct values. // Interestingly, in some cases IE 9 doesn't suffer from this issue. !support.reliableTrDimensions() && nodeName( elem, "tr" ) || // Fall back to offsetWidth/offsetHeight when value is "auto" // This happens for inline elements with no explicit setting (gh-3571) val === "auto" || // Support: Android <=4.1 - 4.3 only // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && // Make sure the element is visible & connected elem.getClientRects().length ) { isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; // Where available, offsetWidth/offsetHeight approximate border box dimensions. // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the // retrieved value as a content box dimension. valueIsBorderBox = offsetProp in elem; if ( valueIsBorderBox ) { val = elem[ offsetProp ]; } } // Normalize "" and auto val = parseFloat( val ) || 0; // Adjust for the element's box model return ( val + boxModelAdjustment( elem, dimension, extra || ( isBorderBox ? "border" : "content" ), valueIsBorderBox, styles, // Provide the current computed size to request scroll gutter calculation (gh-3589) val ) ) + "px"; } jQuery.extend( { // Add in style property hooks for overriding the default // behavior of getting and setting a style property cssHooks: { opacity: { get: function( elem, computed ) { if ( computed ) { // We should always get a number back from opacity var ret = curCSS( elem, "opacity" ); return ret === "" ? "1" : ret; } } } }, // Don't automatically add "px" to these possibly-unitless properties cssNumber: { "animationIterationCount": true, "columnCount": true, "fillOpacity": true, "flexGrow": true, "flexShrink": true, "fontWeight": true, "gridArea": true, "gridColumn": true, "gridColumnEnd": true, "gridColumnStart": true, "gridRow": true, "gridRowEnd": true, "gridRowStart": true, "lineHeight": true, "opacity": true, "order": true, "orphans": true, "widows": true, "zIndex": true, "zoom": true }, // Add in properties whose names you wish to fix before // setting or getting the value cssProps: {}, // Get and set the style property on a DOM Node style: function( elem, name, value, extra ) { // Don't set styles on text and comment nodes if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { return; } // Make sure that we're working with the right name var ret, type, hooks, origName = camelCase( name ), isCustomProp = rcustomProp.test( name ), style = elem.style; // Make sure that we're working with the right name. We don't // want to query the value if it is a CSS custom property // since they are user-defined. if ( !isCustomProp ) { name = finalPropName( origName ); } // Gets hook for the prefixed version, then unprefixed version hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; // Check if we're setting a value if ( value !== undefined ) { type = typeof value; // Convert "+=" or "-=" to relative numbers (#7345) if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { value = adjustCSS( elem, name, ret ); // Fixes bug #9237 type = "number"; } // Make sure that null and NaN values aren't set (#7116) if ( value == null || value !== value ) { return; } // If a number was passed in, add the unit (except for certain CSS properties) // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append // "px" to a few hardcoded values. if ( type === "number" && !isCustomProp ) { value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); } // background-* props affect original clone's values if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { style[ name ] = "inherit"; } // If a hook was provided, use that value, otherwise just set the specified value if ( !hooks || !( "set" in hooks ) || ( value = hooks.set( elem, value, extra ) ) !== undefined ) { if ( isCustomProp ) { style.setProperty( name, value ); } else { style[ name ] = value; } } } else { // If a hook was provided get the non-computed value from there if ( hooks && "get" in hooks && ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { return ret; } // Otherwise just get the value from the style object return style[ name ]; } }, css: function( elem, name, extra, styles ) { var val, num, hooks, origName = camelCase( name ), isCustomProp = rcustomProp.test( name ); // Make sure that we're working with the right name. We don't // want to modify the value if it is a CSS custom property // since they are user-defined. if ( !isCustomProp ) { name = finalPropName( origName ); } // Try prefixed name followed by the unprefixed name hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; // If a hook was provided get the computed value from there if ( hooks && "get" in hooks ) { val = hooks.get( elem, true, extra ); } // Otherwise, if a way to get the computed value exists, use that if ( val === undefined ) { val = curCSS( elem, name, styles ); } // Convert "normal" to computed value if ( val === "normal" && name in cssNormalTransform ) { val = cssNormalTransform[ name ]; } // Make numeric if forced or a qualifier was provided and val looks numeric if ( extra === "" || extra ) { num = parseFloat( val ); return extra === true || isFinite( num ) ? num || 0 : val; } return val; } } ); jQuery.each( [ "height", "width" ], function( _i, dimension ) { jQuery.cssHooks[ dimension ] = { get: function( elem, computed, extra ) { if ( computed ) { // Certain elements can have dimension info if we invisibly show them // but it must have a current display style that would benefit return rdisplayswap.test( jQuery.css( elem, "display" ) ) && // Support: Safari 8+ // Table columns in Safari have non-zero offsetWidth & zero // getBoundingClientRect().width unless display is changed. // Support: IE <=11 only // Running getBoundingClientRect on a disconnected node // in IE throws an error. ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? swap( elem, cssShow, function() { return getWidthOrHeight( elem, dimension, extra ); } ) : getWidthOrHeight( elem, dimension, extra ); } }, set: function( elem, value, extra ) { var matches, styles = getStyles( elem ), // Only read styles.position if the test has a chance to fail // to avoid forcing a reflow. scrollboxSizeBuggy = !support.scrollboxSize() && styles.position === "absolute", // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) boxSizingNeeded = scrollboxSizeBuggy || extra, isBorderBox = boxSizingNeeded && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", subtract = extra ? boxModelAdjustment( elem, dimension, extra, isBorderBox, styles ) : 0; // Account for unreliable border-box dimensions by comparing offset* to computed and // faking a content-box to get border and padding (gh-3699) if ( isBorderBox && scrollboxSizeBuggy ) { subtract -= Math.ceil( elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - parseFloat( styles[ dimension ] ) - boxModelAdjustment( elem, dimension, "border", false, styles ) - 0.5 ); } // Convert to pixels if value adjustment is needed if ( subtract && ( matches = rcssNum.exec( value ) ) && ( matches[ 3 ] || "px" ) !== "px" ) { elem.style[ dimension ] = value; value = jQuery.css( elem, dimension ); } return setPositiveNumber( elem, value, subtract ); } }; } ); jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, function( elem, computed ) { if ( computed ) { return ( parseFloat( curCSS( elem, "marginLeft" ) ) || elem.getBoundingClientRect().left - swap( elem, { marginLeft: 0 }, function() { return elem.getBoundingClientRect().left; } ) ) + "px"; } } ); // These hooks are used by animate to expand properties jQuery.each( { margin: "", padding: "", border: "Width" }, function( prefix, suffix ) { jQuery.cssHooks[ prefix + suffix ] = { expand: function( value ) { var i = 0, expanded = {}, // Assumes a single number if not a string parts = typeof value === "string" ? value.split( " " ) : [ value ]; for ( ; i < 4; i++ ) { expanded[ prefix + cssExpand[ i ] + suffix ] = parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; } return expanded; } }; if ( prefix !== "margin" ) { jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; } } ); jQuery.fn.extend( { css: function( name, value ) { return access( this, function( elem, name, value ) { var styles, len, map = {}, i = 0; if ( Array.isArray( name ) ) { styles = getStyles( elem ); len = name.length; for ( ; i < len; i++ ) { map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); } return map; } return value !== undefined ? jQuery.style( elem, name, value ) : jQuery.css( elem, name ); }, name, value, arguments.length > 1 ); } } ); function Tween( elem, options, prop, end, easing ) { return new Tween.prototype.init( elem, options, prop, end, easing ); } jQuery.Tween = Tween; Tween.prototype = { constructor: Tween, init: function( elem, options, prop, end, easing, unit ) { this.elem = elem; this.prop = prop; this.easing = easing || jQuery.easing._default; this.options = options; this.start = this.now = this.cur(); this.end = end; this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); }, cur: function() { var hooks = Tween.propHooks[ this.prop ]; return hooks && hooks.get ? hooks.get( this ) : Tween.propHooks._default.get( this ); }, run: function( percent ) { var eased, hooks = Tween.propHooks[ this.prop ]; if ( this.options.duration ) { this.pos = eased = jQuery.easing[ this.easing ]( percent, this.options.duration * percent, 0, 1, this.options.duration ); } else { this.pos = eased = percent; } this.now = ( this.end - this.start ) * eased + this.start; if ( this.options.step ) { this.options.step.call( this.elem, this.now, this ); } if ( hooks && hooks.set ) { hooks.set( this ); } else { Tween.propHooks._default.set( this ); } return this; } }; Tween.prototype.init.prototype = Tween.prototype; Tween.propHooks = { _default: { get: function( tween ) { var result; // Use a property on the element directly when it is not a DOM element, // or when there is no matching style property that exists. if ( tween.elem.nodeType !== 1 || tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { return tween.elem[ tween.prop ]; } // Passing an empty string as a 3rd parameter to .css will automatically // attempt a parseFloat and fallback to a string if the parse fails. // Simple values such as "10px" are parsed to Float; // complex values such as "rotate(1rad)" are returned as-is. result = jQuery.css( tween.elem, tween.prop, "" ); // Empty strings, null, undefined and "auto" are converted to 0. return !result || result === "auto" ? 0 : result; }, set: function( tween ) { // Use step hook for back compat. // Use cssHook if its there. // Use .style if available and use plain properties where available. if ( jQuery.fx.step[ tween.prop ] ) { jQuery.fx.step[ tween.prop ]( tween ); } else if ( tween.elem.nodeType === 1 && ( jQuery.cssHooks[ tween.prop ] || tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); } else { tween.elem[ tween.prop ] = tween.now; } } } }; // Support: IE <=9 only // Panic based approach to setting things on disconnected nodes Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { set: function( tween ) { if ( tween.elem.nodeType && tween.elem.parentNode ) { tween.elem[ tween.prop ] = tween.now; } } }; jQuery.easing = { linear: function( p ) { return p; }, swing: function( p ) { return 0.5 - Math.cos( p * Math.PI ) / 2; }, _default: "swing" }; jQuery.fx = Tween.prototype.init; // Back compat <1.8 extension point jQuery.fx.step = {}; var fxNow, inProgress, rfxtypes = /^(?:toggle|show|hide)$/, rrun = /queueHooks$/; function schedule() { if ( inProgress ) { if ( document.hidden === false && window.requestAnimationFrame ) { window.requestAnimationFrame( schedule ); } else { window.setTimeout( schedule, jQuery.fx.interval ); } jQuery.fx.tick(); } } // Animations created synchronously will run synchronously function createFxNow() { window.setTimeout( function() { fxNow = undefined; } ); return ( fxNow = Date.now() ); } // Generate parameters to create a standard animation function genFx( type, includeWidth ) { var which, i = 0, attrs = { height: type }; // If we include width, step value is 1 to do all cssExpand values, // otherwise step value is 2 to skip over Left and Right includeWidth = includeWidth ? 1 : 0; for ( ; i < 4; i += 2 - includeWidth ) { which = cssExpand[ i ]; attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; } if ( includeWidth ) { attrs.opacity = attrs.width = type; } return attrs; } function createTween( value, prop, animation ) { var tween, collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), index = 0, length = collection.length; for ( ; index < length; index++ ) { if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { // We're done with this property return tween; } } } function defaultPrefilter( elem, props, opts ) { var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, isBox = "width" in props || "height" in props, anim = this, orig = {}, style = elem.style, hidden = elem.nodeType && isHiddenWithinTree( elem ), dataShow = dataPriv.get( elem, "fxshow" ); // Queue-skipping animations hijack the fx hooks if ( !opts.queue ) { hooks = jQuery._queueHooks( elem, "fx" ); if ( hooks.unqueued == null ) { hooks.unqueued = 0; oldfire = hooks.empty.fire; hooks.empty.fire = function() { if ( !hooks.unqueued ) { oldfire(); } }; } hooks.unqueued++; anim.always( function() { // Ensure the complete handler is called before this completes anim.always( function() { hooks.unqueued--; if ( !jQuery.queue( elem, "fx" ).length ) { hooks.empty.fire(); } } ); } ); } // Detect show/hide animations for ( prop in props ) { value = props[ prop ]; if ( rfxtypes.test( value ) ) { delete props[ prop ]; toggle = toggle || value === "toggle"; if ( value === ( hidden ? "hide" : "show" ) ) { // Pretend to be hidden if this is a "show" and // there is still data from a stopped show/hide if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { hidden = true; // Ignore all other no-op show/hide data } else { continue; } } orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); } } // Bail out if this is a no-op like .hide().hide() propTween = !jQuery.isEmptyObject( props ); if ( !propTween && jQuery.isEmptyObject( orig ) ) { return; } // Restrict "overflow" and "display" styles during box animations if ( isBox && elem.nodeType === 1 ) { // Support: IE <=9 - 11, Edge 12 - 15 // Record all 3 overflow attributes because IE does not infer the shorthand // from identically-valued overflowX and overflowY and Edge just mirrors // the overflowX value there. opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; // Identify a display type, preferring old show/hide data over the CSS cascade restoreDisplay = dataShow && dataShow.display; if ( restoreDisplay == null ) { restoreDisplay = dataPriv.get( elem, "display" ); } display = jQuery.css( elem, "display" ); if ( display === "none" ) { if ( restoreDisplay ) { display = restoreDisplay; } else { // Get nonempty value(s) by temporarily forcing visibility showHide( [ elem ], true ); restoreDisplay = elem.style.display || restoreDisplay; display = jQuery.css( elem, "display" ); showHide( [ elem ] ); } } // Animate inline elements as inline-block if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { if ( jQuery.css( elem, "float" ) === "none" ) { // Restore the original display value at the end of pure show/hide animations if ( !propTween ) { anim.done( function() { style.display = restoreDisplay; } ); if ( restoreDisplay == null ) { display = style.display; restoreDisplay = display === "none" ? "" : display; } } style.display = "inline-block"; } } } if ( opts.overflow ) { style.overflow = "hidden"; anim.always( function() { style.overflow = opts.overflow[ 0 ]; style.overflowX = opts.overflow[ 1 ]; style.overflowY = opts.overflow[ 2 ]; } ); } // Implement show/hide animations propTween = false; for ( prop in orig ) { // General show/hide setup for this element animation if ( !propTween ) { if ( dataShow ) { if ( "hidden" in dataShow ) { hidden = dataShow.hidden; } } else { dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); } // Store hidden/visible for toggle so `.stop().toggle()` "reverses" if ( toggle ) { dataShow.hidden = !hidden; } // Show elements before animating them if ( hidden ) { showHide( [ elem ], true ); } /* eslint-disable no-loop-func */ anim.done( function() { /* eslint-enable no-loop-func */ // The final step of a "hide" animation is actually hiding the element if ( !hidden ) { showHide( [ elem ] ); } dataPriv.remove( elem, "fxshow" ); for ( prop in orig ) { jQuery.style( elem, prop, orig[ prop ] ); } } ); } // Per-property setup propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); if ( !( prop in dataShow ) ) { dataShow[ prop ] = propTween.start; if ( hidden ) { propTween.end = propTween.start; propTween.start = 0; } } } } function propFilter( props, specialEasing ) { var index, name, easing, value, hooks; // camelCase, specialEasing and expand cssHook pass for ( index in props ) { name = camelCase( index ); easing = specialEasing[ name ]; value = props[ index ]; if ( Array.isArray( value ) ) { easing = value[ 1 ]; value = props[ index ] = value[ 0 ]; } if ( index !== name ) { props[ name ] = value; delete props[ index ]; } hooks = jQuery.cssHooks[ name ]; if ( hooks && "expand" in hooks ) { value = hooks.expand( value ); delete props[ name ]; // Not quite $.extend, this won't overwrite existing keys. // Reusing 'index' because we have the correct "name" for ( index in value ) { if ( !( index in props ) ) { props[ index ] = value[ index ]; specialEasing[ index ] = easing; } } } else { specialEasing[ name ] = easing; } } } function Animation( elem, properties, options ) { var result, stopped, index = 0, length = Animation.prefilters.length, deferred = jQuery.Deferred().always( function() { // Don't match elem in the :animated selector delete tick.elem; } ), tick = function() { if ( stopped ) { return false; } var currentTime = fxNow || createFxNow(), remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), // Support: Android 2.3 only // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) temp = remaining / animation.duration || 0, percent = 1 - temp, index = 0, length = animation.tweens.length; for ( ; index < length; index++ ) { animation.tweens[ index ].run( percent ); } deferred.notifyWith( elem, [ animation, percent, remaining ] ); // If there's more to do, yield if ( percent < 1 && length ) { return remaining; } // If this was an empty animation, synthesize a final progress notification if ( !length ) { deferred.notifyWith( elem, [ animation, 1, 0 ] ); } // Resolve the animation and report its conclusion deferred.resolveWith( elem, [ animation ] ); return false; }, animation = deferred.promise( { elem: elem, props: jQuery.extend( {}, properties ), opts: jQuery.extend( true, { specialEasing: {}, easing: jQuery.easing._default }, options ), originalProperties: properties, originalOptions: options, startTime: fxNow || createFxNow(), duration: options.duration, tweens: [], createTween: function( prop, end ) { var tween = jQuery.Tween( elem, animation.opts, prop, end, animation.opts.specialEasing[ prop ] || animation.opts.easing ); animation.tweens.push( tween ); return tween; }, stop: function( gotoEnd ) { var index = 0, // If we are going to the end, we want to run all the tweens // otherwise we skip this part length = gotoEnd ? animation.tweens.length : 0; if ( stopped ) { return this; } stopped = true; for ( ; index < length; index++ ) { animation.tweens[ index ].run( 1 ); } // Resolve when we played the last frame; otherwise, reject if ( gotoEnd ) { deferred.notifyWith( elem, [ animation, 1, 0 ] ); deferred.resolveWith( elem, [ animation, gotoEnd ] ); } else { deferred.rejectWith( elem, [ animation, gotoEnd ] ); } return this; } } ), props = animation.props; propFilter( props, animation.opts.specialEasing ); for ( ; index < length; index++ ) { result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); if ( result ) { if ( isFunction( result.stop ) ) { jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = result.stop.bind( result ); } return result; } } jQuery.map( props, createTween, animation ); if ( isFunction( animation.opts.start ) ) { animation.opts.start.call( elem, animation ); } // Attach callbacks from options animation .progress( animation.opts.progress ) .done( animation.opts.done, animation.opts.complete ) .fail( animation.opts.fail ) .always( animation.opts.always ); jQuery.fx.timer( jQuery.extend( tick, { elem: elem, anim: animation, queue: animation.opts.queue } ) ); return animation; } jQuery.Animation = jQuery.extend( Animation, { tweeners: { "*": [ function( prop, value ) { var tween = this.createTween( prop, value ); adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); return tween; } ] }, tweener: function( props, callback ) { if ( isFunction( props ) ) { callback = props; props = [ "*" ]; } else { props = props.match( rnothtmlwhite ); } var prop, index = 0, length = props.length; for ( ; index < length; index++ ) { prop = props[ index ]; Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; Animation.tweeners[ prop ].unshift( callback ); } }, prefilters: [ defaultPrefilter ], prefilter: function( callback, prepend ) { if ( prepend ) { Animation.prefilters.unshift( callback ); } else { Animation.prefilters.push( callback ); } } } ); jQuery.speed = function( speed, easing, fn ) { var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { complete: fn || !fn && easing || isFunction( speed ) && speed, duration: speed, easing: fn && easing || easing && !isFunction( easing ) && easing }; // Go to the end state if fx are off if ( jQuery.fx.off ) { opt.duration = 0; } else { if ( typeof opt.duration !== "number" ) { if ( opt.duration in jQuery.fx.speeds ) { opt.duration = jQuery.fx.speeds[ opt.duration ]; } else { opt.duration = jQuery.fx.speeds._default; } } } // Normalize opt.queue - true/undefined/null -> "fx" if ( opt.queue == null || opt.queue === true ) { opt.queue = "fx"; } // Queueing opt.old = opt.complete; opt.complete = function() { if ( isFunction( opt.old ) ) { opt.old.call( this ); } if ( opt.queue ) { jQuery.dequeue( this, opt.queue ); } }; return opt; }; jQuery.fn.extend( { fadeTo: function( speed, to, easing, callback ) { // Show any hidden elements after setting opacity to 0 return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() // Animate to the value specified .end().animate( { opacity: to }, speed, easing, callback ); }, animate: function( prop, speed, easing, callback ) { var empty = jQuery.isEmptyObject( prop ), optall = jQuery.speed( speed, easing, callback ), doAnimation = function() { // Operate on a copy of prop so per-property easing won't be lost var anim = Animation( this, jQuery.extend( {}, prop ), optall ); // Empty animations, or finishing resolves immediately if ( empty || dataPriv.get( this, "finish" ) ) { anim.stop( true ); } }; doAnimation.finish = doAnimation; return empty || optall.queue === false ? this.each( doAnimation ) : this.queue( optall.queue, doAnimation ); }, stop: function( type, clearQueue, gotoEnd ) { var stopQueue = function( hooks ) { var stop = hooks.stop; delete hooks.stop; stop( gotoEnd ); }; if ( typeof type !== "string" ) { gotoEnd = clearQueue; clearQueue = type; type = undefined; } if ( clearQueue ) { this.queue( type || "fx", [] ); } return this.each( function() { var dequeue = true, index = type != null && type + "queueHooks", timers = jQuery.timers, data = dataPriv.get( this ); if ( index ) { if ( data[ index ] && data[ index ].stop ) { stopQueue( data[ index ] ); } } else { for ( index in data ) { if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { stopQueue( data[ index ] ); } } } for ( index = timers.length; index--; ) { if ( timers[ index ].elem === this && ( type == null || timers[ index ].queue === type ) ) { timers[ index ].anim.stop( gotoEnd ); dequeue = false; timers.splice( index, 1 ); } } // Start the next in the queue if the last step wasn't forced. // Timers currently will call their complete callbacks, which // will dequeue but only if they were gotoEnd. if ( dequeue || !gotoEnd ) { jQuery.dequeue( this, type ); } } ); }, finish: function( type ) { if ( type !== false ) { type = type || "fx"; } return this.each( function() { var index, data = dataPriv.get( this ), queue = data[ type + "queue" ], hooks = data[ type + "queueHooks" ], timers = jQuery.timers, length = queue ? queue.length : 0; // Enable finishing flag on private data data.finish = true; // Empty the queue first jQuery.queue( this, type, [] ); if ( hooks && hooks.stop ) { hooks.stop.call( this, true ); } // Look for any active animations, and finish them for ( index = timers.length; index--; ) { if ( timers[ index ].elem === this && timers[ index ].queue === type ) { timers[ index ].anim.stop( true ); timers.splice( index, 1 ); } } // Look for any animations in the old queue and finish them for ( index = 0; index < length; index++ ) { if ( queue[ index ] && queue[ index ].finish ) { queue[ index ].finish.call( this ); } } // Turn off finishing flag delete data.finish; } ); } } ); jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { var cssFn = jQuery.fn[ name ]; jQuery.fn[ name ] = function( speed, easing, callback ) { return speed == null || typeof speed === "boolean" ? cssFn.apply( this, arguments ) : this.animate( genFx( name, true ), speed, easing, callback ); }; } ); // Generate shortcuts for custom animations jQuery.each( { slideDown: genFx( "show" ), slideUp: genFx( "hide" ), slideToggle: genFx( "toggle" ), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } }, function( name, props ) { jQuery.fn[ name ] = function( speed, easing, callback ) { return this.animate( props, speed, easing, callback ); }; } ); jQuery.timers = []; jQuery.fx.tick = function() { var timer, i = 0, timers = jQuery.timers; fxNow = Date.now(); for ( ; i < timers.length; i++ ) { timer = timers[ i ]; // Run the timer and safely remove it when done (allowing for external removal) if ( !timer() && timers[ i ] === timer ) { timers.splice( i--, 1 ); } } if ( !timers.length ) { jQuery.fx.stop(); } fxNow = undefined; }; jQuery.fx.timer = function( timer ) { jQuery.timers.push( timer ); jQuery.fx.start(); }; jQuery.fx.interval = 13; jQuery.fx.start = function() { if ( inProgress ) { return; } inProgress = true; schedule(); }; jQuery.fx.stop = function() { inProgress = null; }; jQuery.fx.speeds = { slow: 600, fast: 200, // Default speed _default: 400 }; // Based off of the plugin by Clint Helfers, with permission. // https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ jQuery.fn.delay = function( time, type ) { time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; type = type || "fx"; return this.queue( type, function( next, hooks ) { var timeout = window.setTimeout( next, time ); hooks.stop = function() { window.clearTimeout( timeout ); }; } ); }; ( function() { var input = document.createElement( "input" ), select = document.createElement( "select" ), opt = select.appendChild( document.createElement( "option" ) ); input.type = "checkbox"; // Support: Android <=4.3 only // Default value for a checkbox should be "on" support.checkOn = input.value !== ""; // Support: IE <=11 only // Must access selectedIndex to make default options select support.optSelected = opt.selected; // Support: IE <=11 only // An input loses its value after becoming a radio input = document.createElement( "input" ); input.value = "t"; input.type = "radio"; support.radioValue = input.value === "t"; } )(); var boolHook, attrHandle = jQuery.expr.attrHandle; jQuery.fn.extend( { attr: function( name, value ) { return access( this, jQuery.attr, name, value, arguments.length > 1 ); }, removeAttr: function( name ) { return this.each( function() { jQuery.removeAttr( this, name ); } ); } } ); jQuery.extend( { attr: function( elem, name, value ) { var ret, hooks, nType = elem.nodeType; // Don't get/set attributes on text, comment and attribute nodes if ( nType === 3 || nType === 8 || nType === 2 ) { return; } // Fallback to prop when attributes are not supported if ( typeof elem.getAttribute === "undefined" ) { return jQuery.prop( elem, name, value ); } // Attribute hooks are determined by the lowercase version // Grab necessary hook if one is defined if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { hooks = jQuery.attrHooks[ name.toLowerCase() ] || ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); } if ( value !== undefined ) { if ( value === null ) { jQuery.removeAttr( elem, name ); return; } if ( hooks && "set" in hooks && ( ret = hooks.set( elem, value, name ) ) !== undefined ) { return ret; } elem.setAttribute( name, value + "" ); return value; } if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { return ret; } ret = jQuery.find.attr( elem, name ); // Non-existent attributes return null, we normalize to undefined return ret == null ? undefined : ret; }, attrHooks: { type: { set: function( elem, value ) { if ( !support.radioValue && value === "radio" && nodeName( elem, "input" ) ) { var val = elem.value; elem.setAttribute( "type", value ); if ( val ) { elem.value = val; } return value; } } } }, removeAttr: function( elem, value ) { var name, i = 0, // Attribute names can contain non-HTML whitespace characters // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 attrNames = value && value.match( rnothtmlwhite ); if ( attrNames && elem.nodeType === 1 ) { while ( ( name = attrNames[ i++ ] ) ) { elem.removeAttribute( name ); } } } } ); // Hooks for boolean attributes boolHook = { set: function( elem, value, name ) { if ( value === false ) { // Remove boolean attributes when set to false jQuery.removeAttr( elem, name ); } else { elem.setAttribute( name, name ); } return name; } }; jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { var getter = attrHandle[ name ] || jQuery.find.attr; attrHandle[ name ] = function( elem, name, isXML ) { var ret, handle, lowercaseName = name.toLowerCase(); if ( !isXML ) { // Avoid an infinite loop by temporarily removing this function from the getter handle = attrHandle[ lowercaseName ]; attrHandle[ lowercaseName ] = ret; ret = getter( elem, name, isXML ) != null ? lowercaseName : null; attrHandle[ lowercaseName ] = handle; } return ret; }; } ); var rfocusable = /^(?:input|select|textarea|button)$/i, rclickable = /^(?:a|area)$/i; jQuery.fn.extend( { prop: function( name, value ) { return access( this, jQuery.prop, name, value, arguments.length > 1 ); }, removeProp: function( name ) { return this.each( function() { delete this[ jQuery.propFix[ name ] || name ]; } ); } } ); jQuery.extend( { prop: function( elem, name, value ) { var ret, hooks, nType = elem.nodeType; // Don't get/set properties on text, comment and attribute nodes if ( nType === 3 || nType === 8 || nType === 2 ) { return; } if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { // Fix name and attach hooks name = jQuery.propFix[ name ] || name; hooks = jQuery.propHooks[ name ]; } if ( value !== undefined ) { if ( hooks && "set" in hooks && ( ret = hooks.set( elem, value, name ) ) !== undefined ) { return ret; } return ( elem[ name ] = value ); } if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { return ret; } return elem[ name ]; }, propHooks: { tabIndex: { get: function( elem ) { // Support: IE <=9 - 11 only // elem.tabIndex doesn't always return the // correct value when it hasn't been explicitly set // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ // Use proper attribute retrieval(#12072) var tabindex = jQuery.find.attr( elem, "tabindex" ); if ( tabindex ) { return parseInt( tabindex, 10 ); } if ( rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ) { return 0; } return -1; } } }, propFix: { "for": "htmlFor", "class": "className" } } ); // Support: IE <=11 only // Accessing the selectedIndex property // forces the browser to respect setting selected // on the option // The getter ensures a default option is selected // when in an optgroup // eslint rule "no-unused-expressions" is disabled for this code // since it considers such accessions noop if ( !support.optSelected ) { jQuery.propHooks.selected = { get: function( elem ) { /* eslint no-unused-expressions: "off" */ var parent = elem.parentNode; if ( parent && parent.parentNode ) { parent.parentNode.selectedIndex; } return null; }, set: function( elem ) { /* eslint no-unused-expressions: "off" */ var parent = elem.parentNode; if ( parent ) { parent.selectedIndex; if ( parent.parentNode ) { parent.parentNode.selectedIndex; } } } }; } jQuery.each( [ "tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable" ], function() { jQuery.propFix[ this.toLowerCase() ] = this; } ); // Strip and collapse whitespace according to HTML spec // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace function stripAndCollapse( value ) { var tokens = value.match( rnothtmlwhite ) || []; return tokens.join( " " ); } function getClass( elem ) { return elem.getAttribute && elem.getAttribute( "class" ) || ""; } function classesToArray( value ) { if ( Array.isArray( value ) ) { return value; } if ( typeof value === "string" ) { return value.match( rnothtmlwhite ) || []; } return []; } jQuery.fn.extend( { addClass: function( value ) { var classes, elem, cur, curValue, clazz, j, finalValue, i = 0; if ( isFunction( value ) ) { return this.each( function( j ) { jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); } ); } classes = classesToArray( value ); if ( classes.length ) { while ( ( elem = this[ i++ ] ) ) { curValue = getClass( elem ); cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); if ( cur ) { j = 0; while ( ( clazz = classes[ j++ ] ) ) { if ( cur.indexOf( " " + clazz + " " ) < 0 ) { cur += clazz + " "; } } // Only assign if different to avoid unneeded rendering. finalValue = stripAndCollapse( cur ); if ( curValue !== finalValue ) { elem.setAttribute( "class", finalValue ); } } } } return this; }, removeClass: function( value ) { var classes, elem, cur, curValue, clazz, j, finalValue, i = 0; if ( isFunction( value ) ) { return this.each( function( j ) { jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); } ); } if ( !arguments.length ) { return this.attr( "class", "" ); } classes = classesToArray( value ); if ( classes.length ) { while ( ( elem = this[ i++ ] ) ) { curValue = getClass( elem ); // This expression is here for better compressibility (see addClass) cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); if ( cur ) { j = 0; while ( ( clazz = classes[ j++ ] ) ) { // Remove *all* instances while ( cur.indexOf( " " + clazz + " " ) > -1 ) { cur = cur.replace( " " + clazz + " ", " " ); } } // Only assign if different to avoid unneeded rendering. finalValue = stripAndCollapse( cur ); if ( curValue !== finalValue ) { elem.setAttribute( "class", finalValue ); } } } } return this; }, toggleClass: function( value, stateVal ) { var type = typeof value, isValidValue = type === "string" || Array.isArray( value ); if ( typeof stateVal === "boolean" && isValidValue ) { return stateVal ? this.addClass( value ) : this.removeClass( value ); } if ( isFunction( value ) ) { return this.each( function( i ) { jQuery( this ).toggleClass( value.call( this, i, getClass( this ), stateVal ), stateVal ); } ); } return this.each( function() { var className, i, self, classNames; if ( isValidValue ) { // Toggle individual class names i = 0; self = jQuery( this ); classNames = classesToArray( value ); while ( ( className = classNames[ i++ ] ) ) { // Check each className given, space separated list if ( self.hasClass( className ) ) { self.removeClass( className ); } else { self.addClass( className ); } } // Toggle whole class name } else if ( value === undefined || type === "boolean" ) { className = getClass( this ); if ( className ) { // Store className if set dataPriv.set( this, "__className__", className ); } // If the element has a class name or if we're passed `false`, // then remove the whole classname (if there was one, the above saved it). // Otherwise bring back whatever was previously saved (if anything), // falling back to the empty string if nothing was stored. if ( this.setAttribute ) { this.setAttribute( "class", className || value === false ? "" : dataPriv.get( this, "__className__" ) || "" ); } } } ); }, hasClass: function( selector ) { var className, elem, i = 0; className = " " + selector + " "; while ( ( elem = this[ i++ ] ) ) { if ( elem.nodeType === 1 && ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { return true; } } return false; } } ); var rreturn = /\r/g; jQuery.fn.extend( { val: function( value ) { var hooks, ret, valueIsFunction, elem = this[ 0 ]; if ( !arguments.length ) { if ( elem ) { hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; if ( hooks && "get" in hooks && ( ret = hooks.get( elem, "value" ) ) !== undefined ) { return ret; } ret = elem.value; // Handle most common string cases if ( typeof ret === "string" ) { return ret.replace( rreturn, "" ); } // Handle cases where value is null/undef or number return ret == null ? "" : ret; } return; } valueIsFunction = isFunction( value ); return this.each( function( i ) { var val; if ( this.nodeType !== 1 ) { return; } if ( valueIsFunction ) { val = value.call( this, i, jQuery( this ).val() ); } else { val = value; } // Treat null/undefined as ""; convert numbers to string if ( val == null ) { val = ""; } else if ( typeof val === "number" ) { val += ""; } else if ( Array.isArray( val ) ) { val = jQuery.map( val, function( value ) { return value == null ? "" : value + ""; } ); } hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; // If set returns undefined, fall back to normal setting if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { this.value = val; } } ); } } ); jQuery.extend( { valHooks: { option: { get: function( elem ) { var val = jQuery.find.attr( elem, "value" ); return val != null ? val : // Support: IE <=10 - 11 only // option.text throws exceptions (#14686, #14858) // Strip and collapse whitespace // https://html.spec.whatwg.org/#strip-and-collapse-whitespace stripAndCollapse( jQuery.text( elem ) ); } }, select: { get: function( elem ) { var value, option, i, options = elem.options, index = elem.selectedIndex, one = elem.type === "select-one", values = one ? null : [], max = one ? index + 1 : options.length; if ( index < 0 ) { i = max; } else { i = one ? index : 0; } // Loop through all the selected options for ( ; i < max; i++ ) { option = options[ i ]; // Support: IE <=9 only // IE8-9 doesn't update selected after form reset (#2551) if ( ( option.selected || i === index ) && // Don't return options that are disabled or in a disabled optgroup !option.disabled && ( !option.parentNode.disabled || !nodeName( option.parentNode, "optgroup" ) ) ) { // Get the specific value for the option value = jQuery( option ).val(); // We don't need an array for one selects if ( one ) { return value; } // Multi-Selects return an array values.push( value ); } } return values; }, set: function( elem, value ) { var optionSet, option, options = elem.options, values = jQuery.makeArray( value ), i = options.length; while ( i-- ) { option = options[ i ]; /* eslint-disable no-cond-assign */ if ( option.selected = jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 ) { optionSet = true; } /* eslint-enable no-cond-assign */ } // Force browsers to behave consistently when non-matching value is set if ( !optionSet ) { elem.selectedIndex = -1; } return values; } } } } ); // Radios and checkboxes getter/setter jQuery.each( [ "radio", "checkbox" ], function() { jQuery.valHooks[ this ] = { set: function( elem, value ) { if ( Array.isArray( value ) ) { return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); } } }; if ( !support.checkOn ) { jQuery.valHooks[ this ].get = function( elem ) { return elem.getAttribute( "value" ) === null ? "on" : elem.value; }; } } ); // Return jQuery for attributes-only inclusion support.focusin = "onfocusin" in window; var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, stopPropagationCallback = function( e ) { e.stopPropagation(); }; jQuery.extend( jQuery.event, { trigger: function( event, data, elem, onlyHandlers ) { var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, eventPath = [ elem || document ], type = hasOwn.call( event, "type" ) ? event.type : event, namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; cur = lastElement = tmp = elem = elem || document; // Don't do events on text and comment nodes if ( elem.nodeType === 3 || elem.nodeType === 8 ) { return; } // focus/blur morphs to focusin/out; ensure we're not firing them right now if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { return; } if ( type.indexOf( "." ) > -1 ) { // Namespaced trigger; create a regexp to match event type in handle() namespaces = type.split( "." ); type = namespaces.shift(); namespaces.sort(); } ontype = type.indexOf( ":" ) < 0 && "on" + type; // Caller can pass in a jQuery.Event object, Object, or just an event type string event = event[ jQuery.expando ] ? event : new jQuery.Event( type, typeof event === "object" && event ); // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) event.isTrigger = onlyHandlers ? 2 : 3; event.namespace = namespaces.join( "." ); event.rnamespace = event.namespace ? new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : null; // Clean up the event in case it is being reused event.result = undefined; if ( !event.target ) { event.target = elem; } // Clone any incoming data and prepend the event, creating the handler arg list data = data == null ? [ event ] : jQuery.makeArray( data, [ event ] ); // Allow special events to draw outside the lines special = jQuery.event.special[ type ] || {}; if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { return; } // Determine event propagation path in advance, per W3C events spec (#9951) // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { bubbleType = special.delegateType || type; if ( !rfocusMorph.test( bubbleType + type ) ) { cur = cur.parentNode; } for ( ; cur; cur = cur.parentNode ) { eventPath.push( cur ); tmp = cur; } // Only add window if we got to document (e.g., not plain obj or detached DOM) if ( tmp === ( elem.ownerDocument || document ) ) { eventPath.push( tmp.defaultView || tmp.parentWindow || window ); } } // Fire handlers on the event path i = 0; while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { lastElement = cur; event.type = i > 1 ? bubbleType : special.bindType || type; // jQuery handler handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && dataPriv.get( cur, "handle" ); if ( handle ) { handle.apply( cur, data ); } // Native handler handle = ontype && cur[ ontype ]; if ( handle && handle.apply && acceptData( cur ) ) { event.result = handle.apply( cur, data ); if ( event.result === false ) { event.preventDefault(); } } } event.type = type; // If nobody prevented the default action, do it now if ( !onlyHandlers && !event.isDefaultPrevented() ) { if ( ( !special._default || special._default.apply( eventPath.pop(), data ) === false ) && acceptData( elem ) ) { // Call a native DOM method on the target with the same name as the event. // Don't do default actions on window, that's where global variables be (#6170) if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { // Don't re-trigger an onFOO event when we call its FOO() method tmp = elem[ ontype ]; if ( tmp ) { elem[ ontype ] = null; } // Prevent re-triggering of the same event, since we already bubbled it above jQuery.event.triggered = type; if ( event.isPropagationStopped() ) { lastElement.addEventListener( type, stopPropagationCallback ); } elem[ type ](); if ( event.isPropagationStopped() ) { lastElement.removeEventListener( type, stopPropagationCallback ); } jQuery.event.triggered = undefined; if ( tmp ) { elem[ ontype ] = tmp; } } } } return event.result; }, // Piggyback on a donor event to simulate a different one // Used only for `focus(in | out)` events simulate: function( type, elem, event ) { var e = jQuery.extend( new jQuery.Event(), event, { type: type, isSimulated: true } ); jQuery.event.trigger( e, null, elem ); } } ); jQuery.fn.extend( { trigger: function( type, data ) { return this.each( function() { jQuery.event.trigger( type, data, this ); } ); }, triggerHandler: function( type, data ) { var elem = this[ 0 ]; if ( elem ) { return jQuery.event.trigger( type, data, elem, true ); } } } ); // Support: Firefox <=44 // Firefox doesn't have focus(in | out) events // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 // // Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 // focus(in | out) events fire after focus & blur events, // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order // Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 if ( !support.focusin ) { jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { // Attach a single capturing handler on the document while someone wants focusin/focusout var handler = function( event ) { jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); }; jQuery.event.special[ fix ] = { setup: function() { // Handle: regular nodes (via `this.ownerDocument`), window // (via `this.document`) & document (via `this`). var doc = this.ownerDocument || this.document || this, attaches = dataPriv.access( doc, fix ); if ( !attaches ) { doc.addEventListener( orig, handler, true ); } dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); }, teardown: function() { var doc = this.ownerDocument || this.document || this, attaches = dataPriv.access( doc, fix ) - 1; if ( !attaches ) { doc.removeEventListener( orig, handler, true ); dataPriv.remove( doc, fix ); } else { dataPriv.access( doc, fix, attaches ); } } }; } ); } var location = window.location; var nonce = { guid: Date.now() }; var rquery = ( /\?/ ); // Cross-browser xml parsing jQuery.parseXML = function( data ) { var xml, parserErrorElem; if ( !data || typeof data !== "string" ) { return null; } // Support: IE 9 - 11 only // IE throws on parseFromString with invalid input. try { xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); } catch ( e ) {} parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; if ( !xml || parserErrorElem ) { jQuery.error( "Invalid XML: " + ( parserErrorElem ? jQuery.map( parserErrorElem.childNodes, function( el ) { return el.textContent; } ).join( "\n" ) : data ) ); } return xml; }; var rbracket = /\[\]$/, rCRLF = /\r?\n/g, rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, rsubmittable = /^(?:input|select|textarea|keygen)/i; function buildParams( prefix, obj, traditional, add ) { var name; if ( Array.isArray( obj ) ) { // Serialize array item. jQuery.each( obj, function( i, v ) { if ( traditional || rbracket.test( prefix ) ) { // Treat each array item as a scalar. add( prefix, v ); } else { // Item is non-scalar (array or object), encode its numeric index. buildParams( prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", v, traditional, add ); } } ); } else if ( !traditional && toType( obj ) === "object" ) { // Serialize object item. for ( name in obj ) { buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); } } else { // Serialize scalar item. add( prefix, obj ); } } // Serialize an array of form elements or a set of // key/values into a query string jQuery.param = function( a, traditional ) { var prefix, s = [], add = function( key, valueOrFunction ) { // If value is a function, invoke it and use its return value var value = isFunction( valueOrFunction ) ? valueOrFunction() : valueOrFunction; s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value == null ? "" : value ); }; if ( a == null ) { return ""; } // If an array was passed in, assume that it is an array of form elements. if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { // Serialize the form elements jQuery.each( a, function() { add( this.name, this.value ); } ); } else { // If traditional, encode the "old" way (the way 1.3.2 or older // did it), otherwise encode params recursively. for ( prefix in a ) { buildParams( prefix, a[ prefix ], traditional, add ); } } // Return the resulting serialization return s.join( "&" ); }; jQuery.fn.extend( { serialize: function() { return jQuery.param( this.serializeArray() ); }, serializeArray: function() { return this.map( function() { // Can add propHook for "elements" to filter or add form elements var elements = jQuery.prop( this, "elements" ); return elements ? jQuery.makeArray( elements ) : this; } ).filter( function() { var type = this.type; // Use .is( ":disabled" ) so that fieldset[disabled] works return this.name && !jQuery( this ).is( ":disabled" ) && rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && ( this.checked || !rcheckableType.test( type ) ); } ).map( function( _i, elem ) { var val = jQuery( this ).val(); if ( val == null ) { return null; } if ( Array.isArray( val ) ) { return jQuery.map( val, function( val ) { return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; } ); } return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; } ).get(); } } ); var r20 = /%20/g, rhash = /#.*$/, rantiCache = /([?&])_=[^&]*/, rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, // #7653, #8125, #8152: local protocol detection rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, rnoContent = /^(?:GET|HEAD)$/, rprotocol = /^\/\//, /* Prefilters * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) * 2) These are called: * - BEFORE asking for a transport * - AFTER param serialization (s.data is a string if s.processData is true) * 3) key is the dataType * 4) the catchall symbol "*" can be used * 5) execution will start with transport dataType and THEN continue down to "*" if needed */ prefilters = {}, /* Transports bindings * 1) key is the dataType * 2) the catchall symbol "*" can be used * 3) selection will start with transport dataType and THEN go to "*" if needed */ transports = {}, // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression allTypes = "*/".concat( "*" ), // Anchor tag for parsing the document origin originAnchor = document.createElement( "a" ); originAnchor.href = location.href; // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport function addToPrefiltersOrTransports( structure ) { // dataTypeExpression is optional and defaults to "*" return function( dataTypeExpression, func ) { if ( typeof dataTypeExpression !== "string" ) { func = dataTypeExpression; dataTypeExpression = "*"; } var dataType, i = 0, dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; if ( isFunction( func ) ) { // For each dataType in the dataTypeExpression while ( ( dataType = dataTypes[ i++ ] ) ) { // Prepend if requested if ( dataType[ 0 ] === "+" ) { dataType = dataType.slice( 1 ) || "*"; ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); // Otherwise append } else { ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); } } } }; } // Base inspection function for prefilters and transports function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { var inspected = {}, seekingTransport = ( structure === transports ); function inspect( dataType ) { var selected; inspected[ dataType ] = true; jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); if ( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) { options.dataTypes.unshift( dataTypeOrTransport ); inspect( dataTypeOrTransport ); return false; } else if ( seekingTransport ) { return !( selected = dataTypeOrTransport ); } } ); return selected; } return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); } // A special extend for ajax options // that takes "flat" options (not to be deep extended) // Fixes #9887 function ajaxExtend( target, src ) { var key, deep, flatOptions = jQuery.ajaxSettings.flatOptions || {}; for ( key in src ) { if ( src[ key ] !== undefined ) { ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; } } if ( deep ) { jQuery.extend( true, target, deep ); } return target; } /* Handles responses to an ajax request: * - finds the right dataType (mediates between content-type and expected dataType) * - returns the corresponding response */ function ajaxHandleResponses( s, jqXHR, responses ) { var ct, type, finalDataType, firstDataType, contents = s.contents, dataTypes = s.dataTypes; // Remove auto dataType and get content-type in the process while ( dataTypes[ 0 ] === "*" ) { dataTypes.shift(); if ( ct === undefined ) { ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); } } // Check if we're dealing with a known content-type if ( ct ) { for ( type in contents ) { if ( contents[ type ] && contents[ type ].test( ct ) ) { dataTypes.unshift( type ); break; } } } // Check to see if we have a response for the expected dataType if ( dataTypes[ 0 ] in responses ) { finalDataType = dataTypes[ 0 ]; } else { // Try convertible dataTypes for ( type in responses ) { if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { finalDataType = type; break; } if ( !firstDataType ) { firstDataType = type; } } // Or just use first one finalDataType = finalDataType || firstDataType; } // If we found a dataType // We add the dataType to the list if needed // and return the corresponding response if ( finalDataType ) { if ( finalDataType !== dataTypes[ 0 ] ) { dataTypes.unshift( finalDataType ); } return responses[ finalDataType ]; } } /* Chain conversions given the request and the original response * Also sets the responseXXX fields on the jqXHR instance */ function ajaxConvert( s, response, jqXHR, isSuccess ) { var conv2, current, conv, tmp, prev, converters = {}, // Work with a copy of dataTypes in case we need to modify it for conversion dataTypes = s.dataTypes.slice(); // Create converters map with lowercased keys if ( dataTypes[ 1 ] ) { for ( conv in s.converters ) { converters[ conv.toLowerCase() ] = s.converters[ conv ]; } } current = dataTypes.shift(); // Convert to each sequential dataType while ( current ) { if ( s.responseFields[ current ] ) { jqXHR[ s.responseFields[ current ] ] = response; } // Apply the dataFilter if provided if ( !prev && isSuccess && s.dataFilter ) { response = s.dataFilter( response, s.dataType ); } prev = current; current = dataTypes.shift(); if ( current ) { // There's only work to do if current dataType is non-auto if ( current === "*" ) { current = prev; // Convert response if prev dataType is non-auto and differs from current } else if ( prev !== "*" && prev !== current ) { // Seek a direct converter conv = converters[ prev + " " + current ] || converters[ "* " + current ]; // If none found, seek a pair if ( !conv ) { for ( conv2 in converters ) { // If conv2 outputs current tmp = conv2.split( " " ); if ( tmp[ 1 ] === current ) { // If prev can be converted to accepted input conv = converters[ prev + " " + tmp[ 0 ] ] || converters[ "* " + tmp[ 0 ] ]; if ( conv ) { // Condense equivalence converters if ( conv === true ) { conv = converters[ conv2 ]; // Otherwise, insert the intermediate dataType } else if ( converters[ conv2 ] !== true ) { current = tmp[ 0 ]; dataTypes.unshift( tmp[ 1 ] ); } break; } } } } // Apply converter (if not an equivalence) if ( conv !== true ) { // Unless errors are allowed to bubble, catch and return them if ( conv && s.throws ) { response = conv( response ); } else { try { response = conv( response ); } catch ( e ) { return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; } } } } } } return { state: "success", data: response }; } jQuery.extend( { // Counter for holding the number of active queries active: 0, // Last-Modified header cache for next request lastModified: {}, etag: {}, ajaxSettings: { url: location.href, type: "GET", isLocal: rlocalProtocol.test( location.protocol ), global: true, processData: true, async: true, contentType: "application/x-www-form-urlencoded; charset=UTF-8", /* timeout: 0, data: null, dataType: null, username: null, password: null, cache: null, throws: false, traditional: false, headers: {}, */ accepts: { "*": allTypes, text: "text/plain", html: "text/html", xml: "application/xml, text/xml", json: "application/json, text/javascript" }, contents: { xml: /\bxml\b/, html: /\bhtml/, json: /\bjson\b/ }, responseFields: { xml: "responseXML", text: "responseText", json: "responseJSON" }, // Data converters // Keys separate source (or catchall "*") and destination types with a single space converters: { // Convert anything to text "* text": String, // Text to html (true = no transformation) "text html": true, // Evaluate text as a json expression "text json": JSON.parse, // Parse text as xml "text xml": jQuery.parseXML }, // For options that shouldn't be deep extended: // you can add your own custom options here if // and when you create one that shouldn't be // deep extended (see ajaxExtend) flatOptions: { url: true, context: true } }, // Creates a full fledged settings object into target // with both ajaxSettings and settings fields. // If target is omitted, writes into ajaxSettings. ajaxSetup: function( target, settings ) { return settings ? // Building a settings object ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : // Extending ajaxSettings ajaxExtend( jQuery.ajaxSettings, target ); }, ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), ajaxTransport: addToPrefiltersOrTransports( transports ), // Main method ajax: function( url, options ) { // If url is an object, simulate pre-1.5 signature if ( typeof url === "object" ) { options = url; url = undefined; } // Force options to be an object options = options || {}; var transport, // URL without anti-cache param cacheURL, // Response headers responseHeadersString, responseHeaders, // timeout handle timeoutTimer, // Url cleanup var urlAnchor, // Request state (becomes false upon send and true upon completion) completed, // To know if global events are to be dispatched fireGlobals, // Loop variable i, // uncached part of the url uncached, // Create the final options object s = jQuery.ajaxSetup( {}, options ), // Callbacks context callbackContext = s.context || s, // Context for global events is callbackContext if it is a DOM node or jQuery collection globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ? jQuery( callbackContext ) : jQuery.event, // Deferreds deferred = jQuery.Deferred(), completeDeferred = jQuery.Callbacks( "once memory" ), // Status-dependent callbacks statusCode = s.statusCode || {}, // Headers (they are sent all at once) requestHeaders = {}, requestHeadersNames = {}, // Default abort message strAbort = "canceled", // Fake xhr jqXHR = { readyState: 0, // Builds headers hashtable if needed getResponseHeader: function( key ) { var match; if ( completed ) { if ( !responseHeaders ) { responseHeaders = {}; while ( ( match = rheaders.exec( responseHeadersString ) ) ) { responseHeaders[ match[ 1 ].toLowerCase() + " " ] = ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) .concat( match[ 2 ] ); } } match = responseHeaders[ key.toLowerCase() + " " ]; } return match == null ? null : match.join( ", " ); }, // Raw string getAllResponseHeaders: function() { return completed ? responseHeadersString : null; }, // Caches the header setRequestHeader: function( name, value ) { if ( completed == null ) { name = requestHeadersNames[ name.toLowerCase() ] = requestHeadersNames[ name.toLowerCase() ] || name; requestHeaders[ name ] = value; } return this; }, // Overrides response content-type header overrideMimeType: function( type ) { if ( completed == null ) { s.mimeType = type; } return this; }, // Status-dependent callbacks statusCode: function( map ) { var code; if ( map ) { if ( completed ) { // Execute the appropriate callbacks jqXHR.always( map[ jqXHR.status ] ); } else { // Lazy-add the new callbacks in a way that preserves old ones for ( code in map ) { statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; } } } return this; }, // Cancel the request abort: function( statusText ) { var finalText = statusText || strAbort; if ( transport ) { transport.abort( finalText ); } done( 0, finalText ); return this; } }; // Attach deferreds deferred.promise( jqXHR ); // Add protocol if not provided (prefilters might expect it) // Handle falsy url in the settings object (#10093: consistency with old signature) // We also use the url parameter if available s.url = ( ( url || s.url || location.href ) + "" ) .replace( rprotocol, location.protocol + "//" ); // Alias method option to type as per ticket #12004 s.type = options.method || options.type || s.method || s.type; // Extract dataTypes list s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; // A cross-domain request is in order when the origin doesn't match the current origin. if ( s.crossDomain == null ) { urlAnchor = document.createElement( "a" ); // Support: IE <=8 - 11, Edge 12 - 15 // IE throws exception on accessing the href property if url is malformed, // e.g. http://example.com:80x/ try { urlAnchor.href = s.url; // Support: IE <=8 - 11 only // Anchor's host property isn't correctly set when s.url is relative urlAnchor.href = urlAnchor.href; s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== urlAnchor.protocol + "//" + urlAnchor.host; } catch ( e ) { // If there is an error parsing the URL, assume it is crossDomain, // it can be rejected by the transport if it is invalid s.crossDomain = true; } } // Convert data if not already a string if ( s.data && s.processData && typeof s.data !== "string" ) { s.data = jQuery.param( s.data, s.traditional ); } // Apply prefilters inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); // If request was aborted inside a prefilter, stop there if ( completed ) { return jqXHR; } // We can fire global events as of now if asked to // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) fireGlobals = jQuery.event && s.global; // Watch for a new set of requests if ( fireGlobals && jQuery.active++ === 0 ) { jQuery.event.trigger( "ajaxStart" ); } // Uppercase the type s.type = s.type.toUpperCase(); // Determine if request has content s.hasContent = !rnoContent.test( s.type ); // Save the URL in case we're toying with the If-Modified-Since // and/or If-None-Match header later on // Remove hash to simplify url manipulation cacheURL = s.url.replace( rhash, "" ); // More options handling for requests with no content if ( !s.hasContent ) { // Remember the hash so we can put it back uncached = s.url.slice( cacheURL.length ); // If data is available and should be processed, append data to url if ( s.data && ( s.processData || typeof s.data === "string" ) ) { cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; // #9682: remove data so that it's not used in an eventual retry delete s.data; } // Add or update anti-cache param if needed if ( s.cache === false ) { cacheURL = cacheURL.replace( rantiCache, "$1" ); uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + uncached; } // Put hash and anti-cache on the URL that will be requested (gh-1732) s.url = cacheURL + uncached; // Change '%20' to '+' if this is encoded form body content (gh-2658) } else if ( s.data && s.processData && ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { s.data = s.data.replace( r20, "+" ); } // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. if ( s.ifModified ) { if ( jQuery.lastModified[ cacheURL ] ) { jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); } if ( jQuery.etag[ cacheURL ] ) { jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); } } // Set the correct header, if data is being sent if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { jqXHR.setRequestHeader( "Content-Type", s.contentType ); } // Set the Accepts header for the server, depending on the dataType jqXHR.setRequestHeader( "Accept", s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? s.accepts[ s.dataTypes[ 0 ] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : s.accepts[ "*" ] ); // Check for headers option for ( i in s.headers ) { jqXHR.setRequestHeader( i, s.headers[ i ] ); } // Allow custom headers/mimetypes and early abort if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { // Abort if not done already and return return jqXHR.abort(); } // Aborting is no longer a cancellation strAbort = "abort"; // Install callbacks on deferreds completeDeferred.add( s.complete ); jqXHR.done( s.success ); jqXHR.fail( s.error ); // Get transport transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); // If no transport, we auto-abort if ( !transport ) { done( -1, "No Transport" ); } else { jqXHR.readyState = 1; // Send global event if ( fireGlobals ) { globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); } // If request was aborted inside ajaxSend, stop there if ( completed ) { return jqXHR; } // Timeout if ( s.async && s.timeout > 0 ) { timeoutTimer = window.setTimeout( function() { jqXHR.abort( "timeout" ); }, s.timeout ); } try { completed = false; transport.send( requestHeaders, done ); } catch ( e ) { // Rethrow post-completion exceptions if ( completed ) { throw e; } // Propagate others as results done( -1, e ); } } // Callback for when everything is done function done( status, nativeStatusText, responses, headers ) { var isSuccess, success, error, response, modified, statusText = nativeStatusText; // Ignore repeat invocations if ( completed ) { return; } completed = true; // Clear timeout if it exists if ( timeoutTimer ) { window.clearTimeout( timeoutTimer ); } // Dereference transport for early garbage collection // (no matter how long the jqXHR object will be used) transport = undefined; // Cache response headers responseHeadersString = headers || ""; // Set readyState jqXHR.readyState = status > 0 ? 4 : 0; // Determine if successful isSuccess = status >= 200 && status < 300 || status === 304; // Get response data if ( responses ) { response = ajaxHandleResponses( s, jqXHR, responses ); } // Use a noop converter for missing script but not if jsonp if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 && jQuery.inArray( "json", s.dataTypes ) < 0 ) { s.converters[ "text script" ] = function() {}; } // Convert no matter what (that way responseXXX fields are always set) response = ajaxConvert( s, response, jqXHR, isSuccess ); // If successful, handle type chaining if ( isSuccess ) { // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. if ( s.ifModified ) { modified = jqXHR.getResponseHeader( "Last-Modified" ); if ( modified ) { jQuery.lastModified[ cacheURL ] = modified; } modified = jqXHR.getResponseHeader( "etag" ); if ( modified ) { jQuery.etag[ cacheURL ] = modified; } } // if no content if ( status === 204 || s.type === "HEAD" ) { statusText = "nocontent"; // if not modified } else if ( status === 304 ) { statusText = "notmodified"; // If we have data, let's convert it } else { statusText = response.state; success = response.data; error = response.error; isSuccess = !error; } } else { // Extract error from statusText and normalize for non-aborts error = statusText; if ( status || !statusText ) { statusText = "error"; if ( status < 0 ) { status = 0; } } } // Set data for the fake xhr object jqXHR.status = status; jqXHR.statusText = ( nativeStatusText || statusText ) + ""; // Success/Error if ( isSuccess ) { deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); } else { deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); } // Status-dependent callbacks jqXHR.statusCode( statusCode ); statusCode = undefined; if ( fireGlobals ) { globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", [ jqXHR, s, isSuccess ? success : error ] ); } // Complete completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); if ( fireGlobals ) { globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); // Handle the global AJAX counter if ( !( --jQuery.active ) ) { jQuery.event.trigger( "ajaxStop" ); } } } return jqXHR; }, getJSON: function( url, data, callback ) { return jQuery.get( url, data, callback, "json" ); }, getScript: function( url, callback ) { return jQuery.get( url, undefined, callback, "script" ); } } ); jQuery.each( [ "get", "post" ], function( _i, method ) { jQuery[ method ] = function( url, data, callback, type ) { // Shift arguments if data argument was omitted if ( isFunction( data ) ) { type = type || callback; callback = data; data = undefined; } // The url can be an options object (which then must have .url) return jQuery.ajax( jQuery.extend( { url: url, type: method, dataType: type, data: data, success: callback }, jQuery.isPlainObject( url ) && url ) ); }; } ); jQuery.ajaxPrefilter( function( s ) { var i; for ( i in s.headers ) { if ( i.toLowerCase() === "content-type" ) { s.contentType = s.headers[ i ] || ""; } } } ); jQuery._evalUrl = function( url, options, doc ) { return jQuery.ajax( { url: url, // Make this explicit, since user can override this through ajaxSetup (#11264) type: "GET", dataType: "script", cache: true, async: false, global: false, // Only evaluate the response if it is successful (gh-4126) // dataFilter is not invoked for failure responses, so using it instead // of the default converter is kludgy but it works. converters: { "text script": function() {} }, dataFilter: function( response ) { jQuery.globalEval( response, options, doc ); } } ); }; jQuery.fn.extend( { wrapAll: function( html ) { var wrap; if ( this[ 0 ] ) { if ( isFunction( html ) ) { html = html.call( this[ 0 ] ); } // The elements to wrap the target around wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); if ( this[ 0 ].parentNode ) { wrap.insertBefore( this[ 0 ] ); } wrap.map( function() { var elem = this; while ( elem.firstElementChild ) { elem = elem.firstElementChild; } return elem; } ).append( this ); } return this; }, wrapInner: function( html ) { if ( isFunction( html ) ) { return this.each( function( i ) { jQuery( this ).wrapInner( html.call( this, i ) ); } ); } return this.each( function() { var self = jQuery( this ), contents = self.contents(); if ( contents.length ) { contents.wrapAll( html ); } else { self.append( html ); } } ); }, wrap: function( html ) { var htmlIsFunction = isFunction( html ); return this.each( function( i ) { jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); } ); }, unwrap: function( selector ) { this.parent( selector ).not( "body" ).each( function() { jQuery( this ).replaceWith( this.childNodes ); } ); return this; } } ); jQuery.expr.pseudos.hidden = function( elem ) { return !jQuery.expr.pseudos.visible( elem ); }; jQuery.expr.pseudos.visible = function( elem ) { return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); }; jQuery.ajaxSettings.xhr = function() { try { return new window.XMLHttpRequest(); } catch ( e ) {} }; var xhrSuccessStatus = { // File protocol always yields status code 0, assume 200 0: 200, // Support: IE <=9 only // #1450: sometimes IE returns 1223 when it should be 204 1223: 204 }, xhrSupported = jQuery.ajaxSettings.xhr(); support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); support.ajax = xhrSupported = !!xhrSupported; jQuery.ajaxTransport( function( options ) { var callback, errorCallback; // Cross domain only allowed if supported through XMLHttpRequest if ( support.cors || xhrSupported && !options.crossDomain ) { return { send: function( headers, complete ) { var i, xhr = options.xhr(); xhr.open( options.type, options.url, options.async, options.username, options.password ); // Apply custom fields if provided if ( options.xhrFields ) { for ( i in options.xhrFields ) { xhr[ i ] = options.xhrFields[ i ]; } } // Override mime type if needed if ( options.mimeType && xhr.overrideMimeType ) { xhr.overrideMimeType( options.mimeType ); } // X-Requested-With header // For cross-domain requests, seeing as conditions for a preflight are // akin to a jigsaw puzzle, we simply never set it to be sure. // (it can always be set on a per-request basis or even using ajaxSetup) // For same-domain requests, won't change header if already provided. if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { headers[ "X-Requested-With" ] = "XMLHttpRequest"; } // Set headers for ( i in headers ) { xhr.setRequestHeader( i, headers[ i ] ); } // Callback callback = function( type ) { return function() { if ( callback ) { callback = errorCallback = xhr.onload = xhr.onerror = xhr.onabort = xhr.ontimeout = xhr.onreadystatechange = null; if ( type === "abort" ) { xhr.abort(); } else if ( type === "error" ) { // Support: IE <=9 only // On a manual native abort, IE9 throws // errors on any property access that is not readyState if ( typeof xhr.status !== "number" ) { complete( 0, "error" ); } else { complete( // File: protocol always yields status 0; see #8605, #14207 xhr.status, xhr.statusText ); } } else { complete( xhrSuccessStatus[ xhr.status ] || xhr.status, xhr.statusText, // Support: IE <=9 only // IE9 has no XHR2 but throws on binary (trac-11426) // For XHR2 non-text, let the caller handle it (gh-2498) ( xhr.responseType || "text" ) !== "text" || typeof xhr.responseText !== "string" ? { binary: xhr.response } : { text: xhr.responseText }, xhr.getAllResponseHeaders() ); } } }; }; // Listen to events xhr.onload = callback(); errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); // Support: IE 9 only // Use onreadystatechange to replace onabort // to handle uncaught aborts if ( xhr.onabort !== undefined ) { xhr.onabort = errorCallback; } else { xhr.onreadystatechange = function() { // Check readyState before timeout as it changes if ( xhr.readyState === 4 ) { // Allow onerror to be called first, // but that will not handle a native abort // Also, save errorCallback to a variable // as xhr.onerror cannot be accessed window.setTimeout( function() { if ( callback ) { errorCallback(); } } ); } }; } // Create the abort callback callback = callback( "abort" ); try { // Do send the request (this may raise an exception) xhr.send( options.hasContent && options.data || null ); } catch ( e ) { // #14683: Only rethrow if this hasn't been notified as an error yet if ( callback ) { throw e; } } }, abort: function() { if ( callback ) { callback(); } } }; } } ); // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) jQuery.ajaxPrefilter( function( s ) { if ( s.crossDomain ) { s.contents.script = false; } } ); // Install script dataType jQuery.ajaxSetup( { accepts: { script: "text/javascript, application/javascript, " + "application/ecmascript, application/x-ecmascript" }, contents: { script: /\b(?:java|ecma)script\b/ }, converters: { "text script": function( text ) { jQuery.globalEval( text ); return text; } } } ); // Handle cache's special case and crossDomain jQuery.ajaxPrefilter( "script", function( s ) { if ( s.cache === undefined ) { s.cache = false; } if ( s.crossDomain ) { s.type = "GET"; } } ); // Bind script tag hack transport jQuery.ajaxTransport( "script", function( s ) { // This transport only deals with cross domain or forced-by-attrs requests if ( s.crossDomain || s.scriptAttrs ) { var script, callback; return { send: function( _, complete ) { script = jQuery( " {% endmacro %} ================================================ FILE: docs/genindex.html ================================================ Index — free-excel

Index

================================================ FILE: docs/index.html ================================================ Home — free-excel

Home#

主页#

free excel中文意为自由Excel,源于希望学习者能够通过该教程能够更加自由地使用Excel进行数据分析、数据统计,解放Excel不再为Excel所困。内容上会更加偏实践应用,力求尽可能简单而又具有一定深度。其他很多教程都是按功能模块来讲解,而且还详细的说明每个功能,令人枯燥乏味。Free Excel根据多年工作经验总结而成,很多内容是常用且重要的,同时学完后能加深对Excel的理解。授之以鱼不如授之以渔,让我们开始愉快的Excel之旅吧!

本教程的数据集在 此处 下载。

教程大纲#

_images/home.png

更新版本与更新时间#

  • V1.0 2021-08-08

  • V2.0 2022-09-09

  • V2.1 2022-11-27

V2.1教程配套Excel版本为2019及以上,请自行装好环境以便操作。如果电脑没有Excel,可以下载WPS进行相关的操作学习。

注:本课程中部分函数为Excel新更新的内容,如果想体验Excel新添加的函数,可将Excel更新至最新版,或将WPS更新至11.1版及以上

================================================ FILE: docs/search.html ================================================ Search — free-excel

Search

Searching for multiple words only shows matches that contain all words.

================================================ FILE: docs/searchindex.js ================================================ Search.setIndex({"docnames": ["Content/chap1", "Content/chap10", "Content/chap2", "Content/chap3", "Content/chap4", "Content/chap5", "Content/chap6", "Content/chap7", "Content/chap8", "Content/chap9", "Content/index", "Datawhale", "index", "\u4e3b\u9875", "\u4f5c\u8005", "\u7ec3\u4e60\u9898\u53c2\u8003\u64cd\u4f5c"], "filenames": ["Content\\chap1.rst", "Content\\chap10.rst", "Content\\chap2.rst", "Content\\chap3.rst", "Content\\chap4.rst", "Content\\chap5.rst", "Content\\chap6.rst", "Content\\chap7.rst", "Content\\chap8.rst", "Content\\chap9.rst", "Content\\index.rst", "Datawhale.rst", "index.rst", "\u4e3b\u9875.rst", "\u4f5c\u8005.rst", "\u7ec3\u4e60\u9898\u53c2\u8003\u64cd\u4f5c.rst"], "titles": ["\u7b2c\u4e00\u7ae0 Excel\u4e0e\u6570\u636e\u683c\u5f0f", "\u7b2c\u5341\u7ae0Excel\u770b\u677f", "\u7b2c\u4e8c\u7ae0 Excel\u7684\u5feb\u6377\u64cd\u4f5c", "\u7b2c\u4e09\u7ae0 Excel\u7684\u8868\u5408\u5e76", "\u7b2c\u56db\u7ae0 Excel\u51fd\u6570-\u903b\u8f91\u5224\u65ad", "\u7b2c\u4e94\u7ae0 Excel\u51fd\u6570-\u6587\u672c\u51fd\u6570", "\u7b2c\u516d\u7ae0 Excel\u51fd\u6570-\u67e5\u627e\u51fd\u6570", "\u7b2c\u4e03\u7ae0 Excel\u51fd\u6570-\u52a8\u6001\u51fd\u6570", "\u7b2c\u516b\u7ae0Excel\u6570\u636e\u53ef\u89c6\u5316", "\u7b2c\u4e5d\u7ae0Excel\u6570\u636e\u900f\u89c6", "\u6559\u7a0b", "Datawhale", "Home", "\u4e3b\u9875", "\u4f5c\u8005", "\u7ec3\u4e60\u9898\u53c2\u8003\u64cd\u4f5c"], "terms": {"execel\u662f\u6211\u4eec\u5e38\u89c1\u7684\u7528\u6765\u8fdb\u884c\u6570\u636e\u5904\u7406\u7684\u5de5\u5177": 0, "\u5176\u4e2dexcel\u6587\u4ef6\u4e3b\u8981\u5305\u542b\u67092\u79cd\u683c\u5f0f\u5206\u522b\u662f": 0, "xl": 0, "\u6216": [0, 7], "xlsx": [0, 1, 2, 3, 4, 5, 8, 9, 15], "\u548c": [0, 15], "\u4e3b\u8981\u533a\u522b\u5982\u4e0b": 0, "\u56e0\u6b64": 0, "\u63a8\u8350\u5927\u5bb6\u4f7f\u7528\u6700\u65b0\u7248\u672c\u7684excel\u6216\u8005wps\u8fdb\u884c\u76f8\u5173\u7684\u5b66\u4e60\u4e0e\u64cd\u4f5c": 0, "excel\u6587\u6bcf\u4e2a\u6570\u636e\u6587\u4ef6\u53eb\u505a\u5de5\u4f5c\u7c3f": 0, "\u6bcf\u4e2a\u5de5\u4f5c\u7c3f\u91cc\u9762\u542b\u6709\u591a\u4e2a\u5de5\u4f5c\u8868": 0, "\u6bcf\u4e2a\u5de5\u4f5c\u8868\u91cc\u9762\u7684\u683c\u5b50\u53eb\u505a\u5355\u5143\u683c": 0, "\u5728excel\u4e2d\u70b9\u51fb\u65b0\u5efa\u6587\u6863\u540e": 0, "excel\u9ed8\u8ba4\u7684\u6587\u6863\u540d\u79f0\u662f\u5de5\u4f5c\u7c3f1": 0, "\u4e5f\u5c31\u662f\u4e00\u4e2aexcel\u6587\u6863": 0, "\u5c31\u662f\u4e00\u4e2a\u5de5\u4f5c\u7c3f": 0, "\u5728\u65b0\u5efa\u7684\u5de5\u4f5c\u7c3f\u4e2d": 0, "\u53ef\u4ee5\u770b\u5230\u5de6\u4e0b\u65b9\u6709": 0, "sheet1": 0, "\u7684\u6807\u7b7e": 0, "\u6bcf\u4e2a\u5de5\u4f5c\u7c3f\u91cc\u9762\u53ef\u4ee5\u542b\u6709\u591a\u4e2a\u5de5\u4f5c\u8868": 0, "excel\u8868\u4e2d\u6700\u5927\u652f\u6301255\u4e2a\u5de5\u4f5c\u8868": 0, "\u5355\u5143\u683c\u5c31\u662f\u5de5\u4f5c\u8868\u4e2d\u95f4\u6bcf\u4e00\u4e2a\u683c\u5b50": 0, "\u5728excel\u6700\u4e0a\u65b9\u662f\u5de5\u5177\u680f": 0, "\u5982\u679c\u5e0c\u671b\u5728excel\u4e2d\u5bfc\u5165\u7b2c\u4e09\u65b9\u63d2\u4ef6": 0, "\u53ef\u4ee5\u70b9\u51fb": 0, "\u6587\u4ef6": 0, "\u9009\u9879": 0, "\u81ea\u5b9a\u4e49\u529f\u80fd\u533a": 0, "\u70b9\u51fb\u53f3\u4fa7\u7684": 0, "\u5373\u53ef\u5bfc\u5165\u76f8\u5173\u6a21\u5757": 0, "excel\u4e2d\u7684\u6570\u636e\u53ef\u4ee5\u5b58\u50a8\u4e3a\u4e0d\u540c\u7684\u7c7b\u578b\u683c\u5f0f": 0, "\u5176\u4e2d\u5e38\u7528\u7684\u5b58\u50a8\u7c7b\u4f3c\u5206\u522b\u662fxlsx": 0, "csv\u4ee5\u53catxt": 0, "\u4e00\u822c\u60c5\u51b5\u4e0b": 0, "csv\u6587\u4ef6\u91c7\u7528\u662f\u9017\u53f7\u5206\u9694": 0, "txt\u6587\u4ef6\u91c7\u7528\u7684\u662f\u5236\u8868\u7b26\u4f5c\u4e3a\u5206\u9694": 0, "\u4f8b\u5982": [0, 4, 7, 9], "data": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15], "chap1": [0, 15], "titanic_norm": [0, 15], "csv": [0, 15], "titanic_tab": 0, "txt": [0, 15], "\u800c\u5728\u8f83\u4e3a\u7279\u6b8a\u7684\u60c5\u51b5\u4e0b": 0, "\u6570\u636e\u7684\u5206\u9694\u7b26\u5408\u53ef\u80fd\u4e0d\u662f\u5e38\u89c4\u7684\u5206\u9694\u7b26\u5408": 0, "titanic_speci": [0, 15], "\u4f7f\u7528\u8bb0\u4e8b\u672c\u6253\u5f00\u8fd9\u4e2a\u6587\u4ef6\u53d1\u73b0\u6587\u4ef6\u91c7\u7528": 0, "\u4f5c\u4e3a\u5206\u9694\u7684\u7b26\u5408": 0, "\u90a3\u4e48\u8fd9\u6837\u7684\u6587\u4ef6\u5982\u4f55\u4f7f\u7528excel\u6253\u5f00\u5462": 0, "\u8fd9\u91cc\u63a8\u8350\u5927\u5bb6\u4f7f\u7528\u4ee5\u4e0b\u7684\u64cd\u4f5c\u65b9\u6848": 0, "\u64cd\u4f5c\u8def\u5f84\u4e3a\u83dc\u5355\u680f\u9009\u62e9": 0, "\u6570\u636e": 0, "\u83b7\u53d6\u548c\u8f6c\u6362\u6570\u636e": 0, "\u4ece\u6587\u4ef6": 0, "\u70b9\u51fb": [0, 2, 3, 4, 5, 6], "\u52a0\u8f7d": 0, "\u540e\u53ef\u4ee5\u770b\u5230\u6211\u4eec\u5bfc\u5165\u7684\u6570\u636e\u96c6": 0, "\u63a5\u7740\u6309\u5feb\u6377\u952e": 0, "ctrl": [0, 2, 4], "": [0, 2], "\u4fdd\u5b58\u5de5\u4f5c\u7c3f\u5230\u672c\u5730": 0, "\u81f3\u6b64\u6211\u4eec\u5df2\u7ecf\u6210\u529f\u52a0\u8f7d\u6570\u636e\u96c6\u5230\u5de5\u4f5c\u8868\u5f53\u4e2d": 0, "\u9700\u8981\u6ce8\u610f\u7684\u662f\u6b64\u65f6\u6784\u5efa\u7684\u6570\u636e\u8868\u8ddf\u539f\u59cb\u6570\u636e\u662f\u5b58\u5728\u8fde\u63a5\u5173\u7cfb": 0, "\u66f4\u6539csv\u6587\u4ef6\u7684\u6570\u636e\u540e\u5728\u70b9\u51fb\u8def\u5f84": 0, "\u8bbe\u8ba1": 0, "\u5916\u90e8\u8868\u6570\u636e": 0, "\u5237\u65b0": 0, "\u540e\u5c31\u53ef\u4ee5\u66f4\u65b0\u5de5\u4f5c\u8868\u6570\u636e": 0, "\u5982\u679c\u8981\u53d6\u6d88\u94fe\u63a5\u5173\u7cfb\u5219\u70b9\u51fb\u8def\u5f84": 0, "\u5916\u90e8\u6570\u636e\u8868": 0, "\u53d6\u6d88\u94fe\u63a5": 0, "\u5373\u53ef": 0, "\u6253\u5f00": [0, 1, 4, 5, 7, 8, 9, 15], "\u5de5\u4f5c\u8868": 0, "\u53ef\u4ee5\u770b\u5230excel\u670911\u79cd\u6570\u636e\u7c7b\u578b": 0, "\u5728\u5e73\u65f6\u5de5\u4f5c\u548c\u5b66\u4e60\u4e2d\u5e38\u89c1\u7684\u6570\u636e\u7c7b\u578b\u67093\u79cd\u5206\u522b\u662f\u6570\u5b57": 0, "\u6587\u672c\u548c\u65e5\u671f": 0, "\u63a5\u4e0b\u6765\u5c31\u8be6\u7ec6\u8bb2\u89e3\u8fd93\u79cd\u683c\u5f0f\u7684\u76f8\u5173\u5e94\u7528": 0, "\u6570\u503c\u662f\u5355\u5143\u683c\u6700\u5e38\u89c1\u7684\u6570\u636e\u4e4b\u4e00": 0, "12\u4f4d\u6570\u7684\u65f6\u5019\u4f1a\u4ee5\u79d1\u5b66\u8ba1\u6570\u6cd5\u663e\u793a": 0, "\u771f\u5047\u6570\u5b57": 0, "\u5de5\u4f5c\u8868\u770b\u5230\u5c55\u793a\u7684\u662f\u771f\u5047\u6570\u503c\u5217": 0, "\u771f\u6570\u503c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f\u53f3\u5bf9\u9f50": 0, "\u65b9\u4fbf\u89c2\u6d4b\u6570\u636e\u4f4d\u6570": 0, "\u5047\u6570\u503c\u662f\u6570\u503c\u578b\u6587\u672c\u5c5e\u4e8e": 0, "\u5de6\u4e0a\u89d2\u4f1a\u6709\u4e2a\u7eff\u8272\u4e09\u89d2\u9519\u8bef\u68c0\u67e5": 0, "\u5f53\u6570\u636e\u662f\u6587\u672c\u65f6": 0, "\u65e0\u6cd5\u5b8c\u6210\u6570\u5b57\u8fd0\u7b97\u64cd\u4f5c": 0, "excel\u4f1a\u81ea\u5e26\u6570\u636e\u7ea0\u9519\u529f\u80fd": 0, "\u70b9\u51fb\u9ec4\u8272\u611f\u53f9\u53f7\u53ef\u4ee5\u770b\u5230": 0, "\u5c06\u6587\u672c\u8f6c\u51fa\u6570\u5b57": 0, "\u6216\u8005\u4f7f\u7528": 0, "valu": [0, 5], "\u51fd\u6570\u5c06\u6587\u672c\u8f6c\u6210\u6570\u5b57": 0, "\u6587\u672c\u4e3aexcel\u4e2d\u7684\u5e38\u89c1\u683c\u5f0f": 0, "\u4e3b\u8981\u4e3a\u6587\u672c\u5b57\u7b26\u4e32": 0, "\u4f8b\u5982\u4e0b\u56fe\u5c31\u662f\u5178\u578b\u7684\u6587\u672c\u6570\u636e": 0, "\u5f53\u6570\u636e\u662f\u6587\u672c\u7c7b\u578b\u65f6\u5c31\u53ef\u4ee5\u5b8c\u6210\u6587\u672c\u6570\u636e\u76f8\u5173\u64cd\u4f5c": 0, "excel\u4e2d\u7684\u6807\u51c6\u65e5\u671f\u7531\u5e74\u6708\u65e5\u7ec4\u6210\u7684\u6570\u636e": 0, "2021": [0, 12, 13], "\u540c\u65f6\u65e5\u671f\u53c8\u662f\u5f88\u7279\u6b8a\u7684\u6570\u503c": 0, "\u5728excel\u91cc\u9762\u65e5\u671f\u6700\u65e9\u662f1900\u5e741\u67081\u65e5": 0, "\u5bf9\u5e94\u7684\u6570\u503c\u4e3a1": 0, "\u901a\u8fc7\u4e24\u65e5\u671f\u76f8\u51cf\u53ef\u4ee5\u5f97\u5230\u65e5\u671f\u76f8\u5dee\u7684\u5929\u6570": 0, "\u9700\u8981\u6ce8\u610f\u7684\u662f\u5982\u679c\u662f": 0, "01": [0, 8], "\u7684\u6570\u636e\u5c31\u8981\u770b\u662f\u5426\u5b9e\u9645\u6570\u636e\u4e3a": 0, "\u5426\u5219\u4e3a\u6587\u672c\u578b\u65e5\u671f": 0, "\u9700\u8981\u8fdb\u884c\u8f6c\u6362\u624d\u884c": 0, "\u89c2\u5bdf\u4e0b\u56fe\u771f\u5047\u65e5\u671f": 0, "\u53ef\u4ee5\u53d1\u73b0\u771f\u65e5\u671f\u53f3\u5bf9\u9f50": 0, "\u5047\u65e5\u671f\u5de6\u5bf9\u9f50": 0, "\u5185\u5bb9\u8ddf\u663e\u793a\u7684\u4e00\u81f4": 0, "\u771f\u65e5\u671f\u8f6c\u683c\u5f0f\u53ef\u4ee5\u770b\u5230\u5355\u5143\u683c\u6570\u636e\u4ecd\u7136\u662f\u771f\u65e5\u671f\u683c\u5f0f": 0, "\u5185\u5bb9\u8ddf\u663e\u793a\u4e0d\u4e00\u81f4": 0, "\u8bbe\u7f6e\u5355\u5143\u683c\u683c\u5f0f\u53ef\u4ee5\u70b9\u51fb\u5355\u5143\u683c\u540e": 0, "\u53f3\u952e": 0, "\u8bbe\u7f6e\u5355\u5143\u683c\u683c\u5f0f": [0, 2], "\u6216\u8005\u6309\u5feb\u6377\u952e": 0, "\u6216\u8005\u901a\u8fc7\u5de5\u5177\u680f": 0, "\u5f00\u59cb": [0, 8], "\u53bb\u5feb\u901f\u505a\u66f4\u6539": 0, "\u5355\u5143\u683c\u53ef\u4ee5\u8bbe\u7f6e\u7684\u683c\u5f0f\u7c7b\u578b\u5305\u62ec": 0, "\u8c03\u6574\u6570\u503c\u683c\u5f0f\u6216\u8005\u65e5\u671f\u683c\u5f0f": 0, "\u5bf9\u9f50": 0, "\u8c03\u6574\u5bf9\u9f50\u65b9\u5f0f": 0, "\u5b57\u4f53": 0, "\u66f4\u6539\u5b57\u4f53": 0, "\u5b57\u578b": 0, "\u5b57\u53f7\u7b49": 0, "\u8fb9\u6846": 0, "\u5355\u5143\u683c\u8fb9\u6846\u8bbe\u7f6e": 0, "\u586b\u5145": 0, "\u586b\u5145\u5355\u5143\u683c\u80cc\u666f\u989c\u8272": 0, "\u6807\u6ce8\u6570\u636e\u7ecf\u5e38\u4f7f\u7528": 0, "\u4fdd\u62a4": 0, "\u9501\u5b9a\u5355\u5143\u683c\u6216\u8005\u9690\u85cf\u516c\u5f0f": 0, "\u8bbe\u7f6e\u5355\u5143\u683c\u683c\u5f0f\u5206\u7c7b\u9009\u62e9\u6570\u503c": 0, "\u5bf9\u6570\u503c\u8bbe\u7f6e\u5c0f\u6570\u70b9\u4e00\u822c\u4fdd\u7559\u4e24\u4f4d": 0, "\u540c\u65f6\u80fd\u8ba9\u6570\u503c\u5bf9\u9f50": 0, "\u4f7f\u7528\u5343\u5206\u4f4d\u5206\u9694\u7b26\u80fd\u66f4\u5bb9\u6613\u89c2\u5bdf\u6570\u503c\u5927\u5c0f": 0, "\u6587\u672c\u5e38\u89c1\u7684\u8bbe\u7f6e\u683c\u5f0f\u7528\u4e8e\u5bf9\u6587\u672c\u8fdb\u884c\u52a0\u5355\u5f15\u53f7": 0, "\u53cc\u5f15\u53f7\u6216\u8005\u9017\u53f7\u7684\u60c5\u51b5": 0, "\u4f8b\u5982\u5bf9\u771f\u5047\u65e5\u671f\u4e2d\u7684\u5047\u65e5\u671f\u589e\u52a0\u5355\u5f15\u53f7": 0, "\u901a\u8fc7\u65e5\u671f\u5206\u7c7b\u8c03\u6574\u65e5\u671f\u683c\u5f0f\u4e3a\u5e74": 0, "\u6708": [0, 2, 5], "\u65e5": [0, 2, 5], "\u9700\u8981\u6ce8\u610f\u7684\u662f\u6587\u672c\u578b\u7684\u65e5\u671f\u683c\u5f0f\u65e0\u6cd5\u8c03\u6574": 0, "\u800c\u6570\u503c\u662f\u53ef\u4ee5\u8c03\u6574\u4e3a\u65e5\u671f": 0, "\u5c06\u6570\u503c\u8f6c\u6362\u6210\u6587\u672c": 0, "\u5c06\u4e0d\u89c4\u8303\u65e5\u671f\u8f6c\u6210\u89c4\u8303\u65e5\u671f": 0, "\u7136\u540e\u8f6c\u6210\u6587\u672c": 0, "\u4f7f\u7528excel\u6570\u636e\u5bfc\u5165\u529f\u80fd": 0, "\u5b8c\u6210": [0, 2, 5, 6, 15], "titanic_train": 0, "\u6570\u636e\u5bfc\u5165": [0, 15], "\u4e2d\u6848\u4f8b1": [0, 15], "4\u4e2d\u7684\u95ee\u9898": [0, 15], "\u6570\u636e\u770b\u677f\u4f5c\u4e3a\u6570\u636e\u52a8\u6001\u5c55\u793a\u7684\u4e00\u79cd\u91cd\u8981\u65b9\u5f0f": 1, "\u88ab\u5e7f\u6cdb\u7684\u5e94\u7528\u4e8e\u5404\u4e2a\u9886\u57df": 1, "\u56e0\u6b64\u672c\u8282\u6839\u636e1\u4e2a\u6848\u4f8b\u8bb2\u89e3\u4f7f\u7528excel\u5236\u4f5c\u6570\u636e\u770b\u677f\u7684\u8fc7\u7a0b": 1, "\u4ee5\u671f\u8d77\u5230\u629b\u7816\u5f15\u7389\u7684\u6548\u679c": 1, "\u5728\u5b66\u4e60\u6280\u80fd\u7684\u540c\u65f6\u4e5f\u5c06\u5176\u5e94\u7528\u5230\u5b9e\u8df5\u7684\u5de5\u4f5c\u4e2d": 1, "chap10": 1, "10": [1, 3, 15], "\u4e2d\u7684\u6570\u636e\u6e90": [1, 9], "\u8fd9\u662f\u67d0\u5382\u5bb6\u5728\u6dd8\u5b9d": 1, "\u62fc\u591a\u591a": 1, "\u4eac\u4e1c\u8fd93\u4e2a\u7535\u5546\u9500\u552e\u5e73\u53f0\u7684\u9500\u552e\u6570\u636e": 1, "\u73b0\u5728\u4f60\u662f\u8fd9\u4e2a\u5382\u5bb6\u7684\u5458\u5de5": 1, "\u8001\u677f\u60f3\u77e5\u9053\u5546\u54c1\u5728\u4e0d\u540c\u6e20\u9053\u7684\u6bcf\u5468\u9500\u552e\u60c5\u51b5": 1, "\u60f3\u8bf7\u4f60\u505a\u4e00\u4e2a\u6570\u636e\u5468\u62a5\u770b\u677f": 1, "\u65e2\u7136\u662f\u5468\u62a5\u770b\u677f": 1, "\u9700\u8981\u786e\u5b9a\u6bcf\u5929\u65e5\u671f\u6240\u5728\u5468\u6570\u4e0e\u6bcf\u5468\u7684\u7b2c\u51e0\u5929": 1, "\u6839\u636e\u786e\u5b9a\u5468\u6570\u5bf9\u9500\u552e\u91d1\u989d\u8fdb\u884c\u6c47\u603b": 1, "\u5bf9\u9500\u552e\u91d1\u989d\u8fdb\u884c\u52a8\u6001\u5c55\u793a": 1, "\u786e\u5b9a\u65e5\u671f\u6240\u5728\u7684\u5468\u6570\u7528": 1, "weeknum\u51fd\u6570": 1, "\u786e\u5b9a\u65e5\u671f\u662f\u7b2c\u51e0\u5468\u53ef\u4ee5\u7528": 1, "weekday\u51fd\u6570": 1, "\u5728h2\u5355\u5143\u683c\u8f93\u5165": 1, "weeknum": 1, "b2": [1, 2, 4, 6, 8], "\u5728i2\u5355\u5143\u683c\u8f93\u5165": 1, "weekdai": 1, "11": [1, 5, 7, 12, 13], "\u5982\u679c\u60f3\u5f97\u5230\u4e2d\u6587\u661f\u671f\u51e0": 1, "\u53ef\u4ee5\u8f93\u5165": 1, "text": [1, 5], "aaaa": [1, 5], "\u65b0\u5efa1\u4e2a\u5de5\u4f5c\u8868": 1, "\u786e\u5b9a\u52a8\u6001\u6570\u636e\u7684\u53d8\u91cf\u4e3a\u5468\u6570": 1, "\u5e76\u786e\u5b9a\u9700\u8981\u8ba1\u7b97\u7684\u6307\u6807": 1, "\u672c\u5468\u5f00\u59cb\u65e5\u671f": 1, "\u4ecb\u7ecd\u65e5\u671f": 1, "\u9500\u552e\u989d": 1, "\u8ba2\u5355\u6570": 1, "\u4e0a\u5468\u9500\u552e\u989d": 1, "\u4e0a\u5468\u8ba2\u5355\u6570": 1, "\u9500\u552e\u989d\u53d8\u5316": 1, "\u8ba2\u5355\u6570\u53d8\u5316": 1, "\u4f7f\u7528\u516c\u5f0f\u6c42\u89e3\u76f8\u5173\u7684\u57fa\u7840\u6570\u636e": 1, "\u5728c3\u5355\u5143\u683c\u8f93\u5165\u516c\u5f0f": 1, "xlookup": [1, 8, 10], "c2": [1, 4, 5, 6, 7], "\u6570\u636e\u6e90": [1, 9, 15], "h1": [1, 6], "h50001": 1, "b1": [1, 6], "b50001": 1, "\u5982\u679c\u53d1\u73b0\u6570\u636e\u65e5\u671f\u53d8\u6210\u4e8644200": 1, "\u663e\u7136\u5c31\u662f\u683c\u5f0f\u4e0d\u6b63\u786e": 1, "\u53ea\u9700\u8981\u5c06\u5355\u5143\u683c\u7684\u683c\u5f0f\u8f6c\u4e3a\u65e5\u671f\u5373\u53ef": 1, "\u5728c4\u5355\u5143\u683c\u8f93\u5165\u516c\u5f0f": 1, "0": [1, 4, 6, 12, 13], "\u5bf9\u4e8e\u672c\u5468\u7684\u9500\u552e\u989d": 1, "\u53ef\u4ee5\u4f7f\u7528sumifs\u51fd\u6570\u83b7\u5f97": 1, "\u5728c5\u5355\u5143\u683c\u4e2d\u8f93\u5165": 1, "sumif": [1, 4], "f": [1, 2], "b": [1, 2, 4, 8], "c": [1, 2, 4], "\u5bf9\u4e8e\u672c\u5468\u7684\u8ba2\u5355\u6570": 1, "\u53ef\u4ee5\u4f7f\u7528countifs\u51fd\u6570\u83b7\u5f97": 1, "\u5728c6\u5355\u5143\u683c\u4e2d\u8f93\u5165": 1, "countif": [1, 4, 7], "\u5bf9\u4e8e\u4e0a\u5468\u5f00\u59cb\u65e5\u671f": 1, "\u53ef\u4ee5\u4f7f\u7528\u672c\u5468\u5f00\u59cb\u65e5\u671f": 1, "7": [1, 3, 4, 5, 6, 7, 15], "\u5728e3\u5355\u5143\u683c\u4e2d\u8f93\u5165": 1, "c3": [1, 4], "\u5bf9\u4e8e\u4e0a\u5468\u7ed3\u675f\u65e5\u671f": 1, "\u53ef\u4ee5\u4f7f\u7528\u672c\u5468\u7ed3\u675f\u65e5\u671f": 1, "\u5728e4\u5355\u5143\u683c\u4e2d\u8f93\u5165": 1, "c4": 1, "\u5bf9\u4e8e\u4e0a\u5468\u9500\u552e\u989d": 1, "\u5728e5\u5355\u5143\u683c\u4e2d\u8f93\u5165": 1, "e": [1, 2, 5], "\u5bf9\u4e8e\u4e0a\u5468\u7684\u8ba2\u5355\u6570": 1, "\u5728e6\u5355\u5143\u683c\u4e2d\u8f93\u5165": 1, "\u5bf9\u4e8e\u76f8\u6bd4\u4e0a\u5468\u9500\u552e\u989d\u53d8\u5316": 1, "\u53ef\u4ee5\u4f7f\u7528\u767e\u5206\u6bd4\u8ba1\u7b97": 1, "\u4f7f\u7528": [1, 7], "text\u51fd\u6570": [1, 10], "\u786e\u5b9a\u683c\u5f0f": 1, "\u5728c7\u5355\u5143\u683c\u4e2d\u8f93\u5165": 1, "c5": 1, "e5": 1, "100": 1, "00": 1, "\u5bf9\u4e8e\u76f8\u6bd4\u4e0a\u5468\u8ba2\u5355\u6570\u53d8\u5316": 1, "\u5728c8\u5355\u5143\u683c\u4e2d\u8f93\u5165": 1, "c6": 1, "e6": 1, "\u5f53\u7136\u4e5f\u53ef\u4ee5\u76f4\u63a5\u8bbe\u7f6e\u5355\u5143\u683c\u683c\u5f0f\u4e3a": 1, "\u767e\u5206\u6bd4": 1, "\u5f53\u7136\u8fd9\u4e2a": 1, "\u76f8\u6bd4\u4e0a\u5468\u9500\u552e\u989d\u53d8\u5316": 1, "\u6307\u6807\u662f\u4e00\u4e2a\u6bd4\u8f83\u91cd\u8981\u7684\u6307\u6807": 1, "\u53ef\u4ee5\u5bf9\u8fd9\u4e2a\u6307\u6807\u8fdb\u884c\u683c\u5f0f\u8bbe\u7f6e": 1, "\u9009\u62e9c6\u5355\u5143\u683c\u5e76\u8bbe\u7f6e\u6761\u4ef6\u683c\u5f0f": 1, "\u5224\u65adc5\u5355\u5143\u683c\u4e0ee5\u5355\u5143\u683c\u503c\u7684\u5927\u5c0f": 1, "\u5982\u679cc5": 1, "\u90a3\u4e48c6\u5355\u5143\u503c\u4e3a\u7ea2": 1, "\u5426\u5219\u4e3a\u7eff\u8272": 1, "\u5bf9\u4e8e\u6bcf\u5468\u7684\u6570\u636e\u9700\u8981\u505a\u4e00\u4e2a\u7edf\u8ba1": 1, "\u5e76\u5bf9\u6bcf\u5468\u6570\u636e\u7684\u4e0b\u5355\u91d1\u989d\u4e0e\u4e0b\u5355\u6570\u8fdb\u884c\u6574\u7406": 1, "\u88c5b13": 1, "b19\u5355\u5143\u683c\u8f93\u5165\u661f\u671f\u6570": 1, "\u73b0\u5728\u9700\u8981\u7edf\u8ba1\u6bcf\u54681": 1, "7\u7684\u4e0b\u5355\u91d1\u989d": 1, "\u56e0\u6b64\u5728c13\u5355\u5143\u683c\u4e2d\u8f93\u5165\u516c\u5f0f": 1, "\u5e76\u5411\u4e0b\u586b\u5145\u516c\u5f0f": 1, "i": [1, 2, 4], "\u8ba1\u7b97\u8fc7\u7a0b": 1, "b13": [1, 4], "\u63a5\u4e0b\u6765\u5c31\u5bf9\u6570\u636e\u8fdb\u884c\u53ef\u89c6\u5316\u5c55\u793a": 1, "\u5e76\u5bf9\u6bcf\u5468\u6570\u636e\u7684\u6e20\u9053\u5206\u5e03\u8fdb\u884c\u6574\u7406": 1, "\u88c5g3": 1, "g6\u5355\u5143\u683c\u5206\u522b\u8f93\u5165\u4ea7\u54c1\u7684\u7535\u5546\u6e20\u9053\u4eac\u4e1c": 1, "\u6dd8\u5b9d": 1, "\u5728h3\u5355\u5143\u683c\u4e2d\u8f93\u5165sumifs\u51fd\u6570\u6c42\u4e0d\u540c\u6e20\u9053\u7684\u9500\u552e\u91d1\u989d": 1, "\u5e76\u8fdb\u884c\u5411\u4e0b\u586b\u5145": 1, "g3": [1, 4], "\u5728i3\u5355\u5143\u683c\u4e2d\u8f93\u5165countif\u51fd\u6570\u6c42\u4e0d\u540c\u6e20\u9053\u7684\u4e0b\u5355\u6570": 1, "\u5c06\u56fe\u7247\u8fdb\u884c\u7b80\u5355\u7684\u7f8e\u5316": 1, "\u5c31\u53ef\u4ee5\u5f97\u5230\u4e0b\u5355\u91d1\u989d\u997c\u72b6\u56fe\u4e0e\u4e0b\u5355\u6570\u7684\u67f1\u72b6\u56fe": 1, "\u5b8c\u6210\u4e86\u524d\u9762\u7684\u5168\u90e8\u8ba1\u7b97\u540e": 1, "\u63a5\u4e0b\u6765\u7684\u5de5\u4f5c\u5c31\u662f\u5c06\u7ed8\u5236\u7684\u56fe\u7ed3\u5408\u5728\u4e00\u8d77\u8fdb\u884c\u5c55\u793a": 1, "\u9996\u5148\u662f\u4e0a\u8ff0\u8ba1\u7b97\u7684\u6570\u636e\u4e0e\u7ed8\u56fe\u7684\u4fe1\u606f\u96c6\u5408\u5230\u4e00\u8d77": 1, "\u5176\u4e2d\u672c\u5468\u7684\u603b\u9500\u91cf": 1, "\u672c\u5468\u8ba2\u5355\u6570": 1, "\u5f53\u524d\u5468\u6570": 1, "\u5f00\u59cb\u65e5\u671f\u4ee5\u53ca\u7ed3\u675f\u65e5\u671f\u90fd\u662f\u5f15\u7528\u8ba1\u7b97\u8fc7\u7a0b\u4e2d\u7684\u503c": 1, "\u672c\u5468\u603b\u9500\u91cf\u7684\u503c\u4e3a": 1, "\u672c\u5468\u603b\u8ba2\u5355\u7684\u503c\u4e3a": 1, "6": [1, 3, 4, 6, 15], "\u672c\u5468\u5468\u6570\u7684\u503c\u4e3a": 1, "\u672c\u5468\u7684\u5f00\u59cb\u65e5\u671f\u4e3a": 1, "\u672c\u5468\u7684\u7ed3\u675f\u65e5\u671f\u4e3a": 1, "\u56e0\u4e3a\u672c\u5468\u7684\u53d8\u5316\u60c5\u51b5\u5e26\u6709\u6761\u4ef6\u5355\u5143\u683c\u5f0f": 1, "\u56e0\u6b64\u4e0d\u80fd\u76f4\u63a5\u5f15\u7528": 1, "\u9700\u8981\u5c06\u5176\u8f6c\u5316\u6210\u94fe\u63a5\u56fe\u7247\u7684\u5f62\u5f0f": 1, "\u5177\u4f53\u64cd\u4f5c\u4e3a": 1, "\u590d\u5236c7\u5355\u5143\u683c": 1, "\u7c98\u8d34\u9009\u62e9\u94fe\u63a5\u7684\u56fe\u7247": 1, "\u5bf9\u4e8e\u672c\u5468\u7684\u5468\u6570": 1, "\u9700\u8981\u8bbe\u7f6e\u6309\u94ae\u65b9\u4fbf\u8c03\u8282": 1, "\u9009\u62e9\u5f00\u53d1\u5de5\u5177": 1, "\u9009\u62e9\u63d2\u5165": [1, 9], "\u9009\u62e9\u6570\u503c\u8c03\u8282\u6309\u94ae": 1, "\u9009\u62e9\u8bbe\u7f6e\u63a7\u4ef6\u683c\u5f0f": 1, "\u8bbe\u7f6e\u63a7\u4ef6\u7684\u5bf9\u5e94\u53c2\u6570": 1, "\u5230\u8fd9\u91cc\u5c31\u5b8c\u6210\u4e86\u770b\u677f90": 1, "\u7684\u6b65\u9aa4": 1, "\u70b9\u51fb\u6309\u94ae": 1, "\u80fd\u770b\u52a8\u6001\u5c55\u793a\u770b\u677f\u7684\u76f8\u5173\u6570\u636e": 1, "\u6700\u540e\u5c31\u5bf9\u770b\u677f\u8fdb\u884c\u76f8\u5e94\u7684\u7f8e\u5316": 1, "\u5728\u770b\u677f\u7f8e\u5316\u8fc7\u7a0b\u4e2d\u4e5f\u53c2\u8003\u4e86\u5176\u4ed6excel\u6559\u7a0b\u4e2d\u7684\u914d\u8272": 1, "\u56e0\u6b64\u6700\u540e\u7684\u770b\u677f\u5c55\u793a\u6548\u679c\u4e3a": 1, "\u5b8c\u6210\u6570\u636e\u770b\u677f": [1, 15], "\u9700\u8981\u901a\u8fc7\u6309\u94ae\u8c03\u8282\u5468\u6570": [1, 15], "\u540c\u65f6\u9500\u552e\u989d": [1, 15], "\u8ba2\u5355\u6570\u4ee5\u53ca\u6570\u636e\u56fe\u8fdb\u884c\u53d8\u5316": [1, 15], "\u4e3a\u4ec0\u4e48\u6bcf\u5468\u7684\u4ecb\u7ecd\u65e5\u671f\u548c\u5f00\u59cb\u65e5\u671f\u90fd\u53ef\u4ee5\u4f7f\u7528xlookup\u83b7\u5f97": 1, "\u4e3a\u4ec0\u4e48\u6bcf\u54681\u7684\u4e0b\u5355\u91d1\u989d\u4e4b\u548c\u53ef\u4ee5\u901a\u8fc7sumif\u51fd\u6570\u6c42": 1, "\u4e3a\u4ec0\u4e48\u8bbe\u7f6e\u6309\u94ae\u8c03\u8282\u6bcf\u5468\u7684\u6570\u636e\u53d8\u5316": 1, "\u8fd9\u6837\u6709\u4ec0\u4e48\u597d\u5904": 1, "\u884c\u6587\u81f3\u6b64": 1, "\u4ee5\u4e0a\u5c31\u662ffree": 1, "excel\u6559\u7a0b\u7684\u5168\u90e8\u5185\u5bb9": 1, "\u6574\u4e2a\u6559\u7a0b\u7684\u7f16\u5199\u8fc7\u7a0b\u4e2d\u4e5f\u5e7f\u6cdb\u7684\u53c2\u9605\u4e86\u5404\u5f0f\u5404\u6837\u7684excel\u6559\u7a0b": 1, "\u5c3d\u529b\u8ba9\u672c\u6559\u7a0b\u53d8\u5f97\u8f7b\u677e\u6613\u5b66": 1, "\u5e0c\u671b\u8bfb\u8005\u80fd\u638c\u63e1\u76f8\u5173\u7684excel\u6280\u5de7": 1, "\u5e76\u80fd\u7075\u6d3b\u7684\u8fd0\u7528\u5230\u5de5\u4f5c\u4e2d": 1, "\u9762\u5bf9\u6570\u5b57\u5316\u793e\u4f1a": 1, "\u6570\u636e\u5c06\u6e17\u900f\u5230\u751f\u6d3b\u7684\u70b9\u70b9\u6ef4\u6ef4": 1, "\u62e5\u62b1\u6570\u5b57": 1, "\u540c\u65f6\u4e5f\u62e5\u62b1\u53d8\u5316": 1, "\u4f5c\u8005": 1, "\u7267\u5c0f\u718a": [1, 14], "datawhale\u6210\u5458": [1, 14], "\u6570\u636e\u5206\u6790\u5e08": 1, "\u5728\u672c\u8282\u4e2d\u6211\u4eec\u5c06\u4e86\u89e3excel\u4e2d\u7684\u5404\u79cd\u5feb\u6377\u64cd\u4f5c": 2, "\u76ee\u524d\u5df2\u77e5\u7684excel\u5feb\u6377\u64cd\u4f5c\u952e\u6709230\u4e2a": 2, "\u672c\u7bc7\u91cd\u70b9\u4ecb\u7ecd\u90a3\u4e9b\u5e38\u7528\u7684excel\u5feb\u6377\u64cd\u4f5c\u952e": 2, "n": [2, 6], "\u521b\u5efa\u4e00\u4e2a\u65b0\u7684excel\u5de5\u4f5c\u7c3f": 2, "w": 2, "\u5173\u95ed\u5f53\u524d\u5de5\u4f5c\u7c3f": 2, "\u4fdd\u5b58\u5f53\u524d\u7684excel\u5de5\u4f5c\u7c3f": 2, "f12": 2, "\u5c06\u5f53\u524d\u6587\u4ef6\u8fdb\u884c\u53e6\u5b58\u4e3a": 2, "p": 2, "\u6253\u5370\u5f53\u524d\u5de5\u4f5c\u8868": 2, "z": 2, "\u64a4\u9500\u5f53\u524d\u64cd\u4f5c": 2, "y": 2, "\u6062\u590d\u64a4\u9500": 2, "\u53ef\u4ee5\u7528\u8fd9\u4e2a\u5feb\u6377\u952e\u6062\u590d\u88ab\u64a4\u6d88\u7684\u64cd\u4f5c": 2, "\u590d\u5236\u6240\u9009\u5355\u5143\u683c": 2, "x": 2, "\u526a\u5207\u6240\u9009\u5355\u5143\u683c": 2, "v": 2, "\u7c98\u8d34\u6240\u9009\u5355\u5143\u683c": 2, "\u5f39\u51fa\u67e5\u627e\u548c\u66ff\u6362\u5bf9\u8bdd\u6846": 2, "g": [2, 4], "\u663e\u793a\u5b9a\u4f4d\u5bf9\u8bdd\u6846": 2, "A": [2, 6], "\u5168\u9009\u8868\u683c": 2, "\u79fb\u52a8\u5230\u6570\u636e\u533a\u57df\u7684\u53f3\u8fb9\u7f18": 2, "\u79fb\u52a8\u5230\u6570\u636e\u533a\u57df\u7684\u5de6\u8fb9\u7f18": 2, "\u79fb\u52a8\u5230\u6570\u636e\u533a\u57df\u7684\u4e0a\u8fb9\u7f18": 2, "\u79fb\u52a8\u5230\u6570\u636e\u533a\u57df\u7684\u4e0b\u8fb9\u7f18": 2, "f2": [2, 6, 7], "\u7f16\u8f91\u5f53\u524d\u5355\u5143\u683c": 2, "\u8ddf\u53cc\u51fb\u5355\u5143\u683c\u6548\u679c\u4e00\u81f4": 2, "alt": 2, "enter": [2, 4], "\u5728\u5f53\u524d\u5355\u5143\u683c\u5185\u6362\u884c": 2, "\u76f4\u63a5\u6309": 2, "\u4f1a\u8df3\u8f6c\u5230\u4e0b\u4e00\u884c": 2, "\u4e0b\u79fb\u4e00\u4e2a\u5355\u5143\u683c": 2, "shift": 2, "\u4e0a\u79fb\u4e00\u4e2a\u5355\u5143\u683c": 2, "tab": 2, "\u53f3\u79fb\u4e00\u4e2a\u5355\u5143\u683c": 2, "\u5de6\u79fb\u4e00\u4e2a\u5355\u5143\u683c": 2, "\u8f93\u5165\u5b8c\u6210": 2, "\u5e76\u505c\u7559\u5728\u5f53\u524d\u5355\u5143\u683c": 2, "\u5206\u53f7": 2, "\u8f93\u5165\u5f53\u524d\u65e5\u671f": 2, "\u663e\u793a\u4e3a\u5e74": 2, "\u8f93\u5165\u5f53\u524d\u65f6\u95f4": 2, "\u663e\u793a\u4e3a\u5c0f\u65f6": 2, "\u5206\u949f": 2, "\u5feb\u901f\u586b\u5145": 2, "\u6570\u5b571": 2, "\u52a0\u7c97\u6216\u53d6\u6d88\u52a0\u7c97": 2, "\u52a0\u659c\u4f53\u6216\u53d6\u6d88\u659c\u4f53": 2, "f4": 2, "\u7edd\u5bf9\u5f15\u7528\u548c\u76f8\u5bf9\u5f15\u7528\u5207\u6362": 2, "\u81ea\u52a8\u63d2\u5165\u6c42\u548c\u516c\u5f0f": 2, "\u6253\u5f00\u6587\u4ef6": [2, 3, 4, 6], "chap2": [2, 15], "\u6848\u4f8b1": [2, 3, 8, 15], "\u9009\u4e2d\u6848\u4f8b1\u4e2d\u7684\u8868\u683c\u533a\u57df": 2, "\u6ce8\u610f\u8fd9\u91cc\u8981\u628a\u6c47\u603b\u7684\u90a3\u4e00\u884c\u4e5f\u9009\u4e0a": 2, "\u4f7f\u7528\u5feb\u6377\u952e": [2, 4], "\u53ef\u4ee5\u770b\u5230": [2, 9], "\u5bf9\u4e0a\u8ff0\u7684excel\u8868\u683c\u533a\u57df\u8fdb\u884c\u81ea\u52a8\u6c42\u548c": 2, "\u6211\u4eec\u73b0\u5728\u7684\u4efb\u52a1\u662f\u627e\u52301\u6708\u548c2\u6708\u5ba2\u6237\u6570\u4e0d\u540c\u7684\u533a\u57df": 2, "\u5982\u4f55\u5feb\u901f\u5b9a\u4f4d": 2, "\u9009\u4e2d\u9700\u8981\u8fdb\u884c\u5217\u5dee\u5f02\u6bd4\u5bf9\u7684\u533a\u57df": 2, "\u6ce8\u610f\u9009\u62e9\u987a\u5e8f\u4ece\u5de6\u5f80\u53f3": 2, "\u6ce8\u610f\u4e0d\u662f": 2, "\u53ef\u4ee5\u5feb\u901f\u5b9a\u4f4d\u5230\u533a\u57df4": 2, "\u533a\u57df8\u4ee5\u53ca\u533a\u57df10\u6240\u5bf9\u5e94\u7684\u5ba2\u6237\u6570\u4e0d\u540c": 2, "3": [2, 3, 9, 10, 15], "\u9009\u62e9\u586b\u5145\u989c\u8272": 2, "\u5373\u53ef\u5feb\u901f\u663e\u793a\u4e24\u5217\u7684\u5dee\u5f02": 2, "\u6ce8\u610f\u8fd9\u91cc\u7684\u9009\u62e9\u65b9\u5411": 2, "\u4ece\u53f3\u5f80\u5de6\u9009\u62e9": 2, "\u90a3\u4e48\u9ed8\u8ba4\u6700\u53f3\u8fb9\u4e3a\u53c2\u8003\u6807\u51c6": 2, "\u5176\u4ed6\u5217\u7684\u6570\u636e\u53ef\u53c2\u8003\u6807\u51c6\u6bd4\u8f83": 2, "\u5982\u679c\u4ece\u5de6\u5f80\u53f3\u9009\u62e9": 2, "\u90a3\u6700\u5de6\u8fb9\u5c31\u662f\u53c2\u8003\u6807\u51c6": 2, "\u5176\u4ed6\u7684\u64cd\u4f5c\u540c\u4e0a": 2, "\u5728excel\u4e2d\u5f88\u591a\u91cd\u590d": 2, "\u7e41\u7410\u7684\u5de5\u4f5c\u7531\u6570\u636e\u63d0\u53d6\u548c\u6570\u636e\u5408\u5e76\u8fd9\u7c7b\u95ee\u9898\u9020\u6210": 2, "2013\u5e74\u4ee5\u540e\u7684excel": 2, "\u652f\u6301\u667a\u80fd\u586b\u5145": 2, "\u80fd\u7075\u6d3b\u7684\u89e3\u51b3\u8fd9\u7c7b\u95ee\u9898": 2, "\u9700\u8981\u6ce8\u610f\u7684\u662f": 2, "\u81ea\u52a8\u586b\u5145\u7684\u6570\u636e\u9700\u8981\u662f\u540c\u4e00\u4e2a\u89c4\u8303\u6570\u636e\u624d\u53ef\u4ee5\u5b8c\u6210\u81ea\u52a8\u586b\u5145": 2, "\u9700\u8981\u63d0\u53d6\u5ba2\u6237\u7684\u624b\u673a\u53f7": 2, "\u624b\u52a8\u63d0\u53d6\u5ba2\u62371\u7684\u624b\u673a\u53f7": 2, "\u5e76\u8f93\u5165\u5230": 2, "\u9009\u62e9\u9700\u8981\u5feb\u901f\u586b\u5145\u7684\u5217": 2, "\u4e5f\u5c31\u662f": 2, "b11": 2, "\u6309": 2, "\u8fdb\u884c\u81ea\u52a8\u586b\u5145": 2, "\u5de5\u4f5c\u7c3f\u4e2d\u7684": [2, 3, 4, 5, 8, 9, 15], "\u6848\u4f8b2": [2, 3, 15], "\u6848\u4f8b3": [2, 15], "\u7684\u5feb\u6377\u952e\u81ea\u52a8\u6c42\u548c\u4efb\u52a1": [2, 15], "\u7684\u591a\u884c\u5feb\u901f\u6bd4\u5bf9\u4efb\u52a1": [2, 15], "\u63d0\u793a": [2, 15], "\u9700\u8981\u9009\u4e2d\u6240\u6709\u5f85\u6bd4\u5bf9\u8868\u683c\u6846": [2, 15], "\u6848\u4f8b4": [2, 15], "\u7684\u586b\u5145\u4efb\u52a1": [2, 15], "\u5f53\u9047\u5230\u9700\u8981\u5c06\u591a\u4e2a\u8868\u7684\u884c\u8bb0\u5f55\u5408\u5e76\u5728\u4e00\u8d77\u7684\u65f6\u5019": 3, "\u6211\u4eec\u4e00\u822c\u4f1a\u624b\u52a8\u590d\u5236\u7c98\u8d34": 3, "\u8fd9\u4f1a\u5e26\u6765\u5f88\u591a\u91cd\u590d\u7e41\u7410\u7684\u64cd\u4f5c": 3, "\u5e76\u4e14\u5bb9\u6613\u51fa\u9519": 3, "\u53ef\u4ee5\u4f7f\u7528excel\u7684\u5408\u5e76\u8ba1\u7b97\u5de5\u5177\u6765\u5feb\u901f\u5b8c\u6210": 3, "chap3": [3, 15], "\u53ef\u4ee5\u770b\u5230\u67093\u4e2a\u6d88\u8d39\u8868\u683c": 3, "\u6bcf\u4e2a\u5ba2\u6237\u7684\u6d88\u8d39\u91d1\u989d\u4e0d\u540c": 3, "\u73b0\u5728\u9700\u8981\u4f60\u7edf\u8ba1\u6bcf\u4e2a\u5ba2\u6237\u5728\u6d88\u8d39\u7684\u603b\u91d1\u989d": 3, "\u4e00\u822c\u7684\u64cd\u4f5c\u65b9\u6cd5\u662f\u5c06\u8fd93\u4e2a\u6570\u636e\u590d\u5236\u7c98\u8d34": 3, "\u90a3\u4e48\u6709\u6ca1\u6709\u66f4\u52a0\u4f18\u96c5\u7684\u65b9\u6cd5\u5462": 3, "\u8fd9\u91cc\u63a8\u8350\u4f7f\u7528\u5408\u5e76\u8ba1\u7b97": 3, "\u9009\u62e9\u9700\u8981\u6c47\u603b\u7684\u5355\u5143\u683c\u8d77\u70b9": 3, "\u9009\u62e9excel\u4e2d\u7684\u6570\u636e\u680f": 3, "\u627e\u5230\u6570\u636e\u680f\u4e2d\u7684\u5408\u5e76\u8ba1\u7b97\u5757": 3, "4": [3, 6, 9, 10, 15], "\u9009\u62e9\u5408\u5e76\u8ba1\u7b97\u51fd\u6570\u4e2d\u7684\u6c42\u548c": 3, "5": [3, 4, 5, 15], "\u70b9\u51fb\u5f15\u7528\u4f4d\u7f6e\u53f3\u4fa7\u7684\u5f15\u7528\u9879": 3, "\u9009\u62e9\u7b2c\u4e00\u4e2a\u6570\u636e\u8868\u6240\u5728\u7684\u8303\u56f4": 3, "\u70b9\u51fb\u6dfb\u52a0": 3, "8": [3, 4, 5, 6, 8, 15], "\u5c063\u4e2a\u6570\u636e\u8868\u6dfb\u52a0\u5230\u6240\u6709\u5f15\u7528\u4f4d\u7f6e": 3, "9": [3, 7, 9, 15], "\u9009\u62e9\u6807\u7b7e\u4f4d\u7f6e\u4fe1\u606f": 3, "\u70b9\u51fb\u5b8c\u6210": 3, "\u53ef\u4ee5\u770b\u5230\u5b8c\u6210\u4e86\u6240\u6709\u5ba2\u6237\u6d88\u8d39\u91d1\u989d\u7684\u6c42\u548c\u8ba1\u7b97": 3, "\u53ef\u4ee5\u770b\u5230\u67093\u4e2a\u4e0d\u540c\u7684\u6d88\u8d39\u8868\u683c": 3, "\u73b0\u5728\u9700\u8981\u4f60\u7edf\u8ba1\u6bcf\u4e2a\u5ba2\u6237\u57283\u4e2a\u4e0d\u540c\u6d88\u8d39\u7684\u603b\u91d1\u989d": 3, "\u4f7f\u7528\u5408\u5e76\u8ba1\u7b97\u9009\u62e93\u4e2a\u4e0d\u540c\u9879\u76ee\u7684\u6570\u636e\u533a\u57df": 3, "\u9009\u62e9": [3, 4, 8, 9, 15], "\u5f97\u5230\u4e0d\u540c\u5ba2\u6237\u7684\u6d88\u8d39\u6b21\u6570": [3, 15], "\u5f97\u5230\u4e0d\u540c\u5ba2\u6237\u7684\u4e0d\u540c\u9879\u76ee\u7684\u6d88\u8d39\u6b21\u6570": [3, 15], "excel\u4e2d\u6709\u7740\u975e\u5e38\u4e30\u5bcc\u7684\u51fd\u6570": 4, "\u8fd9\u4e9b\u51fd\u6570\u80fd\u5927\u5e45\u5ea6\u63d0\u5347\u6211\u4eec\u7684\u5de5\u4f5c\u6548\u7387": 4, "\u672c\u8282\u4e2d\u4f1a\u91cd\u70b9\u4ecb\u7ecd\u4e00\u4e9b\u5e38\u7528\u7684excel\u51fd\u6570": 4, "chap4": [4, 15], "\u73b0\u5728\u9700\u8981\u5bf9\u5ba2\u6237\u7684\u539f\u59cb\u5f97\u5206\u8fdb\u884c\u6821\u6b63": 4, "\u5f53\u5ba2\u6237\u7684\u539f\u59cb\u5f97\u5206\u4e3a\u8d1f\u65f6": 4, "\u6821\u6b63\u4e3a0": 4, "\u9488\u5bf9\u4e0a\u9762\u9047\u5230\u7684\u95ee\u9898": 4, "\u53ef\u4ee5\u4f7f\u7528if\u51fd\u6570": 4, "excel\u51fd\u6570\u7528\u6cd5\u5982\u4e0b": 4, "IF": [4, 6], "\u5224\u65ad\u6761\u4ef6": 4, "\u5982\u679c\u6ee1\u8db3\u5219": 4, "\u5982\u679c\u4e0d\u6ee1\u8db3\u5219": 4, "\u9488\u5bf9\u9047\u5230\u7684\u95ee\u9898": [4, 5], "\u90a3\u4e48\u5728c2\u5355\u5143\u683c\u4e2d\u8f93\u5165": 4, "\u6ce8\u610f": [4, 5], "\u8fd9\u91cc\u7684\u9017\u53f7\u8981\u4f7f\u7528\u82f1\u6587\u7684\u9017\u53f7": [4, 5], "\u90a3\u4e48\u8fd9\u4e2a\u516c\u5f0f\u662f\u4ec0\u4e48\u610f\u601d\u5462": 4, "\u5224\u65adb2\u5355\u5143\u683c\u662f\u4e0d\u662f\u5c0f\u4e8e0": 4, "\u5982\u679c\u662f": 4, "\u5219c2\u5355\u5143\u683c\u4e3a0": 4, "\u5982\u679c\u4e0d\u662f\u5219\u8fd4\u56deb2\u5355\u5143\u683c\u7684\u503c": 4, "\u53ef\u4ee5\u770b\u5230c2\u5355\u5143\u683c\u5b9e\u9645\u8fd4\u56de\u503c\u4e3a0": 4, "\u8fd9\u662f\u56e0\u4e3ab2\u7684\u503c\u4e3a": 4, "\u6ee1\u8db3\u5224\u65ad\u6761\u4ef6": 4, "\u56e0\u6b64c2\u5355\u5143\u683c\u8fd4\u56de\u4e3a0": 4, "\u90a3\u4e48\u5982\u4f55\u8fdb\u884c\u516c\u5f0f\u6279\u91cf\u586b\u5145\u5462": 4, "\u8fd9\u91cc\u63a8\u8350\u4e00\u4e2a\u6bd4\u8f83\u4f18\u96c5\u7684\u65b9\u6cd5": 4, "\u5728c2\u5355\u5143\u683c\u5199excel\u516c\u5f0f": 4, "\u9009\u62e9\u9700\u8981\u586b\u5145\u516c\u5f0f\u7684\u533a\u57df": 4, "\u5305\u62ecc2\u5355\u5143\u683c": 4, "\u70b9\u51fbc2\u5355\u5143\u683c": 4, "\u8fdb\u5165\u516c\u5f0f\u7f16\u8f91\u72b6\u6001": 4, "\u8fdb\u884c\u6279\u91cf\u586b\u5145": 4, "\u73b0\u5728\u6709\u5ba2\u6237\u76841\u6708": 4, "2\u6708\u6d88\u8d39\u91d1\u989d": 4, "\u5982\u679c\u5ba2\u62372\u4e2a\u6708\u7684\u6d88\u8d39\u91d1\u989d\u90fd\u8d85\u8fc7400": 4, "\u90a3\u4e48\u5c31\u8ba4\u4e3a\u8fd9\u4e2a\u5ba2\u6237\u4e3a\u9ad8\u6d88\u8d39\u5ba2\u6237": 4, "\u8fd9\u91cc\u4e0e5": 4, "1\u4e2d\u7684\u6848\u4f8b\u4e0d\u540c": 4, "\u9700\u8981if\u51fd\u6570\u4e0e\u903b\u8f91\u51fd\u6570\u8fdb\u884c\u914d\u5408": 4, "and\u51fd\u6570": 4, "AND": 4, "\u6761\u4ef61": 4, "\u6761\u4ef62": 4, "or\u51fd\u6570": 4, "OR": 4, "\u6761\u4ef6": 4, "\u9700\u8981\u6240\u6709\u6761\u4ef6\u5168\u90e8\u6ee1\u8db3": 4, "\u624d\u8fd4\u8fd8true": 4, "\u6240\u6709\u6761\u4ef6\u4e2d\u53ea\u8981\u67091\u4e2a\u6761\u4ef6\u6ee1\u8db3": 4, "\u5c31\u8fd4\u8fd8true": 4, "\u90a3\u4e48\u5728d2\u5355\u5143\u683c\u4e2d\u8f93\u5165": [4, 5], "400": 4, "\u9ad8\u6d88\u8d39\u5ba2\u6237": 4, "\u8fd9\u91cc": [4, 8], "\u4ee3\u8868\u8fd4\u56de\u7a7a\u503c": 4, "\u968f\u540e\u5bf9\u6574\u5217\u7684\u51fd\u6570\u8fdb\u884c\u586b\u5145": 4, "\u5177\u4f53\u586b\u5145\u65b9\u6cd5\u89c15": 4, "1\u4e2d\u8be6\u89e3": 4, "\u6709\u5458\u5de5\u7684\u76f8\u5173\u8003\u6838\u5206": 4, "\u8003\u6838\u5f97\u5206\u57284": 4, "8\u5206\u4ee5\u4e0a": 4, "\u4f18\u79c0": 4, "\u8003\u6838\u5f97\u5206\u57283": 4, "7\u5206": 4, "\u826f\u597d": 4, "\u8003\u6838\u5f97\u5206\u57280": 4, "4\u5206": 4, "\u4e00\u822c": 4, "\u8fd9\u91cc\u53ef\u4ee5\u4f7f\u7528ifs\u51fd\u6570": 4, "\u5177\u4f53\u7528\u6cd5\u4e3a": 4, "IFS": 4, "\u5224\u65ad\u6761\u4ef61": 4, "\u5982\u679c\u6ee1\u8db3\u6761\u4ef61\u5219": 4, "\u5224\u65ad\u6761\u4ef62": 4, "\u5982\u679c\u6ee1\u8db3\u6761\u4ef62\u5219": 4, "\u5219\u53ef\u4ee5\u5728c2\u5355\u5143\u683c\u8f93\u5165": 4, "b3": 4, "\u5bf9\u6574\u5217\u6570\u636e\u8fdb\u884c\u51fd\u6570\u586b\u5145": 4, "\u5728excel\u6570\u636e\u4efb\u52a1\u5904\u7406\u4e2d": 4, "\u4f1a\u9047\u5230\u5927\u91cf\u7684\u6c42\u548c\u7684\u4efb\u52a1": 4, "sumif\u51fd\u6570\u5728\u6c42\u548c\u4efb\u52a1\u4e2d\u5177\u6709\u5929\u7136\u4f18\u52bf": 4, "\u56e0\u6b64\u5728\u672c\u8282\u4e2d\u5c06\u8be6\u7ec6\u7684\u8bb2\u89e3sumif\u51fd\u6570\u7684\u76f8\u5173\u7528\u6cd5": 4, "\u6761\u4ef6\u533a\u57df": 4, "\u6c42\u548c\u6761\u4ef6": 4, "\u5b9e\u9645\u6c42\u548c\u533a\u57df": 4, "\u5b9e\u9645\u6c42\u548c\u533a\u57df\u4f4d\u9009\u62e9\u6761\u4ef6": 4, "2xlsx": [4, 7, 8, 15], "\u4e2d\u7684": [4, 6, 7, 8, 15], "\u73b0\u5728\u6709\u51e0\u540d\u540c\u5b66\u7684\u8003\u8bd5\u6210\u7ee9": 4, "\u73b0\u5728\u60f3\u7edf\u8ba1\u6570\u5b66\u6210\u7ee9\u572890\u5206\u4ee5\u4e0a\u7684\u6210\u7ee9\u4e4b\u548c": 4, "\u90a3\u4e48\u53ef\u4ee5\u8f93\u5165\u5982\u4e0b\u7684\u51fd\u6570\u516c\u5f0f": 4, "90": 4, "\u7b2c\u4e00\u4e2a\u53c2\u6570\u4e3a\u6761\u4ef6\u533a\u57df": 4, "\u56e0\u4e3a\u8981\u5224\u65ad\u6570\u5b66\u6210\u7ee9": 4, "\u6240\u4ee5\u8fd9\u91cc\u9009\u62e9b\u5217": 4, "\u5f53\u7136\u8fd9\u91cc\u4e5f\u53ef\u4ee5\u4fee\u6539\u4e3a\u5b9e\u9645\u7684\u533a\u57dfb2": 4, "b12": 4, "\u7b2c\u4e8c\u4e2a\u53c2\u6570\u4e3a\u5224\u5b9a\u6761\u4ef6": 4, "\u5224\u5b9a\u6761\u4ef6\u4e3a\u5927\u4e8e\u7b49\u4e8e90": 4, "\u7b2c\u4e09\u4e2a\u53c2\u6570\u4e3a\u5b9e\u9645\u6c42\u548c\u533a": 4, "\u8fd9\u662f\u9009\u586b\u53c2\u6570": 4, "\u73b0\u5728\u60f3\u7edf\u8ba1\u5c0f\u7c73\u7cfb\u5217\u7684\u4ea7\u54c1\u9500\u552e\u989d": 4, "sumif\u51fd\u6570\u652f\u6301\u6a21\u7cca\u5339\u914d": 4, "\u56e0\u6b64\u6211\u4eec\u8f93\u5165\u5982\u4e0b\u516c\u5f0f": 4, "\u5c0f\u7c73": 4, "\u4f7f\u7528\u5c0f\u7c73": 4, "\u5339\u914d\u6240\u6709\u7684\u5c0f\u7c73\u7cfb\u4ea7\u54c1": 4, "\u73b0\u5728\u60f3\u7edf\u8ba11\u6708": 4, "3\u6708\u7684\u9884\u8ba1\u9500\u552e\u989d\u9884\u8ba1\u9500\u552e\u548c\u5b9e\u9645\u9500\u552e\u989d": 4, "\u56e0\u6b64\u53ef\u4ee5\u5de7\u7528sumif\u51fd\u6570": 4, "\u5c06\u6761\u4ef6\u533a\u57df\u8fdb\u884c\u6a2a\u5411\u9009\u62e9": 4, "\u6761\u4ef6\u9009\u62e9\u81ea\u5df1\u9700\u8981\u7684\u5b57\u6bb5": 4, "\u56e0\u6b64\u8f93\u5165\u5982\u4e0b\u4e24\u4e2a\u51fd\u6570\u516c\u5f0f": 4, "\u5e76\u5411\u4e0b\u62d6\u62fd\u586b\u5145\u5176\u4ed6\u4f4d\u7f6e": 4, "h": 4, "\u5728excel\u4e2d\u662f\u7edd\u5bf9\u5f15\u7528": 4, "\u516c\u5f0f\u4e2d\u5f15\u7528\u7684\u5355\u5143\u683c\u5982\u679c\u4f7f\u7528\u7edd\u5bf9\u5f15\u7528": 4, "\u90a3\u4e48\u5411\u4e0b\u62d6\u62fd\u7684\u8fc7\u7a0b\u4e2d": 4, "\u8fd9\u4e2a\u5355\u5143\u683c\u4e0d\u4f1a\u589e\u52a0": 4, "\u5728j3\u5355\u5143\u683c\u4e2d\u8f93\u5165": 4, "\u5728k3\u5355\u5143\u683c\u4e2d\u8f93\u5165": 4, "\u5e76\u5411\u4e0b\u62d6\u62fd\u8fdb\u884c\u516c\u5f0f\u586b\u5145": 4, "\u89c2\u5bdf\u533a\u522b": 4, "\u53d1\u73b0": 4, "\u5982\u679c\u4f7f\u7528\u7edd\u5bf9\u5f15\u7528": 4, "\u5f15\u7528\u683c\u5f0f\u503c\u5e76\u4e0d\u4f1a\u968f\u7740\u516c\u5f0f\u7684\u62d6\u62fd\u800c\u6539\u53d8": 4, "\u8fd9\u5c31\u662f\u7edd\u5bf9\u5f15\u7528\u4e0e\u975e\u7edd\u5bf9\u5f15\u7528\u7684\u533a\u522b": 4, "\u73b0\u5728\u9700\u8981\u7edf\u8ba1\u8bed\u6587\u6210\u7ee9\u572880\u5206\u4ee5\u4e0a": 4, "90\u5206\u4ee5\u4e0b\u540c\u5b66\u7684\u6570\u5b66\u6210\u7ee9\u4e4b\u548c": 4, "\u90a3\u4e48\u9047\u5230\u8fd9\u79cd\u60c5\u51b5\u5e94\u8be5\u600e\u4e48\u5904\u7406\u5462": 4, "\u76f8\u6bd4\u4e8e\u524d\u9762\u7684\u6848\u4f8b": 4, "\u8fd9\u91cc\u67092\u4e2a\u7b5b\u9009\u6761\u4ef6": 4, "\u800csumif\u51fd\u6570\u65e0\u6cd5\u6ee1\u8db3\u9700\u6c42": 4, "\u8fd9\u91cc\u53ef\u4ee5\u4f7f\u7528sumifs\u51fd\u6570": 4, "sumifs\u51fd\u6570": 4, "\u6761\u4ef6\u533a\u57df1": 4, "\u6761\u4ef6\u533a\u57df2": 4, "\u56e0\u6b64\u5199\u5982\u4e0b\u51fd\u6570\u516c\u5f0f": 4, "c13": 4, "80": 4, "\u56e0\u4e3a\u8981\u6c42\u6570\u5b66\u6210\u7ee9": 4, "\u6240\u4ee5\u7b2c\u4e00\u4e2a\u53c2\u6570\u4e3ac2": 4, "\u800c\u7b5b\u9009\u6761\u4ef6\u4e3a\u8bed\u6587": 4, "\u56e0\u6b64\u6761\u4ef6\u533a\u57df\u4e3ab2": 4, "\u6848\u4f8b5": 4, "\u73b0\u5728\u9700\u8981\u7edf\u8ba1\u8bed\u6587\u6210\u7ee9\u8d85\u8fc760": 4, "\u6570\u5b66\u6210\u7ee9\u8d85\u8fc765": 4, "\u82f1\u8bed\u6210\u7ee9\u8d85\u8fc770\u7684\u540c\u5b66\u4e2a\u6570": 4, "\u5176\u5b9ecountifs\u51fd\u6570\u4e0esumifs\u51fd\u6570\u7528\u6cd5\u975e\u5e38\u63a5\u8fd1": 4, "\u6c42\u6ee1\u8db3\u6240\u6709\u6761\u4ef6\u7684\u4e2a\u6570": 4, "60": 4, "65": 4, "d2": [4, 6, 7], "d13": 4, "70": 4, "\u5c06\u5ba2\u6237\u539f\u59cb\u5f97\u5206\u4e3a1\u4ee5\u4e0b\u7684\u6821\u6b63\u4e3a0": [4, 15], "\u5ba2\u62371\u67082\u6708\u4e2d\u53ea\u8981\u67091\u4e2a\u6708\u6d88\u8d39\u8d85\u8fc7400": [4, 15], "\u5373\u4e3a": [4, 15], "\u80fd\u5426\u4e0d\u4f7f\u7528ifs\u51fd\u6570": [4, 15], "\u4f7f\u7528if\u51fd\u6570\u901a\u8fc7\u5d4c\u5957\u5b8c\u6210\u76f8\u5e94\u7684\u52a1": [4, 15], "\u8bed\u6587\u6210\u7ee9\u572880\u5206\u4ee5\u4e0a\u7684\u540c\u5b66\u6210\u7ee9\u4e4b\u548c": [4, 15], "\u7edf\u8ba1\u6240\u6709\u82f9\u679c\u7cfb\u5217\u4ea7\u54c1\u7684\u9500\u552e\u989d": [4, 15], "\u6848\u4f8b6": [4, 15], "\u5b8c\u6210\u6240\u6709\u624b\u673a\u7684\u9500\u552e\u989d\u6c42\u548c": [4, 15], "text\u51fd\u6570\u53ef\u4ee5\u5c06\u6570\u503c\u8f6c\u6362\u4e3a\u6307\u5b9a\u683c\u5f0f\u7684\u6587\u672c": 5, "\u5176\u8bed\u6cd5\u683c\u5f0f\u4e3atext": 5, "format_text": 5, "\u503c": 5, "\u81ea\u5b9a\u4e49\u6570\u5b57\u683c\u5f0f\u4ee3\u7801": 5, "chap5": [5, 15], "\u5c06\u5ba2\u6237\u7684\u6d88\u8d39\u65e5\u671f\u548c\u6d88\u8d39\u91d1\u989d\u8f6c\u6210\u5927\u5199": 5, "dbnum2": 5, "\u5728e2\u5355\u5143\u683c\u4e2d\u8f93\u5165": 5, "a2": [5, 6, 7], "dbnum1": 5, "yyyy\u5e74m\u6708d\u65e5": 5, "dbnum1\u548cdbnum2\u4e3a2\u79cd\u5e38\u89c1\u7684\u4e2d\u6587\u683c\u5f0f": 5, "\u4e00\u822c\u91d1\u989d\u7528dbnum2": 5, "\u65e5\u671f\u7528dbnum1": 5, "\u5c06\u5ba2\u6237\u7684\u6d88\u8d39\u65e5\u671f\u8f6c\u6362\u4e3a\u5468\u6b21": 5, "\u5373\u661f\u671f\u51e0": 5, "\u53d6\u5ba2\u6237\u6d88\u8d39\u7684\u5e74": 5, "yyyi": 5, "\u6216\u8005": 5, "m": [5, 8], "mm": 5, "\u8fd92\u79cd\u683c\u5f0f\u662f\u6709\u533a\u522b\u7684": 5, "\u5728f2\u5355\u5143\u683c\u4e2d\u8f93\u5165": 5, "d": 5, "dd": 5, "\u63d0\u53d6\u8eab\u4efd\u8bc1\u4e2d\u7684\u751f\u65e5": 5, "\u5e76\u8f6c\u6362\u62102022\u5e7412\u67084\u65e5\u8fd9\u79cd\u683c\u5f0f": 5, "\u9762\u5bf9\u8fd9\u4e2a\u95ee\u9898": 5, "\u53ef\u4ee5\u4f7f\u7528mid\u51fd\u6570\u63d0\u53d6\u751f\u65e5": 5, "mid": 5, "start": 5, "num": 5, "char": 5, "test": 5, "\u4e3a\u8981\u63d0\u53d6\u7684\u6587\u672c\u5b57\u7b26\u4e32": 5, "start_num": 5, "\u4e3a\u6587\u672c\u4e2d\u8981\u63d0\u53d6\u7684\u7b2c\u4e00\u4e2a\u5b57\u7b26\u4e32\u7684\u4f4d\u7f6e": 5, "num_chars\u4e3a\u63d0\u53d6\u5b57\u7b26\u4e32\u7684\u957f\u5ea6": 5, "\u56e0\u6b64\u53ef\u4ee5\u5728b2\u4e2d\u8f93\u5165": 5, "\u56e0\u4e3a\u751f\u65e5\u662f8\u4f4d\u6570\u5b57": 5, "\u6240\u4ee5\u6700\u540e\u4e00\u4e2a\u53c2\u6570\u586b8": 5, "\u5728c2\u4e2d\u8f93\u5165\u683c\u5f0f\u5316\u7684\u751f\u65e5": 5, "0000\u5e7400\u670800\u65e5": 5, "\u95ee\u9898": 5, "\u8fd9\u91cctext\u51fd\u6570\u683c\u5f0f\u4e3a\u4ec0\u4e48\u6ca1\u6709\u4f7f\u7528yyyy\u5e74mm\u6708dd\u65e5": 5, "\u8fd9\u79cd\u683c\u5f0f": 5, "\u56e0\u4e3amid": 5, "\u63d0\u53d6\u51fa\u6765\u7684\u662f\u6587\u672c": 5, "\u4e0d\u662f\u65e5\u671f": 5, "\u56e0\u6b64excel\u65e0\u6cd5\u8bc6\u522b\u65e5\u671f\u7684\u5e74\u6708": 5, "\u6240\u4ee5\u7528\u6570\u5b57\u683c\u5f0f\u8fdb\u884c\u4ee3\u66ff": 5, "\u6587\u672c\u63d0\u53d6\u4e2d\u76f8\u4f3c\u7684\u51fd\u6570\u6709left": 5, "right": 5, "left\u51fd\u6570": 5, "\u4ee5\u5b57\u7b26\u4e32\u5de6\u4fa7\u4e3a\u8d77\u59cb\u4f4d\u7f6e": 5, "\u8fd4\u56de\u6307\u5b9a\u6570\u91cf\u7684\u5b57\u7b26": 5, "num_char": 5, "\u8981\u63d0\u53d6\u7684\u5b57\u7b26\u4e32\u6216\u5355\u5143\u683c\u5f15\u7528": 5, "\u8981\u63d0\u53d6\u7684\u5b57\u7b26\u6570\u91cf": 5, "right\u51fd\u6570": 5, "\u4ece\u5b57\u7b26\u4e32\u53f3\u4fa7\u9996\u5b57\u7b26\u5f00\u59cb": 5, "\u4ece\u53f3\u5411\u5de6\u63d0\u53d6\u6307\u5b9a\u7684\u5b57\u7b26": 5, "\u5176\u529f\u80fd\u548cleft\u51fd\u6570\u5b8c\u5168\u4e00\u6837": 5, "\u53ea\u662f\u65b9\u5411\u4e0d\u540c": 5, "\u73b0\u5728\u9700\u8981\u5c06excel\u8868\u683c\u6253\u5370": 5, "\u4e3a\u4e86\u4e0d\u6cc4\u9732\u5ba2\u6237\u7535\u8bdd\u53f7\u7801": 5, "\u9700\u8981\u5c06\u7535\u8bdd\u540e5\u4f4d\u8fdb\u884c\u5c4f\u853d": 5, "replacei\u51fd\u6570\u4f5c\u7528": 5, "\u628a\u4e00\u4e2a\u6587\u672c\u5b57\u7b26\u4e32": 5, "\u4eba\u4e3a\u6307\u5b9a\u4e00\u4e2a\u4f4d\u7f6e": 5, "\u7528\u5b9a\u4e2a\u6570\u65b0\u5b57\u7b26\u8fdb\u884c\u66ff\u6362": 5, "replacei\u51fd\u6570": 5, "replacei": 5, "old": 5, "new": 5, "old_text": 5, "\u9700\u8981\u66ff\u6362\u7684\u6587\u672c": 5, "\u9700\u8981\u66ff\u6362\u6587\u672c\u7684\u5f00\u59cb\u4f4d\u7f6e": 5, "\u66ff\u6362\u6587\u672c\u7684\u957f\u5ea6": 5, "new_text": 5, "\u66ff\u6362\u5185\u5bb9": 5, "\u56e0\u6b64\u53ef\u4ee5\u5728b2\u5355\u5143\u683c\u4e2d\u8f93\u5165": 5, "replac": 5, "\u4e2d\u8eab\u4efd\u8bc1\u540e6\u4f4d\u52a0\u5bc6": [5, 15], "vlookup\u662f\u7ecf\u5178\u7684\u67e5\u627e\u4e0e\u5f15\u7528\u51fd\u6570": 6, "\u5728excel\u6570\u636e\u67e5\u8be2\u4efb\u52a1\u4e2d\u6709\u591a\u79cd\u7528\u9014": 6, "xlookup\u4f5c\u4e3aexcel\u5f00\u53d1\u7684\u6700\u65b0\u67e5\u627e\u51fd\u6570": 6, "\u5728\u4f7f\u7528\u4fbf\u5229\u6027\u4e0a\u8fdc\u8d85vlookup\u51fd\u6570": 6, "\u56e0\u6b64\u5982\u679c\u662f\u80fd\u652f\u6301xlookup\u51fd\u6570": 6, "\u975e\u5e38\u63a8\u8350\u5927\u5bb6\u4f7f\u7528xlookup\u51fd\u6570": 6, "\u5982\u679c\u81ea\u5df1\u7684\u7535\u8111excel\u4e0d\u662f\u6700\u65b0\u7248\u4e0d\u652f\u6301xlookup\u51fd\u6570": 6, "\u4e5f\u53ef\u4ee5\u6765\u5b66\u4e60vlookup\u51fd\u6570": 6, "\u5728\u672c\u8282\u6559\u7a0b\u4e2d\u4f1a\u91cd\u70b9\u4ecb\u7ecdxlookup\u51fd\u6570\u7684\u76f8\u5173\u7528\u6cd5": 6, "\u5bf9\u4e8evlookup\u4e0d\u597d\u89e3\u51b3": 6, "xlookup\u80fd\u89e3\u51b3\u7684\u95ee\u9898\u653e\u5728\u4e86": 6, "chap6": [6, 15], "1xlsx": [6, 7, 8, 15], "\u6839\u636e\u5c97\u4f4d\u7f16\u53f7": 6, "\u5f97\u5230\u8be5\u5458\u5de5\u7684\u5e94\u53d1\u5de5\u8d44": 6, "\u9488\u5bf9\u8fd9\u4e2a\u95ee\u9898": 6, "\u53ef\u4ee5\u4f7f\u7528vlookup\u51fd\u6570": 6, "vlookup\u51fd\u6570": 6, "\u8981\u67e5\u627e\u7684\u503c": 6, "\u67e5\u627e\u533a\u57df": 6, "\u8981\u8fd4\u56de\u7684\u7ed3\u679c\u5728\u67e5\u627e\u533a\u57df\u7684\u7b2c\u51e0\u5217": 6, "\u7cbe\u786e\u5339\u914d\u6216\u8fd1\u4f3c\u5339\u914d": 6, "\u5728l3\u5355\u5143\u683c\u4e2d\u8f93\u5165\u5982\u4e0b\u516c\u5f0f": 6, "k2": 6, "h50": 6, "fals": 6, "\u56e0\u4e3a\u5e94\u53d1\u5de5\u8d44\u5728\u6574\u4e2a\u5355\u5143\u683c\u4e2d\u7684\u7b2c8\u5217": 6, "\u6240\u4ee5\u7b2c3\u4e2a\u53c2\u6570\u4e3a8": 6, "\u7b2c4\u4e2a\u53c2\u6570\u9009\u62e9true\u6216\u8005fals": 6, "true\u4e3a\u6a21\u7cca\u5339\u914d": 6, "false\u4e3a\u7cbe\u786e\u5339\u914d": 6, "\u56e0\u6b64\u7b2c4\u4e2a\u53c2\u6570\u9009\u62e9\u4e3afals": 6, "\u6709\u7684excel\u7248\u672c\u7b2c4\u4e2a\u53c2\u6570\u662f0\u662f\u7cbe\u786e\u67e5\u627e": 6, "1\u662f\u7cbe\u786e\u5339\u914d": 6, "\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8f93\u5165\u5373\u53ef": 6, "\u5728\u6848\u4f8b2\u7684\u4efb\u52a1\u4e2d\u6211\u4eec\u53d1\u73b0": 6, "\u8fd9\u91cc\u7684\u5458\u5de5\u7684\u7f16\u53f7\u4f4d\u4e8e\u6700\u540e\u4e00\u5217": 6, "\u90a3\u4e48\u5e94\u8be5\u5982\u4f55\u5904\u7406\u5462": 6, "\u5982\u679c\u6309\u7167\u6b63\u5e38\u7684vlookup\u7684\u51fd\u6570\u7528\u6cd5\u5728l2\u5355\u5143\u683c\u8f93\u5165": 6, "h19": 6, "\u8f93\u5165\u540e\u4f1a\u53d1\u73b0\u5e76\u6ca1\u6709\u5b89\u88c5\u9884\u671f\u5f97\u5230\u5e94\u53d1\u5de5\u8d44": 6, "\u8fd9\u662f\u56e0\u4e3avlookup\u51fd\u6570\u7684\u9650\u5236": 6, "\u5fc5\u987b\u67e5\u627e\u7684\u533a\u57df\u5728\u88ab\u67e5\u627e\u503c\u7684\u5de6\u4fa7": 6, "\u5f53\u7136\u8fd9\u91cc\u6709\u5176\u4ed6\u7684\u529e\u6cd5\u89e3\u51b3": 6, "\u8fd9\u91cc\u7528\u5230\u4e86\u6362\u5217\u7684\u5c0f\u6280\u5de7": 6, "\u5982\u679c\u611f\u5174\u8da3\u53ef\u4ee5\u770b\u76f8\u5173\u6587\u7ae0": 6, "excel\u6280\u5de7": 6, "\u4e00\u6587\u641e\u61c2": 6, "\u7684\u7528\u6cd5": 6, "\u90a3\u4e48\u5728l2\u4e2d\u8f93\u5165\u5982\u4e0b\u51fd\u6570": 6, "h2": 6, "g2": 6, "g19": 6, "\u8fd9\u4e2a\u51fd\u6570\u4e2d": 6, "\u5c06g2": 6, "g17\u5217\u4e0eh2": 6, "h19\u5217\u505a\u6210\u4e86\u4e00\u4e2a\u4e34\u65f6\u6570\u636e\u7ec4": 6, "\u5e76\u8ba9\u8fd92\u5217\u4ea4\u6362\u4f4d\u7f6e": 6, "\u8fd9\u6837g2": 6, "g19\u5217\u5c31\u5728\u4e34\u65f6\u6570\u7ec4\u4e2d\u7684\u7b2c2\u5217": 6, "\u56e0\u6b64vlookup\u4e2d\u7b2c3\u4e2a\u53c2\u6570\u4e3a2": 6, "\u6839\u636e\u6027\u522b\u4e0e\u90e8\u95e8\u4fe1\u606f": 6, "\u83b7\u5f97\u5458\u5de5\u7f16\u53f7": 6, "\u6848\u4f8b3\u7684\u4efb\u52a1\u4e0e\u524d\u9762\u4e0d\u540c\u7684\u662f": 6, "\u65e0\u6cd5\u53ea\u901a\u8fc71\u4e2a\u4fe1\u606f\u5b8c\u5168\u5b9a\u4f4d\u5230\u5458\u5de5\u7f16\u53f7": 6, "\u56e0\u6b64\u8fd9\u91cc\u4f7f\u7528\u4e86\u4e00\u4e2a\u6280\u5de7": 6, "\u5728l3\u5355\u5143\u683c\u4e2d\u8f93\u5165": 6, "j2": 6, "c20": 6, "d20": 6, "a20": 6, "\u7ec6\u5fc3\u7684\u540c\u5b66\u53ef\u80fd\u53d1\u73b0\u4e86\u5176\u4e2d\u7684\u6280\u5de7": 6, "\u5c31\u662f\u5c06\u591a\u4e2a\u6761\u4ef6\u901a\u8fc7": 6, "\u8fde\u63a5\u6210\u4e00\u4e2a\u5b57\u7b26\u4e32": 6, "\u540c\u65f6\u5c06\u5f85\u67e5\u627e\u7684\u6570\u636e\u4e5f\u8fde\u63a5\u8d77\u6765": 6, "\u4ece\u800c\u901a\u8fc7\u8fd9\u4e2a\u8fde\u63a5\u7684\u7279\u6b8a\u5b57\u7b26\u6765\u67e5\u627e\u6570\u636e": 6, "\u5f53\u4e0d\u77e5\u9053\u5177\u4f53\u7684\u4fe1\u606f": 6, "\u9700\u8981\u8fdb\u884c\u6a21\u7cca\u67e5\u8be2": 6, "\u90a3\u4e48\u5982\u4f55\u4f7f\u7528vlookup\u8fdb\u884c\u6a21\u7cca\u67e5\u8be2\u5462": 6, "f20": 6, "excel\u4e2d\u7684\u901a\u914d\u7b26\u5339\u914d\u89c4\u5219\u89c1\u5982\u4e0b": 6, "\u56e0\u4e3adw\u4e3a2\u4e2a\u5b57\u7b26": 6, "\u6211\u4eec\u9009\u62e9": 6, "\u8fd8\u8bb0\u5f97\u7b2c\u56db\u7ae0\u4e2d\u7684sumifs\u51fd\u6570\u4e2d\u7684\u6848\u4f8b": 6, "\u8ba1\u7b97\u5c0f\u7c73\u7cfb\u5217\u7684\u9500\u91cf\u4e2d": 6, "\u6211\u4eec\u5c31\u4f7f\u7528\u4e86\u901a\u914d\u7b26": 6, "\u5982\u679c\u4e0d\u80fd\u652f\u6301\u8fd9\u4e2a\u51fd\u6570\u4e5f\u4e0d\u7528\u7070\u5fc3": 6, "\u4f7f\u7528vlookup\u51fd\u6570\u4e5f\u80fd\u5b8c\u6210\u7edd\u5927\u591a\u6570\u67e5\u8be2\u95ee\u9898": 6, "\u56e0\u4e3axlookup\u51fd\u6570\u529f\u80fd\u975e\u5e38\u5f3a\u5927": 6, "\u56e0\u6b64\u5728\u672c\u8282\u4e2d\u5bf9\u51fd\u6570\u8fdb\u884c\u8bb2\u89e3": 6, "xlookup\u51fd\u6570": 6, "\u60f3\u8981\u67e5\u627e\u503c": 6, "\u60f3\u8981\u5728\u54ea\u4e2a\u6570\u636e\u533a\u57df\u4e2d\u67e5\u627e": 6, "\u8981\u8fd4\u56de\u7684\u6570\u636e\u533a\u57df": 6, "ifnotfound": 6, "matchmod": 6, "searchmod": 6, "\u7b2c\u56db\u53c2\u6570": 6, "\u53ef\u9009\u53c2\u6570": 6, "found": 6, "\u627e\u4e0d\u5230\u7ed3\u679c": 6, "\u5c31\u8fd4\u56de\u7b2c\u56db\u53c2\u6570": 6, "\u5982\u679c\u7701\u7565\u7b2c\u56db\u53c2\u6570\u51fd\u6570\u9ed8\u8ba4\u8fd4\u56de": 6, "a\u8fd9\u4e2a\u9519\u8bef\u503c": 6, "\u7b2c\u4e94\u53c2\u6570": 6, "match_mod": 6, "\u6307\u5b9a\u5339\u914d\u7c7b\u578b": 6, "\u53c2\u6570\u4e3a": 6, "\u7cbe\u786e\u5339\u914d": 6, "\u672a\u627e\u5230\u7ed3\u679c": 6, "\u8fd4\u56de": 6, "\u8fd9\u662f\u9ed8\u8ba4\u9009\u9879": 6, "\u8fd1\u4f3c\u5339\u914d": 6, "\u8fd4\u56de\u4e0b\u4e00\u4e2a\u8f83\u5c0f\u7684\u9879": 6, "\u8fd4\u56de\u4e0b\u4e00\u4e2a\u8f83\u5927\u7684\u9879": 6, "\u901a\u914d\u7b26\u5339\u914d": 6, "\u7b2c\u516d\u53c2\u6570": 6, "search_mod": 6, "\u6307\u5b9a\u8981\u4f7f\u7528\u7684\u641c\u7d22\u6a21\u5f0f": 6, "\u4ece\u7b2c\u4e00\u9879\u5f00\u59cb\u6267\u884c\u641c\u7d22": 6, "\u4ece\u6700\u540e\u4e00\u9879\u5f00\u59cb\u6267\u884c\u53cd\u5411\u641c\u7d22": 6, "\u6839\u636e": 6, "lookup_arrai": 6, "\u6309\u5347\u5e8f\u6392\u5e8f\u7684\u4e8c\u8fdb\u5236\u641c\u7d22": 6, "\u5982\u679c\u672a\u6392\u5e8f": 6, "\u5c06\u8fd4\u56de\u65e0\u6548\u7ed3\u679c": 6, "\u6839\u636elookup_arrai": 6, "\u6309\u964d\u5e8f\u6392\u5e8f\u7684\u4e8c\u8fdb\u5236\u641c\u7d22": 6, "\u4e00\u8d77\u6765\u5b9e\u73b0": 6, "\u6211\u4eec\u5728m2\u5355\u5143\u683c\u4e2d\u8f93\u5165\u5982\u4e0b\u516c\u5f0f": 6, "a1": 6, "a50": 6, "\u7b2c1\u4e2ak2": 6, "\u5c31\u662f\u9700\u8981\u67e5\u8be2\u7684\u5c97\u4f4d\u7f16\u53f7dw0005": 6, "\u7b2c2\u4e2a\u53c2\u6570\u4e3aa1": 6, "\u4e5f\u5c31\u662f\u8981\u67e5\u54ea\u4e00\u5217": 6, "\u7ec6\u5fc3\u7684\u540c\u5b66\u5df2\u7ecf\u6ce8\u610f\u5230\u8fd9\u91cc\u4e0evlookup\u7684\u4e0d\u540c": 6, "\u7b2c3\u4e2a\u53c2\u6570\u5c31\u662f\u9700\u8981\u8fd4\u56de\u7684\u54ea\u4e00\u5217": 6, "\u4e5f\u5c31\u662f\u8fd4\u56deh\u5217": 6, "\u6211\u4eec\u5728l2\u5355\u5143\u683c\u4e2d\u8f93\u5165\u5982\u4e0b\u516c\u5f0f": 6, "g1": 6, "\u7ec6\u5fc3\u7684\u540c\u5b66\u5c31\u53d1\u73b0\u4e0a\u9762\u7684\u516c\u5f0f\u4e2d\u6ca1\u6709\u7528\u5230\u5217\u7684\u8f6c\u6362": 6, "\u8fd9\u4e2a\u516c\u5f0f\u7684\u53ef\u8bfb\u6027\u975e\u5e38\u5f3a": 6, "\u8fd9\u662f\u5c31\u662fxlookup\u6bd4vlookup\u66f4\u52a0\u5f3a\u5927\u7684\u5730\u65b9": 6, "c1": 6, "d1": 6, "\u5728xlookup\u4e2d\u7684\u591a\u6761\u4ef6\u67e5\u627e": 6, "\u53ea\u9700\u8981\u4f7f\u7528": 6, "\u5c06\u591a\u4e2a\u6761\u4ef6\u7684\u4fe1\u606f\u8fde\u63a5\u8d77\u6765\u5373\u53ef": 6, "\u975e\u5e38\u7684\u65b9\u4fbf": 6, "b20": 6, "\u5728\u4f7f\u7528xlookup\u8fdb\u884c\u901a\u914d\u7b26\u67e5\u627e\u4e8b": 6, "\u9700\u8981\u6307\u5b9a\u7b2c5\u4e2a\u53c2\u6570\u4e3a2": 6, "\u5373\u544a\u8bc9xlookup\u9700\u8981\u7528\u901a\u914d\u7b26\u8fdb\u884c\u67e5\u627e": 6, "\u8fd9\u91cc\u662f\u597dvlookup\u4e0d\u540c\u7684\u5730\u65b9": 6, "\u5177\u4f53\u901a\u914d\u7b26\u7528\u6cd5": 6, "\u53ef\u89c11": 6, "4\u7684\u8bb2\u89e3": 6, "\u59d3\u540d6\u5728\u6570\u636e\u8868\u4e2d\u51fa\u73b0\u4e862\u6b21": 6, "\u60f3\u77e5\u9053\u4ed6\u7684\u6700\u540e\u9500\u552e\u989d\u5e94\u8be5\u600e\u4e48\u64cd\u4f5c": 6, "\u6211\u4eec\u5728i2\u5355\u5143\u683c\u4e2d\u8f93\u5165\u5982\u4e0b\u516c\u5f0f": 6, "f1": 6, "\u524d3\u4e2a\u53c2\u6570\u60f3\u5fc5\u5927\u5bb6\u5df2\u7ecf\u5f88\u719f\u6089\u4e86": 6, "\u7b2c4\u4e2a\u53c2\u6570\u662f0": 6, "\u5c31\u662f\u5f53xlookup\u67e5\u627e\u4e0d\u5230\u65f6": 6, "\u5c31\u8fd4\u56de0": 6, "\u7b2c5\u4e2a\u53c2\u6570\u662f0": 6, "\u5c31\u662f\u9009\u62e9\u7cbe\u786e\u5339\u914d": 6, "\u7b2c6\u4e2a\u53c2\u6570\u9009\u62e9\u641c\u7d22\u53c2\u6570": 6, "\u8fd9\u91cc\u9009\u62e9": 6, "\u4ece\u540e\u5f00\u59cb\u5f80\u524d\u641c\u7d22": 6, "\u56e0\u6b64\u8fd9\u6837\u8bbe\u7f6e\u5c31\u80fd\u83b7\u5f97\u6b63\u786e\u7ed3\u679c": 6, "\u8fd9\u91cc\u67094\u4e2a\u4eba": 6, "\u73b0\u5728\u60f3\u77e5\u9053\u8fd94\u4e2a\u4eba\u7684\u6700\u5927\u9500\u552e\u989d": 6, "max": [6, 7], "h5": 6, "\u5148\u901a\u8fc7xlookup\u6279\u91cf\u67e5\u627e\u8fd94\u4e2a\u4eba\u9500\u552e\u989d": 6, "\u518d\u901a\u8fc7max\u51fd\u6570": 6, "\u6c42\u8fd94\u4e2a\u4eba\u4e2d\u7684\u6700\u5927\u7684\u9500\u552e\u989d": 6, "\u5f53\u6570\u636e\u96c6\u4ee5\u6a2a\u5411\u5f62\u5f0f\u65f6": 6, "\u5982\u679c\u67e5\u8be2\u5230\u9700\u8981\u7684\u6570\u636e": 6, "\u5728c2\u5355\u5143\u683c\u4e2d\u8f93\u5165\u5982\u4e0b\u516c\u5f0f": 6, "b6": 6, "l2": 6, "l1": 6, "\u7ec6\u5fc3\u7684\u540c\u5b66\u53d1\u73b0": 6, "\u6a2a\u5411\u6570\u636e\u7684\u67e5\u8be2\u65b9\u6cd5\u4e0e\u7eb5\u5411\u6570\u636e\u5e76\u65e0\u592a\u5927\u533a\u522b": 6, "\u9009\u62e9vlookup\u548cxlookup\u8fd92\u79cd\u51fd\u6570\u4e2d\u7684\u4e00\u79cd": [6, 15], "\u5728\u672c\u8282\u4e2d\u4f1a\u8bb2\u89e3\u4e00\u4e9bexcel\u66f4\u65b0\u7684\u52a8\u6001\u51fd\u6570": 7, "\u4ece\u800c\u5e2e\u52a9\u5927\u5bb6\u66f4\u597d\u7684\u638c\u63e1excel\u7684\u6570\u636e\u5904\u7406\u4e0e\u5206\u6790": 7, "\u5728\u5de5\u4f5c\u4e2d": 7, "\u6211\u4eec\u9700\u8981\u6839\u636e\u6307\u5b9a\u7684\u6761\u4ef6": 7, "\u5c06\u7b26\u5408\u6761\u4ef6\u7684\u6240\u6709\u8bb0\u5f55\u4ece\u6570\u636e\u6e90\u8868\u683c\u5f0f\u67e5\u627e\u8fc7\u6765": 7, "\u4e00\u662f\u53ef\u4ee5\u7528\u9ad8\u7ea7\u7b5b\u9009": 7, "\u4f46\u9ad8\u7ea7\u7b5b\u9009\u5728\u67e5\u8be2\u4e0b\u4e00\u4e2a\u5355\u4f4d\u65f6": 7, "\u9700\u8981\u91cd\u65b0\u8bbe\u7f6e\u4e00\u6b21": 7, "\u5f88\u9ebb\u70e6": 7, "\u4e8c\u662f\u7528\u51fd\u6570\u516c\u5f0f\u67e5\u8be2": 7, "\u5178\u578b\u7684\u5957\u8def\u6709": 7, "index": 7, "small": 7, "row": 7, "\u6216\u8005lookup": 7, "offset": 7, "\u800c\u8fd9\u6837\u7684\u65b9\u6cd5\u5bf9\u521d\u5b66\u8005\u975e\u5e38\u4e0d\u53cb\u597d": 7, "\u800cexcel\u65b0\u66f4\u65b0\u7684\u611f\u53d7filter\u53ef\u4ee5\u5f88\u597d\u7684\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898": 7, "filter": 7, "\u51fd\u6570": 7, "\u6570\u636e\u533a\u57df": 7, "\u7b5b\u9009\u6761\u4ef6": 7, "\u65e0\u6ee1\u8db3\u6761\u4ef6\u7684\u8bb0\u5f55\u65f6\u8fd4\u56de\u7684\u503c": 7, "\u63a5\u4e0b\u6765\u5c31\u770b\u770bfilter\u7684\u5b9e\u9645\u5e94\u7528\u6848\u4f8b": 7, "chap7": [7, 15], "\u83b7\u5f97\u6e56\u5317\u533a\u7684\u76f8\u5173\u6570\u636e": 7, "\u5728j2\u5355\u5143\u683c\u4e2d\u8f93\u5165": 7, "g30": 7, "c30": 7, "\u6e56\u5317\u533a": 7, "\u6ce8\u610f\u6570\u636e\u533a\u57df\u4e0d\u5305\u542b\u6807\u9898": 7, "\u751f\u6210\u7684\u6570\u636e\u7684\u52a8\u6001\u6570\u7ec4": 7, "wps\u7531\u4e8e\u4e0d\u517c\u5bb9\u52a8\u6001\u6570\u7ec4": 7, "\u7a0d\u5fae\u548cexcel\u6709\u70b9\u533a\u522b": 7, "\u4f1a\u4ea7\u751f\u6570\u636e\u6ea2\u51fa\u7684\u60c5\u51b5": 7, "\u5982\u679c\u5728\u5b9e\u9645\u7684\u4efb\u52a1\u4e2d\u4e0d\u9700\u8981\u6240\u6709\u7684\u5217": 7, "\u53ea\u9700\u8981\u5176\u4e2d\u7684\u51e0\u884c": 7, "\u90a3\u4e48\u5e94\u8be5\u600e\u4e48\u64cd\u4f5c": 7, "\u53ef\u4ee5\u5728k2\u5355\u5143\u683c\u4e2d\u8f93\u5165": 7, "\u7ec6\u5fc3\u7684\u540c\u5b66\u5c31\u53d1\u73b0\u4e86\u8fd9\u91cc\u4e0e7": 7, "1\u4e2d\u7684\u4e0d\u540c": 7, "\u5982\u679c\u9700\u8981\u8fd4\u56de\u5176\u4e2d\u7684\u51e0\u884c": 7, "\u53ea\u9700\u8981\u5c06\u6570\u636e\u533a\u57df\u4fee\u6539\u4e3a\u81ea\u5df1\u9700\u8981\u7684\u533a\u57df\u5373\u53ef": 7, "\u73b0\u5728\u9700\u8981\u77e5\u9053\u6e56\u5317\u533a\u7684\u6700\u5927\u9500\u552e\u91d1\u989d\u662f\u591a\u5c11": 7, "f30": 7, "filter\u51fd\u6570\u4e2d\u7684\u591a\u6761\u4ef6\u7b5b\u9009": 7, "\u6765\u8868\u793a\u6216": 7, "\u8868\u793a\u4e14": 7, "\u9700\u8981\u8ba1\u7b97\u6e56\u5317\u533a": 7, "\u6e56\u5357\u533a\u5927\u6700\u5927\u9500\u552e\u91d1\u989d": 7, "\u90a3\u4e48\u51fd\u6570\u516c\u5f0f\u4e3a": 7, "\u6e56\u5357\u533a": 7, "\u9700\u8981\u8ba1\u7b97\u6e56\u5317\u533a\u5546\u54c12\u7684\u6700\u5927\u9500\u552e\u91d1\u989d": 7, "d30": 7, "\u5546\u54c12": 7, "excel\u4e2d\u6709\u6570\u636e\u7b5b\u9009\u975e\u5e38\u597d\u7528": 7, "\u90a3\u4e48": 7, "\u5982\u679c\u60f3\u7edf\u8ba1\u7b5b\u9009\u540e\u7684\u7ed3\u679c\u5e94\u8be5\u600e\u4e48\u5f04": 7, "\u4f8b\u5982\u60f3\u77e5\u9053\u7b5b\u9009\u540e\u7684\u9500\u552e\u603b\u989d": 7, "\u4e2d\u7684\u6848\u4f8b1": 7, "\u4f7f\u7528\u7b5b\u9009\u9009\u62e9\u4e0d\u540c\u7684\u533a": 7, "\u800csum\u6c42\u548c\u5e76\u6ca1\u6709\u53d8\u5316": 7, "\u5982\u679c\u60f3\u5b9e\u73b0\u4e0a\u8ff0\u9700\u6c42": 7, "\u53ef\u4ee5\u4f7f\u7528": 7, "subtot": 7, "\u529f\u80fd\u51fd\u6570": 7, "\u9009\u62e9\u533a\u57df": 7, "\u6570\u5b57": 7, "101": 7, "111": 7, "\u7528\u4e8e\u6307\u5b9a\u8981\u4e3a\u5206\u7c7b\u6c47\u603b\u4f7f\u7528\u7684\u51fd\u6570": 7, "\u5982\u679c\u4f7f\u7528": 7, "\u5c06\u5305\u62ec\u624b\u52a8\u9690\u85cf\u7684\u884c": 7, "\u5219\u6392\u9664\u624b\u52a8\u9690\u85cf\u7684\u884c": 7, "\u59cb\u7ec8\u6392\u9664\u5df2\u7b5b\u9009\u6389\u7684\u5355\u5143\u683c": 7, "\u8be6\u89c1\u9644\u4ef61": 7, "\u5728j2\u5355\u5143\u683c\u4e2d\u8f93\u5165\u5982\u4e0b\u516c\u5f0f": 7, "f21": 7, "\u53ef\u4ee5\u770b\u5230subtotal\u5bf9\u7b5b\u9009\u7684\u6570\u636e\u5217\u8fdb\u884c\u6b63\u786e\u7684\u6c42\u548c": 7, "\u800csum\u65e0\u6cd5\u8ddf\u968f\u9009\u62e9\u7684\u6570\u636e\u5217\u8fdb\u884c\u6b63\u786e\u6c42\u548c": 7, "\u9644\u4ef61": 7, "\u8ba1\u7b97\u6cb3\u5317\u533a\u4e2d\u5546\u54c11\u7684\u6700\u5c0f\u9500\u552e\u989d": [7, 15], "\u8ba1\u7b97\u6e56\u5317\u4e2d\u4ec0\u4e48\u6e20\u9053\u4e0b\u7684\u4ec0\u4e48\u5546\u54c1\u5177\u6709\u6700\u9ad8\u9500\u552e\u989d": [7, 15], "\u5bf9\u4e8eexcel\u4e2d\u7684\u6570\u636e\u53ef\u89c6\u5316": 8, "\u76f8\u4fe1\u5404\u4f4d\u8bfb\u8005\u5e94\u8be5\u80fd\u5f88\u719f\u7ec3\u7684\u4f7f\u7528": 8, "\u4f7f\u7528excel\u6c47\u603b\u5404\u79cd\u7c7b\u578b\u56fe": 8, "\u5305\u62ec\u67f1\u72b6\u56fe": 8, "\u6298\u7ebf\u56fe\u7b49\u7b49": 8, "\u4ece\u800c\u8ba9\u6570\u636e\u8fdb\u884c\u56fe\u5f62\u5316\u5c55\u793a": 8, "\u57fa\u4e8e\u6b64": 8, "\u672c\u8282\u4e2d\u5bf9excel\u4e2d\u7684\u6570\u636e\u4f5c\u56fe\u90e8\u5206\u4e0d\u505a\u5c55\u5f00\u8bb2\u89e3": 8, "\u672c\u8282\u66f4\u52a0\u504f\u91cd\u4e8e\u8bb2\u89e3\u53e6\u4e00\u7c7b\u8f85\u52a9\u6570\u636e\u53ef\u89c6\u5316\u7684\u90e8\u5206": 8, "chap8": [8, 15], "\u73b0\u5728\u6709\u6e56\u5317\u533a2022": 8, "01\u7684\u4e0d\u540c\u5546\u54c1\u7684\u9500\u552e\u989d": 8, "\u600e\u4e48\u66f4\u52a0\u76f4\u89c2\u7684\u5c55\u793a\u9500\u552e\u989d\u4e4b\u95f4\u7684\u5dee\u522b\u5462": 8, "\u8fd9\u91cc\u53ef\u4ee5\u4f7f\u7528\u6761\u5f62\u56fe\u5bf9\u9500\u552e\u7684\u91d1\u989d\u8fdb\u5c55\u53ef\u89c6\u5316\u5c55\u793a": 8, "\u6761\u4ef6\u683c\u5f0f": 8, "\u6570\u636e\u6761": 8, "\u901a\u8fc7\u5bf9\u9500\u552e\u91d1\u989d\u8fdb\u884c\u6570\u636e\u6761\u7684\u586b\u5145": 8, "\u8bfb\u8005\u53ef\u4ee5\u5f88\u5feb\u9501\u5b9a\u6e56\u5317\u533a2022": 8, "01\u9500\u552e\u989d\u4e2d": 8, "\u97e9\u95f2\u5177\u6709\u6700\u9ad8\u9500\u552e\u989d\u4e3a9442": 8, "\u5982\u679c\u53ea\u60f3\u663e\u793a\u6761\u5f62\u56fe": 8, "\u4e0d\u60f3\u663e\u793a\u91d1\u989d\u5e94\u8be5\u5982\u679c\u64cd\u4f5c": 8, "\u9009\u62e9\u6761\u5f62\u56fe\u533a\u57df": 8, "\u7ba1\u7406\u89c4\u5219": 8, "\u6253\u5f00\u7ba1\u7406\u89c4\u5219\u540e\u53ef\u4ee5\u770b\u5230": 8, "\u9009\u62e9\u8bbe\u7f6e\u7684\u89c4\u5219": 8, "\u70b9\u51fb\u7f16\u8f91\u89c4\u5219": 8, "\u9009\u62e9\u4ec5\u663e\u793a\u6570\u636e\u6761": 8, "\u5f53\u7136\u53ef\u4ee5\u5728\u989c\u8272\u7684\u5730\u65b9\u9009\u62e9\u81ea\u5df1\u559c\u6b22\u7684\u989c\u8272": 8, "\u9009\u62e9\u4e4b\u540e\u5f97\u5230\u5982\u4e0b\u6548\u679c": 8, "\u73b0\u5728\u6709\u4e0d\u540c\u4e1a\u52a1\u5458\u5411\u5ba2\u6237\u63a8\u9500\u5546\u54c1\u7684\u76f8\u5173\u4fe1\u606f": 8, "\u73b0\u5728\u9700\u8981\u5c06\u622a\u6b62\u65e5\u671f\u8fd8\u6ca1\u6709\u8fc7\u4eca\u5929\u7684\u6807\u6ce8\u51fa\u6765": 8, "\u5e94\u8be5\u5982\u4f55\u64cd\u4f5c": 8, "excel\u4e2d": 8, "todai": 8, "\u51fd\u6570\u53ef\u4ee5\u83b7\u5f97\u5f53\u524d\u65e5\u671f": 8, "\u53ef\u4ee5\u4f7f\u7528excel\u4e2d\u7684\u6761\u4ef6\u683c\u5f0f\u8fdb\u884c\u81ea\u52a8\u8bc6\u522b": 8, "\u9009\u62e9\u9700\u8981\u8bbe\u7f6e\u6761\u4ef6\u7684\u5217": 8, "\u9009\u62e9\u6761\u4ef6\u683c\u5f0f": 8, "\u9009\u62e9\u65b0\u5efa\u89c4\u5219": 8, "\u8fd9\u91cc\u9009\u62e9\u4f7f\u7528\u516c\u5f0f\u786e\u5b9a\u8981\u8bbe\u7f6e\u683c\u5f0f\u7684\u5355\u5143\u683c": 8, "\u56e0\u4e3a\u9009\u62e9\u7684\u533a\u57df\u4e3ab2": 8, "b10": 8, "\u56e0\u6b64\u8f93\u5165\u7684\u516c\u5f0f\u6ee1\u8db3b2\u8981\u6c42": 8, "\u5269\u4f59\u7684\u5355\u5143\u683c\u4f1a\u81ea\u52a8\u586b\u5145": 8, "\u56e0\u6b64\u8f93\u5165\u7684\u516c\u5f0f\u4e3a": 8, "\u63a5\u4e0b\u6765\u8bbe\u7f6e\u5355\u5143\u683c\u7684\u683c\u5f0f": 8, "\u5728\u672c\u8282\u793a\u8303\u4e2d\u9009\u62e9\u5bf9\u6ee1\u8db3\u6761\u4ef6\u7684\u5355\u5143\u683c\u586b\u5145\u4e3a\u9ec4\u8272": 8, "\u5f97\u5230\u5982\u4e0b\u6548\u679c\u56fe": 8, "\u4e2d\u539f\u59cb\u6570\u636e": 8, "\u73b0\u5728\u77e5\u9053\u4e0d\u540c\u4e1a\u52a1\u54581": 8, "12\u6708\u7684\u9500\u552e\u989d": 8, "\u4e14\u9500\u552e\u989d\u6700\u5dee\u6708\u4efd\u4ee5\u53ca\u4e1a\u52a1\u5458\u7684\u9500\u552e\u989d\u7684\u53d8\u5316\u8d8b\u52bf": 8, "\u5e94\u8be5\u600e\u4e48\u64cd\u4f5c": 8, "\u786e\u5b9a\u9500\u552e\u989d\u6700\u5dee\u6708\u4efd": 8, "\u8fd9\u91cc\u53ef\u4ee5\u4f7f\u7528xlookup\u516c\u5f0f": 8, "\u5177\u4f53\u516c\u5f0f\u4e3a": 8, "min": 8, "m2": 8, "\u5728b2\u63d2\u5165\u65b0\u7684\u5355\u5143\u683c": 8, "\u547d\u540d\u4e3a\u8d8b\u52bf\u56fe": 8, "\u70b9\u51fb\u63d2\u5165": 8, "\u627e\u5230\u8ff7\u4f60\u56fe\u90e8\u5206": 8, "\u9009\u62e9\u6298\u7ebf": 8, "\u6570\u636e\u8303\u56f4\u9009\u62e9\u4e3ac2": 8, "n13": 8, "\u9632\u6b62\u8ff7\u4f60\u56fe\u7684\u4f4d\u7f6e\u9009\u62e9\u5728b2": 8, "b13\u5355\u5143\u683c": 8, "\u751f\u6210\u8ff7\u4f60\u56fe\u540e": 8, "\u53ef\u4ee5\u5728\u663e\u793a\u5904": 8, "\u8c03\u6574\u8ff7\u4f60\u56fe\u663e\u793a\u7684\u91cd\u8981\u70b9": 8, "\u8fd9\u91cc\u663e\u793a\u6298\u7ebf\u4e2d\u7684\u6700\u4f4e\u70b9": 8, "\u901a\u8fc7\u56fe\u4e2d\u53ef\u4ee5\u770b\u5230": 8, "\u8521\u52c7\u4ec1\u7684\u9500\u552e\u4e1a\u7ee9\u8d8b\u52bf\u662f\u4e0d\u65ad\u4e0b\u964d": 8, "\u800c\u6c5f\u5b81\u5bd2\u7684\u9500\u552e\u4e1a\u7ee9\u4e0d\u65ad\u4e0a\u5347": 8, "\u8ff7\u4f60\u56fe\u80fd\u591f\u5f88\u597d\u7684\u5c55\u793a\u539f\u6570\u636e\u4e0e\u6570\u636e\u53d8\u5316\u7684\u8d8b\u52bf\u60c5\u51b5": 8, "\u5bf9\u62dc\u8bbf\u5ba2\u6237\u6570\u5927\u4e8e5\u4ee5\u4e0a\u7684\u4e1a\u52a1\u5458\u8fdb\u884c\u9ec4\u8272\u586b\u5145": [8, 15], "\u6570\u636e\u900f\u89c6\u662fexcel\u4e2d\u4e2a\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u548c\u5206\u6790\u5de5\u5177": 9, "\u80fd\u591f\u5feb\u901f\u5b9e\u73b0\u6570\u636e\u7684\u6c47\u603b\u4e0e\u7edf\u8ba1\u5206\u6790": 9, "\u672c\u8282\u91cd\u70b9\u8bb2\u89e3excel\u6570\u636e\u900f\u89c6\u7684\u76f8\u5173\u64cd\u4f5c": 9, "chap9": [9, 15], "\u73b0\u5728\u5bf9\u6570\u636e\u6e90\u8fdb\u884c\u6570\u636e\u900f\u89c6": 9, "\u9009\u62e9\u6570\u636e\u900f\u89c6\u8868": 9, "\u9009\u62e9\u8868\u683c\u533a\u57df": 9, "\u9009\u62e9\u6570\u636e\u900f\u89c6\u8868\u653e\u7f6e\u7684\u4f4d\u7f6e": 9, "\u5728\u65b0\u7684\u6570\u636e\u8868\u4e2d\u51fa\u73b0\u4e86\u6570\u636e\u900f\u89c6\u8868": 9, "\u60f3\u77e5\u9053\u4e0d\u540c\u6708\u4efd\u7684\u4e0d\u540c\u533a\u57df\u9500\u552e\u91d1\u989d\u7edf\u8ba1\u60c5\u51b5": 9, "\u53ef\u4ee5\u5c06\u533a\u57df\u7f6e\u4e8e\u5217": 9, "\u6708\u7f6e\u4e8e\u884c": 9, "\u91d1\u989d\u7684\u6c42\u548c\u9879\u7f6e\u4e8e\u503c": 9, "\u5373\u53ef\u5f97\u5230\u4e0d\u540c\u533a\u57df\u4e0d\u540c\u6708\u4efd\u7684\u9500\u552e\u91d1\u989d\u4e4b\u548c": 9, "\u5982\u679c\u53c8\u60f3\u77e5\u9053\u4e0d\u540c\u5e97\u5458\u7684\u9500\u552e\u989d\u600e\u4e48\u529e\u5462": 9, "\u70b9\u51fb\u6570\u636e\u900f\u89c6\u8868\u5206\u6790": 9, "\u70b9\u51fb\u63d2\u5165\u5207\u7247\u5668": 9, "\u9009\u62e9\u63d2\u7247\u5668\u7684\u5b57\u6bb5": 9, "\u70b9\u51fb\u4e0d\u540c\u7684\u5e97\u5458": 9, "\u53ef\u4ee5\u76f4\u63a5\u7edf\u8ba1\u8be5\u5e97\u5458\u7684\u9500\u552e\u989d": 9, "\u8fd9\u91cc\u7684\u63d2\u7247\u5668\u76f8\u5f53\u4e8e\u76f4\u63a5\u7b5b\u9009\u5e97\u5458\u7684\u6570\u636e\u505a\u7edf\u8ba1": 9, "\u5982\u679c\u60f3\u7edf\u8ba1\u591a\u4e2a\u5e97\u5458\u7684\u6570\u636e": 9, "\u53ef\u4ee5\u70b9\u51fb\u5207\u7247\u5668\u7684\u591a\u9009\u9879": 9, "\u53ef\u4ee5\u540c\u65f6\u7edf\u8ba1\u591a\u4e2a\u5e97\u5458\u7684\u6570\u636e": 9, "\u73b0\u5728\u5bf9\u6570\u636e\u6e90\u8fdb\u884c\u6570\u636e\u900f\u89c6\u56fe": 9, "\u9009\u62e9\u6570\u636e\u900f\u89c6\u56fe": 9, "\u9009\u62e9\u521b\u5efa\u6570\u636e\u900f\u89c6\u56fe": 9, "\u9009\u62e9\u6570\u636e\u6e90\u4f5c\u4e3a\u6570\u636e\u533a\u57df": 9, "\u9009\u62e9\u65b0\u5de5\u4f5c\u8868": 9, "\u9009\u62e9\u6708\u4e3a\u7c7b\u522b": 9, "\u9009\u62e9\u533a\u57df\u4e3a\u56fe\u4f8b": 9, "\u9009\u62e9\u91d1\u989d\u6c42\u548c\u4f5c\u4e3a\u503c": 9, "\u5f97\u5230\u5982\u4e0b\u900f\u89c6\u56fe": 9, "\u5982\u679c": 9, "\u60f3\u5207\u6362\u900f\u89c6\u56fe\u7684\u7c7b\u578b": 9, "\u53ef\u4ee5\u9009\u62e9\u4e0d\u540c\u7684\u56fe\u50cf\u7c7b\u578b": 9, "\u4f8b\u5982\u6211\u4eec\u60f3\u77e5\u9053\u4e0d\u540c\u6708\u4efd\u9500\u552e\u7684\u53d8\u5316\u8d8b\u52bf": 9, "\u53ef\u4ee5\u9009\u62e9\u4e3a\u6298\u7ebf\u56fe": 9, "\u5f53\u7136\u6570\u636e\u900f\u89c6\u56fe\u4e5f\u652f\u6301\u63d2\u7247\u5668": 9, "\u540c\u6837\u662f\u9009\u62e9\u5e97\u5458\u4f5c\u4e3a\u5207\u7247\u7684\u6761\u4ef6": 9, "\u7ed8\u5236\u4e0d\u540c\u7684\u900f\u89c6\u56fe": [9, 15], "\u7b2c\u4e00\u7ae0": 10, "excel\u4e0e\u6570\u636e\u683c\u5f0f": 10, "1": [10, 12, 13, 15], "\u6570\u636e\u7f18\u4f55\u800c\u6765": 10, "2": [10, 15], "excel\u6570\u636e\u683c\u5f0f": 10, "\u7ec3\u4e60": 10, "\u7b2c\u4e8c\u7ae0": 10, "excel\u7684\u5feb\u6377\u64cd\u4f5c": 10, "excel\u5feb\u6377\u64cd\u4f5c\u7b80\u4ecb": 10, "excel\u5feb\u6377\u64cd\u4f5c\u5b9e\u8df5": 10, "\u7b2c\u4e09\u7ae0": 10, "excel\u7684\u8868\u5408\u5e76": 10, "\u591a\u8868\u884c\u5408\u5e76": 10, "\u591a\u8868\u5217\u5408\u5e76": 10, "\u7b2c\u56db\u7ae0": 10, "excel\u51fd\u6570": 10, "\u903b\u8f91\u5224\u65ad": 10, "if\u51fd\u6570": 10, "ifs\u51fd\u6570": 10, "sumif\u51fd\u6570": 10, "countifs\u51fd\u6570": 10, "\u7b2c\u4e94\u7ae0": 10, "\u6587\u672c\u51fd\u6570": 10, "mid\u51fd\u6570": 10, "replace\u51fd\u6570": 10, "\u7b2c\u516d\u7ae0": 10, "\u67e5\u627e\u51fd\u6570": 10, "vlookup": 10, "\u7b2c\u4e03\u7ae0": 10, "\u52a8\u6001\u51fd\u6570": 10, "filter\u51fd\u6570": 10, "subtotal\u51fd\u6570": 10, "\u7b2c\u516b\u7ae0excel\u6570\u636e\u53ef\u89c6\u5316": 10, "\u6761\u5f62\u56fe": 10, "\u6761\u4ef6\u5355\u5143\u683c\u683c\u5f0f": 10, "\u8ff7\u4f60\u56fe": 10, "\u7b2c\u4e5d\u7ae0excel\u6570\u636e\u900f\u89c6": 10, "excel\u6570\u636e\u900f\u89c6\u8868": 10, "excel\u6570\u636e\u900f\u89c6\u56fe": 10, "\u7b2c\u5341\u7ae0excel\u770b\u677f": 10, "\u4e1a\u52a1\u80cc\u666f": 10, "\u5b9e\u73b0\u5206\u6790": 10, "\u5b9e\u73b0\u8fc7\u7a0b": 10, "\u601d\u8003": 10, "\u540e\u8bb0": 10, "\u662f\u4e00\u4e2a\u4e13\u6ce8\u4e8e": 11, "ai": 11, "\u9886\u57df\u7684\u5f00\u6e90\u7ec4\u7ec7": 11, "\u5e0c\u671b\u6784\u5efa\u5bf9\u5b66\u4e60\u8005\u6700\u6709\u4ef7\u503c\u7684\u5f00\u6e90\u793e\u533a": 11, "\u4f5c\u4e3a\u4e00\u4e2a\u7531\u56fd\u5185\u5916\u5404\u4e2a\u9ad8\u6821\u7684\u6559\u6388": 11, "\u5b66\u751f": 11, "\u4f01\u4e1a\u4ece\u4e1a\u8005\u7b49\u521b\u5efa\u7684\u5f00\u653e\u5f0f\u7ec4\u7ec7\u5f62\u6001": 11, "\u62b1\u6709\u5f00\u6e90\u7cbe\u795e\u548c\u63a2\u7d22\u7cbe\u795e": 11, "\u613f\u666f": 11, "learner": 11, "\u548c\u5b66\u4e60\u8005\u4e00\u8d77\u6210\u957f": 11, "datawhale\u5b98\u7f51": 11, "http": [11, 14], "club": 11, "www": [11, 14], "zhihu": [11, 14], "com": [11, 14], "peopl": [11, 14], "datawhale2018": 11, "free": [12, 13, 14], "excel\u4e2d\u6587\u610f\u4e3a\u81ea\u7531excel": [12, 13], "\u6e90\u4e8e\u5e0c\u671b\u5b66\u4e60\u8005\u80fd\u591f\u901a\u8fc7\u8be5\u6559\u7a0b\u80fd\u591f\u66f4\u52a0\u81ea\u7531\u5730\u4f7f\u7528excel\u8fdb\u884c\u6570\u636e\u5206\u6790": [12, 13], "\u6570\u636e\u7edf\u8ba1": [12, 13], "\u89e3\u653eexcel\u4e0d\u518d\u4e3aexcel\u6240\u56f0": [12, 13], "\u5185\u5bb9\u4e0a\u4f1a\u66f4\u52a0\u504f\u5b9e\u8df5\u5e94\u7528": [12, 13], "\u529b\u6c42\u5c3d\u53ef\u80fd\u7b80\u5355\u800c\u53c8\u5177\u6709\u4e00\u5b9a\u6df1\u5ea6": [12, 13], "\u5176\u4ed6\u5f88\u591a\u6559\u7a0b\u90fd\u662f\u6309\u529f\u80fd\u6a21\u5757\u6765\u8bb2\u89e3": [12, 13], "\u800c\u4e14\u8fd8\u8be6\u7ec6\u7684\u8bf4\u660e\u6bcf\u4e2a\u529f\u80fd": [12, 13], "\u4ee4\u4eba\u67af\u71e5\u4e4f\u5473": [12, 13], "excel\u6839\u636e\u591a\u5e74\u5de5\u4f5c\u7ecf\u9a8c\u603b\u7ed3\u800c\u6210": [12, 13], "\u5f88\u591a\u5185\u5bb9\u662f\u5e38\u7528\u4e14\u91cd\u8981\u7684": [12, 13], "\u540c\u65f6\u5b66\u5b8c\u540e\u80fd\u52a0\u6df1\u5bf9excel\u7684\u7406\u89e3": [12, 13], "\u6388\u4e4b\u4ee5\u9c7c\u4e0d\u5982\u6388\u4e4b\u4ee5\u6e14": [12, 13], "\u8ba9\u6211\u4eec\u5f00\u59cb\u6109\u5feb\u7684excel\u4e4b\u65c5\u5427": [12, 13], "\u672c\u6559\u7a0b\u7684\u6570\u636e\u96c6\u5728": [12, 13], "\u6b64\u5904": [12, 13], "\u4e0b\u8f7d": [12, 13], "v1": [12, 13], "08": [12, 13], "v2": [12, 13], "2022": [12, 13], "09": [12, 13], "27": [12, 13], "1\u6559\u7a0b\u914d\u5957excel\u7248\u672c\u4e3a2019\u53ca\u4ee5\u4e0a": [12, 13], "\u8bf7\u81ea\u884c\u88c5\u597d\u73af\u5883\u4ee5\u4fbf\u64cd\u4f5c": [12, 13], "\u5982\u679c\u7535\u8111\u6ca1\u6709excel": [12, 13], "\u53ef\u4ee5\u4e0b\u8f7dwps\u8fdb\u884c\u76f8\u5173\u7684\u64cd\u4f5c\u5b66\u4e60": [12, 13], "\u6ce8": [12, 13], "\u672c\u8bfe\u7a0b\u4e2d\u90e8\u5206\u51fd\u6570\u4e3aexcel\u65b0\u66f4\u65b0\u7684\u5185\u5bb9": [12, 13], "\u5982\u679c\u60f3\u4f53\u9a8cexcel\u65b0\u6dfb\u52a0\u7684\u51fd\u6570": [12, 13], "\u53ef\u5c06excel\u66f4\u65b0\u81f3\u6700\u65b0\u7248": [12, 13], "\u6216\u5c06wps\u66f4\u65b0\u81f311": [12, 13], "1\u7248\u53ca\u4ee5\u4e0a": [12, 13], "\u534e\u4e2d\u519c\u4e1a\u5927\u5b66\u7855\u58eb": 14, "\u4e92\u8054\u7f51\u91d1\u878d\u6570\u636e\u5206\u6790\u5e08": 14, "excel": 14, "\u5fc3\u8df3\u4fe1\u53f7\u5206\u7c7b": 14, "python\u81ea\u52a8\u5316\u529e\u516c": 14, "\u5982\u4f55\u6253\u4e00\u4e2a\u6570\u636e\u6316\u6398\u6bd4\u8d5b": 14, "\u5165\u95e8\u7bc7": 14, "muxiaoxiong": 14, "1335008986": 14, "qq": 14, "1\u4f7f\u7528excel\u6570\u636e\u5bfc\u5165\u529f\u80fd": 15, "2\u5b8c\u6210": 15, "\u9ad8\u6d88\u8d39\u6237": 15, "\u53c2\u8003\u6559\u7a0b": 15}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"\u7b2c\u4e00\u7ae0": [0, 15], "excel\u4e0e\u6570\u636e\u683c\u5f0f": 0, "1": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "\u6570\u636e\u7f18\u4f55\u800c\u6765": 0, "\u4e86\u89e3excel": 0, "2": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "excel\u5b58\u50a8\u683c\u5f0f": 0, "excel\u6570\u636e\u683c\u5f0f": 0, "\u5355\u5143\u683c\u6570\u636e\u7c7b\u578b": 0, "\u6570\u5b57": 0, "\u6587\u672c": 0, "3": [0, 1, 4, 5, 8], "\u65e5\u671f": 0, "\u5355\u5143\u683c\u683c\u5f0f": 0, "\u6570\u503c\u683c\u5f0f": 0, "\u6587\u672c\u683c\u5f0f": 0, "\u65e5\u671f\u683c\u5f0f": 0, "\u8f6c\u6362\u5355\u5143\u683c\u6570\u636e": 0, "\u6570\u503c\u548c\u6587\u672c\u76f8\u4e92\u8f6c\u6362": 0, "\u65e5\u671f\u548c\u6587\u672c\u76f8\u4e92\u8f6c\u6362": 0, "\u7ec3\u4e60": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "\u7b2c\u5341\u7ae0excel\u770b\u677f": 1, "\u4e1a\u52a1\u80cc\u666f": 1, "\u5b9e\u73b0\u5206\u6790": 1, "\u5b9e\u73b0\u8fc7\u7a0b": 1, "\u786e\u5b9a\u5468\u6570": 1, "\u9500\u552e\u57fa\u7840\u6574\u7406": 1, "\u5468\u9500\u552e\u6570\u636e\u53d8\u5316\u8d8b\u52bf": 1, "4": [1, 4], "\u5468\u9500\u552e\u6e20\u9053\u6574\u7406": 1, "5": 1, "\u770b\u677f\u7ed8\u5236": 1, "\u601d\u8003": 1, "\u540e\u8bb0": 1, "\u7b2c\u4e8c\u7ae0": [2, 15], "excel\u7684\u5feb\u6377\u64cd\u4f5c": 2, "excel\u5feb\u6377\u64cd\u4f5c\u7b80\u4ecb": 2, "1\u6587\u4ef6\u76f8\u5173": 2, "2\u901a\u7528\u5feb\u6377\u952e": 2, "3\u8868\u683c\u9009\u62e9": 2, "4\u5355\u5143\u683c\u7f16\u8f91": 2, "5excel\u683c\u5f0f\u5316": 2, "6excel\u516c\u5f0f": 2, "excel\u5feb\u6377\u64cd\u4f5c\u5b9e\u8df5": 2, "1\u81ea\u52a8\u63d2\u5165\u6c42\u548c\u516c\u5f0f": 2, "2\u81ea\u52a8\u8fdb\u884c\u5217\u5dee\u5f02\u6bd4\u5bf9": 2, "3\u81ea\u52a8\u586b\u5145": 2, "\u7b2c\u4e09\u7ae0": [3, 15], "excel\u7684\u8868\u5408\u5e76": 3, "\u591a\u8868\u884c\u5408\u5e76": 3, "\u591a\u8868\u5217\u5408\u5e76": 3, "\u7b2c\u56db\u7ae0": [4, 15], "excel\u51fd\u6570": [4, 5, 6, 7], "\u903b\u8f91\u5224\u65ad": 4, "if\u51fd\u6570": 4, "ifs\u51fd\u6570": 4, "sumif\u51fd\u6570": 4, "\u6848\u4f8b1": [4, 5, 6, 7], "\u6848\u4f8b2": [4, 5, 6, 7], "\u6848\u4f8b3": [4, 5, 6, 7], "\u6848\u4f8b4": [4, 6], "countifs\u51fd\u6570": 4, "\u7b2c\u4e94\u7ae0": [5, 15], "\u6587\u672c\u51fd\u6570": 5, "text\u51fd\u6570": 5, "mid\u51fd\u6570": 5, "replace\u51fd\u6570": 5, "\u7b2c\u516d\u7ae0": [6, 15], "\u67e5\u627e\u51fd\u6570": 6, "vlookup": 6, "xlookup": 6, "\u6848\u4f8b5": 6, "\u6848\u4f8b6": 6, "\u6848\u4f8b7": 6, "\u7b2c\u4e03\u7ae0": [7, 15], "\u52a8\u6001\u51fd\u6570": 7, "filter\u51fd\u6570": 7, "subtotal\u51fd\u6570": 7, "\u7b2c\u516b\u7ae0excel\u6570\u636e\u53ef\u89c6\u5316": 8, "\u6761\u5f62\u56fe": 8, "\u6761\u4ef6\u5355\u5143\u683c\u683c\u5f0f": 8, "\u8ff7\u4f60\u56fe": 8, "\u7b2c\u4e5d\u7ae0excel\u6570\u636e\u900f\u89c6": 9, "excel\u6570\u636e\u900f\u89c6\u8868": 9, "excel\u6570\u636e\u900f\u89c6\u56fe": 9, "\u6559\u7a0b": 10, "datawhal": 11, "\u77e5\u4e4e": [11, 14], "\u5fae\u4fe1\u516c\u4f17\u53f7": 11, "home": 12, "\u4e3b\u9875": [12, 13], "\u6559\u7a0b\u5927\u7eb2": [12, 13], "\u66f4\u65b0\u7248\u672c\u4e0e\u66f4\u65b0\u65f6\u95f4": [12, 13], "\u4f5c\u8005": 14, "\u5f00\u6e90\u5185\u5bb9": 14, "github": 14, "e": 14, "mail": 14, "\u5fae\u4fe1": 14, "\u77e5\u4e4e\u54a8\u8be2": 14, "\u7ec3\u4e60\u9898\u53c2\u8003\u64cd\u4f5c": 15, "\u7b2c\u516b\u7ae0": 15, "\u7b2c\u4e5d\u7ae0": 15, "\u7b2c\u5341\u7ae0": 15}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 57}, "alltitles": {"\u7b2c\u4e00\u7ae0 Excel\u4e0e\u6570\u636e\u683c\u5f0f": [[0, "excel"]], "1.\u6570\u636e\u7f18\u4f55\u800c\u6765": [[0, "id1"]], "1.1 \u4e86\u89e3Excel": [[0, "id2"]], "1.2 Excel\u5b58\u50a8\u683c\u5f0f": [[0, "id3"]], "2.Excel\u6570\u636e\u683c\u5f0f": [[0, "id4"]], "2.1 \u5355\u5143\u683c\u6570\u636e\u7c7b\u578b": [[0, "id5"]], "2.1.1 \u6570\u5b57": [[0, "id6"]], "2.1.2 \u6587\u672c": [[0, "id7"]], "2.1.3 \u65e5\u671f": [[0, "id8"]], "2.2 \u5355\u5143\u683c\u683c\u5f0f": [[0, "id9"]], "2.2.1 \u6570\u503c\u683c\u5f0f": [[0, "id10"]], "2.2.2 \u6587\u672c\u683c\u5f0f": [[0, "id11"]], "2.2.3 \u65e5\u671f\u683c\u5f0f": [[0, "id12"]], "2.3 \u8f6c\u6362\u5355\u5143\u683c\u6570\u636e": [[0, "id13"]], "2.3.1 \u6570\u503c\u548c\u6587\u672c\u76f8\u4e92\u8f6c\u6362": [[0, "id14"]], "2.3.2 \u65e5\u671f\u548c\u6587\u672c\u76f8\u4e92\u8f6c\u6362": [[0, "id15"]], "\u7ec3\u4e60": [[0, "id16"], [1, "id9"], [2, "header-n167"], [3, "header-n23"], [4, "header-n78"], [5, "id4"], [6, "header-n94"], [7, "id4"], [8, "id4"], [9, "id3"]], "\u7b2c\u5341\u7ae0Excel\u770b\u677f": [[1, "excel"]], "1.\u4e1a\u52a1\u80cc\u666f": [[1, "id1"]], "2.\u5b9e\u73b0\u5206\u6790": [[1, "id2"]], "3.\u5b9e\u73b0\u8fc7\u7a0b": [[1, "id3"]], "1.\u786e\u5b9a\u5468\u6570": [[1, "id4"]], "2.\u9500\u552e\u57fa\u7840\u6574\u7406": [[1, "id5"]], "3.\u5468\u9500\u552e\u6570\u636e\u53d8\u5316\u8d8b\u52bf": [[1, "id6"]], "4.\u5468\u9500\u552e\u6e20\u9053\u6574\u7406": [[1, "id7"]], "5.\u770b\u677f\u7ed8\u5236": [[1, "id8"]], "\u601d\u8003": [[1, "id10"]], "\u540e\u8bb0": [[1, "id11"]], "\u7b2c\u4e8c\u7ae0 Excel\u7684\u5feb\u6377\u64cd\u4f5c": [[2, "excel"]], "1.Excel\u5feb\u6377\u64cd\u4f5c\u7b80\u4ecb": [[2, "header-n2"]], "1.1\u6587\u4ef6\u76f8\u5173": [[2, "header-n9"]], "1.2\u901a\u7528\u5feb\u6377\u952e": [[2, "header-n29"]], "1.3\u8868\u683c\u9009\u62e9": [[2, "header-n50"]], "1.4\u5355\u5143\u683c\u7f16\u8f91": [[2, "header-n72"]], "1.5Excel\u683c\u5f0f\u5316": [[2, "header-n99"]], "1.6Excel\u516c\u5f0f": [[2, "header-n116"]], "2.Excel\u5feb\u6377\u64cd\u4f5c\u5b9e\u8df5": [[2, "header-n3"]], "2.1\u81ea\u52a8\u63d2\u5165\u6c42\u548c\u516c\u5f0f": [[2, "header-n126"]], "2.2\u81ea\u52a8\u8fdb\u884c\u5217\u5dee\u5f02\u6bd4\u5bf9": [[2, "header-n4"]], "2.3\u81ea\u52a8\u586b\u5145": [[2, "header-n137"]], "\u7b2c\u4e09\u7ae0 Excel\u7684\u8868\u5408\u5e76": [[3, "excel"]], "1.\u591a\u8868\u884c\u5408\u5e76": [[3, "header-n4"]], "2.\u591a\u8868\u5217\u5408\u5e76": [[3, "header-n19"]], "\u7b2c\u56db\u7ae0 Excel\u51fd\u6570-\u903b\u8f91\u5224\u65ad": [[4, "excel"]], "1.if\u51fd\u6570": [[4, "if"]], "2.ifs\u51fd\u6570": [[4, "ifs"]], "3.sumif\u51fd\u6570": [[4, "sumif"]], "\u6848\u4f8b1": [[4, "header-n39"], [5, "id1"], [6, "header-n7"], [6, "header-n55"], [7, "header-n107"]], "\u6848\u4f8b2": [[4, "header-n47"], [5, "id2"], [6, "header-n15"], [6, "header-n62"], [7, "header-n114"]], "\u6848\u4f8b3": [[4, "header-n53"], [5, "id3"], [6, "header-n26"], [6, "header-n67"], [7, "header-n123"]], "\u6848\u4f8b4": [[4, "header-n63"], [6, "header-n32"], [6, "header-n72"]], "4.countifs\u51fd\u6570": [[4, "countifs"]], "\u7b2c\u4e94\u7ae0 Excel\u51fd\u6570-\u6587\u672c\u51fd\u6570": [[5, "excel"]], "1.Text\u51fd\u6570": [[5, "text"]], "2.mid\u51fd\u6570": [[5, "mid"]], "3.replace\u51fd\u6570": [[5, "replace"]], "\u7b2c\u516d\u7ae0 Excel\u51fd\u6570-\u67e5\u627e\u51fd\u6570": [[6, "excel"]], "1.VLOOKUP": [[6, "vlookup"]], "2 XLOOKUP": [[6, "xlookup"]], "\u6848\u4f8b5": [[6, "header-n78"]], "\u6848\u4f8b6": [[6, "header-n83"]], "\u6848\u4f8b7": [[6, "header-n88"]], "\u7b2c\u4e03\u7ae0 Excel\u51fd\u6570-\u52a8\u6001\u51fd\u6570": [[7, "excel"]], "1.FILTER\u51fd\u6570": [[7, "filter"]], "2.SUBTOTAL\u51fd\u6570": [[7, "subtotal"]], "\u7b2c\u516b\u7ae0Excel\u6570\u636e\u53ef\u89c6\u5316": [[8, "excel"]], "1.\u6761\u5f62\u56fe": [[8, "id1"]], "2.\u6761\u4ef6\u5355\u5143\u683c\u683c\u5f0f": [[8, "id2"]], "3.\u8ff7\u4f60\u56fe": [[8, "id3"]], "\u7b2c\u4e5d\u7ae0Excel\u6570\u636e\u900f\u89c6": [[9, "excel"]], "1.Excel\u6570\u636e\u900f\u89c6\u8868": [[9, "id1"]], "2.Excel\u6570\u636e\u900f\u89c6\u56fe": [[9, "id2"]], "\u6559\u7a0b": [[10, "id1"]], "Datawhale": [[11, "datawhale"]], "\u77e5\u4e4e": [[11, "id1"], [14, "id5"]], "\u5fae\u4fe1\u516c\u4f17\u53f7": [[11, "id2"]], "Home": [[12, "home"]], "\u4e3b\u9875": [[12, "id1"], [13, "id1"]], "\u6559\u7a0b\u5927\u7eb2": [[12, "id2"], [13, "id2"]], "\u66f4\u65b0\u7248\u672c\u4e0e\u66f4\u65b0\u65f6\u95f4": [[12, "id3"], [13, "id3"]], "\u4f5c\u8005": [[14, "id1"]], "\u5f00\u6e90\u5185\u5bb9": [[14, "id2"]], "Github": [[14, "github"]], "E-mail": [[14, "e-mail"]], "\u5fae\u4fe1": [[14, "id6"]], "\u77e5\u4e4e\u54a8\u8be2": [[14, "id7"]], "\u7ec3\u4e60\u9898\u53c2\u8003\u64cd\u4f5c": [[15, "id1"]], "\u7b2c\u4e00\u7ae0": [[15, "id2"]], "\u7b2c\u4e8c\u7ae0": [[15, "id3"]], "\u7b2c\u4e09\u7ae0": [[15, "id4"]], "\u7b2c\u56db\u7ae0": [[15, "id5"]], "\u7b2c\u4e94\u7ae0": [[15, "id6"]], "\u7b2c\u516d\u7ae0": [[15, "id7"]], "\u7b2c\u4e03\u7ae0": [[15, "id8"]], "\u7b2c\u516b\u7ae0": [[15, "id9"]], "\u7b2c\u4e5d\u7ae0": [[15, "id10"]], "\u7b2c\u5341\u7ae0": [[15, "id11"]]}, "indexentries": {}}) ================================================ FILE: docs/主页.html ================================================ 主页 — free-excel

主页#

free excel中文意为自由Excel,源于希望学习者能够通过该教程能够更加自由地使用Excel进行数据分析、数据统计,解放Excel不再为Excel所困。内容上会更加偏实践应用,力求尽可能简单而又具有一定深度。其他很多教程都是按功能模块来讲解,而且还详细的说明每个功能,令人枯燥乏味。Free Excel根据多年工作经验总结而成,很多内容是常用且重要的,同时学完后能加深对Excel的理解。授之以鱼不如授之以渔,让我们开始愉快的Excel之旅吧!

本教程的数据集在 此处 下载。

教程大纲#

更新版本与更新时间#

  • V1.0 2021-08-08

  • V2.0 2022-09-09

  • V2.1 2022-11-27

V2.1教程配套Excel版本为2019及以上,请自行装好环境以便操作。如果电脑没有Excel,可以下载WPS进行相关的操作学习。

注:本课程中部分函数为Excel新更新的内容,如果想体验Excel新添加的函数,可将Excel更新至最新版,或将WPS更新至11.1版及以上

================================================ FILE: docs/作者.html ================================================ 作者 — free-excel
================================================ FILE: docs/练习题参考操作.html ================================================ 练习题参考操作 — free-excel

练习题参考操作#

第一章#

1.1使用Excel数据导入功能,完成data/chap1/Titanic_normal.csvdata/chap1/data/chap1/Titanic_special.txt数据导入

1.2完成data/chap1/2.1.xlsx中案例1-4中的问题

第二章#

2.1.完成data/chap2/2.1.xlsx工作簿中的【案例2】【案例3】的快捷键自动求和任务

2.2.完成data/chap2/2.2.xlsx工作簿中的【案例2】【案例3】的多行快速比对任务(提示:需要选中所有待比对表格框)

2.3.完成data/chap2/2.3.xlsx工作簿中的【案例2】【案例3】【案例4】的填充任务

第三章#

3.1.选择data/chap3/3.1.xlsx工作簿中的【案例1】得到不同客户的消费次数

3.2.选择data/chap3/3.1.xlsx工作簿中的【案例2】得到不同客户的不同项目的消费次数

第四章#

4.1.选择data/chap4/4.1.xlsx工作簿中的【案例1】,将客户原始得分为1以下的校正为0

4.2.选择data/chap4/4.1.xlsx工作簿中的【案例2】,客户1月2月中只要有1个月消费超过400,即为”高消费户”

4.3.选择data/chap4/4.1.xlsx工作簿中的【案例3】,能否不使用IFS函数,使用IF函数通过嵌套完成相应的务。

4.4.打开data/chap4/4.2xlsx中的【案例1】语文成绩在80分以上的同学成绩之和

4.5.打开data/chap4/4.2xlsx中的【案例2】统计所有苹果系列产品的销售额

4.6.打开data/chap4/4.2xlsx中的【案例6】完成所有手机的销售额求和

第五章#

5.1.完成data/chap5/5.1.xlsx工作簿中的【案例1-3】

参考教程

5.2.完成data/chap5/5.2.xlsx工作簿中的【案例1】中身份证后6位加密

第六章#

6.1.选择VLOOKUP和XLOOKUP这2种函数中的一种,完成data/chap6/6.1xlsx中的【案例1-4】

参考教程

第七章#

7.1.打开data/chap7/7.1xlsx中的【案例1】计算河北区中商品1的最小销售额

7.2.打开data/chap7/7.1xlsx中的【案例1】计算湖北中什么渠道下的什么商品具有最高销售额

第八章#

8.1.选择data/chap8/8.2.xlsx工作簿中的【案例1】,对拜访客户数大于5以上的业务员进行黄色填充

第九章#

9.1.选择data/chap9/9.1.xlsx工作簿中的【数据源】绘制不同的透视图

第十章#

10.1.完成数据看板,需要通过按钮调节周数,同时销售额,订单数以及数据图进行变化

参考教程

================================================ FILE: make.bat ================================================ @ECHO OFF pushd %~dp0 REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set SOURCEDIR=source set BUILDDIR=build %SPHINXBUILD% >NUL 2>NUL if errorlevel 9009 ( echo. echo.The 'sphinx-build' command was not found. Make sure you have Sphinx echo.installed, then set the SPHINXBUILD environment variable to point echo.to the full path of the 'sphinx-build' executable. Alternatively you echo.may add the Sphinx directory to PATH. echo. echo.If you don't have Sphinx installed, grab it from echo.https://www.sphinx-doc.org/ exit /b 1 ) if "%1" == "" goto help %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% goto end :help %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% :end popd ================================================ FILE: source/1.txt ================================================ ================================================ FILE: source/Content/chap1.rst ================================================ 第一章 Excel与数据格式 ====================== 1.数据缘何而来 -------------- Execel是我们常见的用来进行数据处理的工具,其中Excel文件主要包含有2种格式分别是\ ``xls``\ 或\ ``xlsx``\ ,\ ``xls``\ 和\ ``xlsx``\ 主要区别如下: .. figure:: ../_static/chap1/1.0.png :alt: 因此,推荐大家使用最新版本的Excel或者WPS进行相关的学习与操作。 1.1 了解Excel ~~~~~~~~~~~~~ Excel文每个数据文件叫做工作簿,每个工作簿里面含有多个工作表,每个工作表里面的格子叫做单元格。 在Excel中点击新建文档后,Excel默认的文档名称是工作簿1,也就是一个Excel文档,就是一个工作簿 .. figure:: ../_static/chap1/1.1.png :alt: 在新建的工作簿中,可以看到左下方有\ ``Sheet1``\ 的标签,每个工作簿里面可以含有多个工作表,Excel表中最大支持255个工作表 .. figure:: ../_static/chap1/1.2.png :alt: 单元格就是工作表中间每一个格子 .. figure:: ../_static/chap1/1.3.png :alt: 在Excel最上方是工具栏,如果希望在Excel中导入第三方插件,可以点击\ ``文件``-->\ ``选项``-->\ ``自定义功能区``\ 点击右侧的√,即可导入相关模块 .. figure:: ../_static/chap1/1.5.gif :alt: 1.2 Excel存储格式 ~~~~~~~~~~~~~~~~~ Excel中的数据可以存储为不同的类型格式,其中常用的存储类似分别是xlsx、csv以及txt,一般情况下,csv文件采用是逗号分隔,txt文件采用的是制表符作为分隔,例如\ ``data/chap1/Titanic_normal.csv``\ 和\ ``data/chap1/Titanic_tab.txt``\ ,而在较为特殊的情况下,数据的分隔符合可能不是常规的分隔符合,例如\ ``data/chap1/Titanic_special.txt``\ ,使用记事本打开这个文件发现文件采用\ ``|``\ 作为分隔的符合,那么这样的文件如何使用Excel打开呢? .. figure:: ../_static/chap1/1.6.png :alt: 这里推荐大家使用以下的操作方案,操作路径为菜单栏选择:\ **数据-->获取和转换数据-->从文件/CSV** .. figure:: ../_static/chap1/1.7.gif :alt: \ 点击\ **加载**\ 后可以看到我们导入的数据集,接着按快捷键\ ``ctrl+s``\ 保存工作簿到本地。 至此我们已经成功加载数据集到工作表当中,需要注意的是此时构建的数据表跟原始数据是存在连接关系,更改csv文件的数据后在点击路径:\ **设计-外部表数据-刷新**\ 后就可以更新工作表数据。如果要取消链接关系则点击路径:\ **设计-外部数据表-取消链接**\ 即可。 2.Excel数据格式 --------------- 2.1 单元格数据类型 ~~~~~~~~~~~~~~~~~~ 打开\ ``data/chap1/2.1.xlsx``\ 文件,点击【单元格数据类型】工作表,可以看到Excel有11种数据类型 .. figure:: ../_static/chap1/2.1.png :alt: 在平时工作和学习中常见的数据类型有3种分别是数字、文本和日期,接下来就详细讲解这3种格式的相关应用 2.1.1 数字 ^^^^^^^^^^ 数值是单元格最常见的数据之一,12位数的时候会以科学计数法显示。 打开\ ``data/chap1/2.1.xlsx``\ 文件,点击【真假数字】工作表看到展示的是真假数值列,真数值默认情况下是右对齐(方便观测数据位数),假数值是数值型文本属于\ **文本**\ ,左上角会有个绿色三角错误检查,当数据是文本时,无法完成数字运算操作。 .. figure:: ../_static/chap1/2.2.png :alt: Excel会自带数据纠错功能,点击黄色感叹号可以看到,将文本转出数字,或者使用\ ``=VALUE()``\ 函数将文本转成数字 .. figure:: ../_static/chap1/2.3.gif :alt: 2.1.2 文本 ^^^^^^^^^^ 文本为Excel中的常见格式,主要为文本字符串,例如下图就是典型的文本数据。当数据是文本类型时就可以完成文本数据相关操作。 .. figure:: ../_static/chap1/2.4.png :alt: 2.1.3 日期 ^^^^^^^^^^ Excel中的标准日期由年月日组成的数据,例如\ ``2021/1/1``\ ,同时日期又是很特殊的数值,在Excel里面日期最早是1900年1月1日,对应的数值为1,通过两日期相减可以得到日期相差的天数。需要注意的是如果是\ ``2021-01-01``\ 的数据就要看是否实际数据为\ ``'2021/1/1'``\ ,否则为文本型日期,需要进行转换才行。观察下图真假日期,可以发现真日期右对齐,假日期左对齐(内容跟显示的一致),真日期转格式可以看到单元格数据仍然是真日期格式(内容跟显示不一致)。 .. figure:: ../_static/chap1/2.5.gif :alt: 2.2 单元格格式 ~~~~~~~~~~~~~~ 设置单元格格式可以点击单元格后,\ **右键-设置单元格格式**\ 选项,或者按快捷键\ **ctrl+1**\ ,或者通过工具栏:\ **开始-数字**\ 去快速做更改。单元格可以设置的格式类型包括: - 数字:调整数值格式或者日期格式。 - 对齐:调整对齐方式。 - 字体:更改字体、字型、字号等。 - 边框:单元格边框设置。 - 填充:填充单元格背景颜色,标注数据经常使用。 - 保护:锁定单元格或者隐藏公式。 2.2.1 数值格式 ^^^^^^^^^^^^^^ 设置单元格格式分类选择数值,对数值设置小数点一般保留两位,同时能让数值对齐,使用千分位分隔符能更容易观察数值大小。 2.2.2 文本格式 ^^^^^^^^^^^^^^ 文本常见的设置格式用于对文本进行加单引号、双引号或者逗号的情况。 例如对真假日期中的假日期增加单引号 .. figure:: ../_static/chap1/2.7.gif :alt: 2.2.3 日期格式 ^^^^^^^^^^^^^^ 通过日期分类调整日期格式为年-月-日,需要注意的是文本型的日期格式无法调整,而数值是可以调整为日期。 .. figure:: ../_static/chap1/2.8.png :alt: 2.3 转换单元格数据 ~~~~~~~~~~~~~~~~~~ 2.3.1 数值和文本相互转换 ^^^^^^^^^^^^^^^^^^^^^^^^ 打开\ ``data/chap1/2.1.xlsx``\ ,将数值转换成文本 .. figure:: ../_static/chap1/2.9.gif :alt: 2.3.2 日期和文本相互转换 ^^^^^^^^^^^^^^^^^^^^^^^^ 打开\ ``data/chap1/2.1.xlsx``\ ,将不规范日期转成规范日期,然后转成文本 .. figure:: ../_static/chap1/2.10.gif :alt: 练习 ---- 1. 使用Excel数据导入功能,完成\ ``data/chap1/Titanic_normal.csv``\ 和\ ``data/chap1/Titanic_train.txt``\ 数据导入 2. 完成\ ``data/chap1/2.1.xlsx``\ 中案例1-4中的问题 ================================================ FILE: source/Content/chap10.rst ================================================ 第十章Excel看板 =============== 数据看板作为数据动态展示的一种重要方式,被广泛的应用于各个领域,因此本节根据1个案例讲解使用Excel制作数据看板的过程,以期起到抛砖引玉的效果,在学习技能的同时也将其应用到实践的工作中 1.业务背景 ========== 打开\ ``data/chap10/10.1.xlsx``\ 中的数据源,这是某厂家在淘宝、拼多多、京东这3个电商销售平台的销售数据,现在你是这个厂家的员工,老板想知道商品在不同渠道的每周销售情况,想请你做一个数据周报看板。 .. figure:: ../_static/chap10/10.1.png :alt: 2.实现分析 ========== 1.既然是周报看板,需要确定每天日期所在周数与每周的第几天 2.根据确定周数对销售金额进行汇总 3.对销售金额进行动态展示 3.实现过程 ========== 1.确定周数 ---------------- 确定日期所在的周数用【WEEKNUM函数】,确定日期是第几周可以用【WEEKDAY函数】 在H2单元格输入 **=WEEKNUM(B2,2)** 在I2单元格输入 **=WEEKDAY(B2,11)** (如果想得到中文星期几 可以输入 =TEXT(B2,"aaaa")) .. figure:: ../_static/chap10/10.2.gif :alt: 2.销售基础整理 ------------------ 新建1个工作表,确定动态数据的变量为周数,并确定需要计算的指标,本周开始日期、介绍日期、销售额、订单数、上周销售额、上周订单数、销售额变化、订单数变化 使用公式求解相关的基础数据 在C3单元格输入公式\ ``=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001)`` 如果发现数据日期变成了44200,显然就是格式不正确,只需要将单元格的格式转为日期即可 .. figure:: ../_static/chap10/10.3.gif :alt: 在C4单元格输入公式\ ``=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001,0,0,-1)`` .. figure:: ../_static/chap10/10.4.gif :alt: 对于本周的销售额,可以使用SUMIFS函数获得 ,在C5单元格中输入 ``=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)`` .. figure:: ../_static/chap10/10.5.gif :alt: 对于本周的订单数,可以使用COUNTIFS函数获得 ,在C6单元格中输入 ``=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)`` .. figure:: ../_static/chap10/10.6.gif :alt: 对于上周开始日期,可以使用本周开始日期-7,在E3单元格中输入 ``=C3-7`` 对于上周结束日期,可以使用本周结束日期-7,在E4单元格中输入 ``=C4-7`` 对于上周销售额,可以使用SUMIFS函数获得 ,在E5单元格中输入 ``=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)`` 对于上周的订单数,可以使用COUNTIFS函数获得 ,在E6单元格中输入 ``=COUNTIFS(数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)`` .. figure:: ../_static/chap10/10.7.gif :alt: 对于相比上周销售额变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C7单元格中输入 ``=TEXT(((C5-E5)/E5)*100,"0.00")&"%"`` 对于相比上周订单数变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C8单元格中输入 ``=TEXT(((C6-E6)/E6)*100,"0.00")&"%"`` 当然也可以直接设置单元格格式为【百分比】 .. figure:: ../_static/chap10/10.8.gif :alt: 当然这个【相比上周销售额变化】指标是一个比较重要的指标,可以对这个指标进行格式设置 选择C6单元格并设置条件格式,判断C5单元格与E5单元格值的大小,如果C5>=E5,那么C6单元值为红,否则为绿色 .. figure:: ../_static/chap10/10.9.gif :alt: 3.周销售数据变化趋势 ------------------------ 对于每周的数据需要做一个统计,并对每周数据的下单金额与下单数进行整理 装B13-B19单元格输入星期数 现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式 ``=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&'计算过程'!B13)`` 现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式 ``=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&'计算过程'!B13)`` .. figure:: ../_static/chap10/10.10.gif :alt: 接下来就对数据进行可视化展示 .. figure:: ../_static/chap10/10.11.gif :alt: 4.周销售渠道整理 -------------------- 对于每周的数据需要做一个统计,并对每周数据的渠道分布进行整理 装G3-G6单元格分别输入产品的电商渠道京东、拼多多、淘宝 在H3单元格中输入SUMIFS函数求不同渠道的销售金额,并进行向下填充 ``=SUMIFS(数据源!$F:$F,数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)`` 在I3单元格中输入COUNTIF函数求不同渠道的下单数,并进行向下填充 ``=COUNTIFS(数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)`` .. figure:: ../_static/chap10/10.12.gif :alt: 接下来就对数据进行可视化展示,将图片进行简单的美化,就可以得到下单金额饼状图与下单数的柱状图 .. figure:: ../_static/chap10/10.13.gif :alt: 5.看板绘制 -------------- 完成了前面的全部计算后,接下来的工作就是将绘制的图结合在一起进行展示 首先是上述计算的数据与绘图的信息集合到一起 .. figure:: ../_static/chap10/10.13.png :alt: 其中本周的总销量、本周订单数、当前周数、开始日期以及结束日期都是引用计算过程中的值 本周总销量的值为\ ``=计算过程!$C$5`` 本周总订单的值为\ ``=计算过程!$C$6`` 本周周数的值为\ ``=计算过程!$C$2`` 本周的开始日期为\ ``=计算过程!$C$3`` 本周的结束日期为\ ``=计算过程!$C$4`` 因为本周的变化情况带有条件单元格式,因此不能直接引用,需要将其转化成链接图片的形式,具体操作为 1.复制C7单元格 2.粘贴选择链接的图片 .. figure:: ../_static/chap10/10.14.png :alt: 对于本周的周数,需要设置按钮方便调节 1.选择开发工具 2.选择插入,选择数值调节按钮 3.选择设置控件格式 4.设置控件的对应参数 .. figure:: ../_static/chap10/10.15.png :alt: 到这里就完成了看板90%的步骤,点击按钮,能看动态展示看板的相关数据 .. figure:: ../_static/chap10/10.16.png :alt: 最后就对看板进行相应的美化,在看板美化过程中也参考了其他EXCEL教程中的配色,因此最后的看板展示效果为 .. figure:: ../_static/chap10/10.17.png :alt: 练习 ---- 1.完成数据看板,需要通过按钮调节周数,同时销售额,订单数以及数据图进行变化 思考 ==== 1.为什么每周的介绍日期和开始日期都可以使用XLOOKUP获得 2.为什么每周1的下单金额之和可以通过SUMIF函数求 3.为什么设置按钮调节每周的数据变化,这样有什么好处 后记 ==== 行文至此,以上就是Free-excel教程的全部内容,整个教程的编写过程中也广泛的参阅了各式各样的Excel教程,尽力让本教程变得轻松易学,希望读者能掌握相关的Excel技巧,并能灵活的运用到工作中,面对数字化社会,数据将渗透到生活的点点滴滴,拥抱数字,同时也拥抱变化。 --作者:牧小熊,Datawhale成员,数据分析师 ================================================ FILE: source/Content/chap2.rst ================================================ .. _header-n0: 第二章 Excel的快捷操作 ====================== 在本节中我们将了解Excel中的各种快捷操作,目前已知的Excel快捷操作键有230个,本篇重点介绍那些常用的Excel快捷操作键。 .. _header-n2: 1.Excel快捷操作简介 ------------------- .. _header-n9: 1.1文件相关 ~~~~~~~~~~~ - ``Ctrl`` + ``N`` 创建一个新的Excel工作簿 - ``Ctrl`` + ``w`` 关闭当前工作簿 - ``Ctrl`` + ``S`` 保存当前的Excel工作簿 - ``F12`` 将当前文件进行另存为 - ``Ctrl`` + ``p`` 打印当前工作表 .. _header-n29: 1.2通用快捷键 ~~~~~~~~~~~~~ - ``Ctrl`` + ``z`` 撤销当前操作 - ``Ctrl`` + ``Y`` 恢复撤销,可以用这个快捷键恢复被撤消的操作 - ``Ctrl`` + ``C`` 复制所选单元格 - ``Ctrl`` + ``x`` 剪切所选单元格 - ``Ctrl`` + ``v`` 粘贴所选单元格 - ``Ctrl`` + ``F`` 弹出查找和替换对话框 - ``Ctrl`` + ``G`` 显示定位对话框 .. _header-n50: 1.3表格选择 ~~~~~~~~~~~ - ``Ctrl`` + ``A`` 全选表格 - ``Ctrl`` + ``→`` 移动到数据区域的右边缘 - ``Ctrl`` + ``←`` 移动到数据区域的左边缘 - ``Ctrl`` + ``↑`` 移动到数据区域的上边缘 - ``Ctrl`` + ``↓`` 移动到数据区域的下边缘 .. _header-n72: 1.4单元格编辑 ~~~~~~~~~~~~~ - ``F2`` 编辑当前单元格(跟双击单元格效果一致) - ``Alt`` + ``Enter`` 在当前单元格内换行 (直接按 ``Enter``\ 会跳转到下一行) - ``Enter`` 下移一个单元格 - ``Shift`` + ``Enter`` 上移一个单元格 - ``Tab`` 右移一个单元格 - ``Shift`` + ``Tab`` 左移一个单元格 - ``Ctrl`` + ``Enter`` 输入完成,并停留在当前单元格 - ``Ctrl`` + ``;``\ (分号) 输入当前日期(显示为年/月/日) - ``Ctrl`` +\ ``Shift`` + ``:`` 输入当前时间 (显示为小时/分钟) - ``Ctrl`` + ``E`` 快速填充 .. _header-n99: 1.5Excel格式化 ~~~~~~~~~~~~~~ - ``Ctrl`` + ``1``\ (数字1) 设置单元格格式 - ``Ctrl`` + ``B`` 加粗或取消加粗 - ``Ctrl`` + ``i`` 加斜体或取消斜体 .. _header-n116: 1.6Excel公式 ~~~~~~~~~~~~ - ``F4`` 绝对引用和相对引用切换 - ``Alt``\ +\ ``=`` 自动插入求和公式 .. _header-n3: 2.Excel快捷操作实践 ------------------- .. _header-n126: 2.1自动插入求和公式 ~~~~~~~~~~~~~~~~~~~ 打开文件\ ``data/chap2/2.1.xlsx``\ ,点击【案例1】 1.选中案例1中的表格区域(\ **注意这里要把汇总的那一行也选上**\ ) 2.使用快捷键\ ``Alt``\ +\ ``=`` ,自动插入求和公式,可以看到,对上述的Excel表格区域进行自动求和。 .. figure:: ../_static/chap2/2.1.gif :alt: .. _header-n4: 2.2自动进行列差异比对 ~~~~~~~~~~~~~~~~~~~~~ 打开文件\ ``data/chap2/2.2.xlsx``\ ,点击【案例1】,我们现在的任务是找到1月和2月客户数不同的区域,如何快速定位? 1.选中需要进行列差异比对的区域,注意选择顺序从左往右 2.使用快捷键\ ``ctrl``\ +\ ``\`` (**注意不是"/"**),可以快速定位到区域4、区域8以及区域10所对应的客户数不同 3.选择填充颜色,即可快速显示两列的差异 注意这里的选择方向,从右往左选择,那么默认最右边为参考标准,其他列的数据可参考标准比较,如果从左往右选择,那最左边就是参考标准,其他的操作同上。 .. figure:: ../_static/chap2/2.2.gif :alt: .. _header-n137: 2.3自动填充 ~~~~~~~~~~~ 在excel中很多重复、繁琐的工作由数据提取和数据合并这类问题造成,\ **2013年以后的Excel**\ 支持智能填充,能灵活的解决这类问题。需要注意的是,自动填充的数据需要是同一个规范数据才可以完成自动填充。 打开文件\ ``data/chap2/2.3.xlsx``\ ,点击【案例1】,需要提取客户的手机号 1.手动提取客户1的手机号,并输入到【B2】 2.选择需要快速填充的列,也就是【B2-B11】 3.按\ ``ctrl``\ +\ ``E``\ 进行自动填充 .. figure:: ../_static/chap2/2.3.gif :alt: .. _header-n167: 练习 ---- 1.完成\ ``data/chap2/2.1.xlsx``\ 工作簿中的【案例2】【案例3】的快捷键自动求和任务 2.完成\ ``data/chap2/2.2.xlsx``\ 工作簿中的【案例2】【案例3】的多行快速比对任务(提示:需要选中所有待比对表格框) 3.完成\ ``data/chap2/2.3.xlsx``\ 工作簿中的【案例2】【案例3】【案例4】的填充任务 ================================================ FILE: source/Content/chap3.rst ================================================ .. _header-n0: 第三章 Excel的表合并 ==================== 当遇到需要将多个表的行记录合并在一起的时候,我们一般会手动复制粘贴,这会带来很多重复繁琐的操作,并且容易出错,可以使用Excel的合并计算工具来快速完成。 .. _header-n4: 1.多表行合并 ------------ 打开文件\ ``data/chap3/3.1.xlsx``\ ,点击【案例1】可以看到有3个消费表格,每个客户的消费金额不同,现在需要你统计每个客户在消费的总金额。 一般的操作方法是将这3个数据复制粘贴,那么有没有更加优雅的方法呢?这里推荐使用合并计算 **1.选择需要汇总的单元格起点** **2.选择Excel中的数据栏** **3.找到数据栏中的合并计算块** **4.选择合并计算函数中的求和** **5.点击引用位置右侧的引用项** **6.选择第一个数据表所在的范围** **7.点击添加** **8.将3个数据表添加到所有引用位置** **9.选择标签位置信息** **10.点击完成** 可以看到完成了所有客户消费金额的求和计算~ .. figure:: ../_static/chap3/3.1.gif :alt: .. _header-n19: 2.多表列合并 ------------ 打开文件\ ``data/chap3/3.1.xlsx``\ ,点击【案例2】可以看到有3个不同的消费表格,每个客户的消费金额不同,现在需要你统计每个客户在3个不同消费的总金额。 使用合并计算选择3个不同项目的数据区域 .. figure:: ../_static/chap3/3.2.gif :alt: .. _header-n23: 练习 ---- 1.选择\ ``data/chap3/3.1.xlsx``\ 工作簿中的【案例1】得到不同客户的消费次数 2.选择\ ``data/chap3/3.1.xlsx``\ 工作簿中的【案例2】得到不同客户的不同项目的消费次数 ================================================ FILE: source/Content/chap4.rst ================================================ .. _header-n0: 第四章 Excel函数-逻辑判断 ========================= Excel中有着非常丰富的函数,这些函数能大幅度提升我们的工作效率,本节中会重点介绍一些常用的Excel函数。 .. _header-n4: 1.if函数 -------- 打开文件\ ``data/chap4/4.1.xlsx``\ ,点击【案例1】,现在需要对客户的原始得分进行校正,当客户的原始得分为负时,校正为0 针对上面遇到的问题,可以使用IF函数,Excel函数用法如下 【IF函数】\ **=IF(判断条件,如果满足则,如果不满足则)** 针对遇到的问题,那么在C2单元格中输入 **=IF(B2<0,0,B2)** ----> **注意,这里的逗号要使用英文的逗号** 那么这个公式是什么意思呢?判断B2单元格是不是小于0,如果是,则C2单元格为0,如果不是则返回B2单元格的值,可以看到C2单元格实际返回值为0,这是因为B2的值为-1,满足判断条件,因此C2单元格返回为0 那么如何进行公式批量填充呢? 这里推荐一个比较优雅的方法 1.在C2单元格写Excel公式 2.选择需要填充公式的区域,包括C2单元格 3.点击C2单元格,进入公式编辑状态 4.使用快捷键\ ``CTRL``\ +\ ``Enter``\ 进行批量填充 .. figure:: ../_static/chap4/4.1.gif :alt: 打开文件\ ``data/chap4/4.1.xlsx``\ ,点击【案例2】,现在有客户的1月、2月消费金额,如果客户2个月的消费金额都超过400,那么就认为这个客户为高消费客户。 这里与5.1中的案例不同,需要IF函数与逻辑函数进行配合 【AND函数】\ **=AND(条件1,条件2,...)** 【OR函数】\ **=OR(条件,条件2,...)** AND函数,需要所有条件全部满足,才返还TRUE,OR函数,所有条件中只要有1个条件满足,就返还TRUE 针对遇到的问题,那么在D2单元格中输入 **=IF(AND(B2>400,C2>400),"高消费客户","")** -----> 这里""代表返回空值 随后对整列的函数进行填充,具体填充方法见5.1中详解 .. figure:: ../_static/chap4/4.2.gif :alt: .. _header-n27: 2.ifs函数 --------- 打开文件\ ``data/chap4/4.1.xlsx``\ ,点击【案例3】,有员工的相关考核分,考核得分在4.8分以上,优秀;考核得分在3.5-4.7分,良好;考核得分在0-3.4分,一般。 这里可以使用IFS函数,具体用法为 【IFS函数】=IFS(判断条件1,如果满足条件1则,判断条件2,如果满足条件2则) 针对遇到的问题,则可以在C2单元格输入 **=IFS(B3<=3.4,"一般",AND(B3>=3.5,B3<=4.7),"良好",B3>=4.8,"优秀")** 对整列数据进行函数填充 .. figure:: ../_static/chap4/4.3.gif :alt: .. _header-n35: 3.sumif函数 ----------- 在Excel数据任务处理中,会遇到大量的求和的任务,SUMIF函数在求和任务中具有天然优势,因此在本节中将详细的讲解SUMIF函数的相关用法 【SUMIF函数】=SUMIF(条件区域,求和条件,[实际求和区域]) --->实际求和区域位选择条件 .. _header-n39: 案例1 ~~~~~ 打开\ ``data/chap4/4.2xlsx``\ 中的【案例1】现在有几名同学的考试成绩,现在想统计数学成绩在90分以上的成绩之和 那么可以输入如下的函数公式 **=SUMIF(B:B,">=90",B:B)** 第一个参数为条件区域,因为要判断数学成绩,所以这里选择B列,当然这里也可以修改为实际的区域B2:B12 第二个参数为判定条件,判定条件为大于等于90 第三个参数为实际求和区,这是选填参数 .. figure:: ../_static/chap4/4.4.gif :alt: .. _header-n47: 案例2 ~~~~~ 打开\ ``data/chap4/4.2xlsx``\ 中的【案例2】,现在想统计小米系列的产品销售额 SUMIF函数支持模糊匹配,因此我们输入如下公式 **=SUMIF(B:B,"小米*",C:C)** 使用小米*匹配所有的小米系产品 .. figure:: ../_static/chap4/4.5.gif :alt: .. _header-n53: 案例3 ~~~~~ 打开\ ``data/chap4/4.2xlsx``\ 中的【案例3】,现在想统计1月-3月的预计销售额预计销售和实际销售额 因此可以巧用SUMIF函数,将条件区域进行横向选择,条件选择自己需要的字段,因此输入如下两个函数公式,并向下拖拽填充其他位置 ``=SUMIF($B$2:$G$2,I$2,B3:G3)`` ``=SUMIF($B$2:$G$2,H$2,B3:G3)`` ``$``\ 在Excel中是绝对引用,公式中引用的单元格如果使用绝对引用 ``$``\ ,那么向下拖拽的过程中,这个单元格不会增加。 .. figure:: ../_static/chap4/4.6.png :alt: 例如,在J3单元格中输入\ ``=C3``\ ,在K3单元格中输入\ ``=$C$3``\ 并向下拖拽进行公式填充,观察区别 发现,如果使用绝对引用,引用格式值并不会随着公式的拖拽而改变,这就是绝对引用与非绝对引用的区别。 .. figure:: ../_static/chap4/4.7.gif :alt: .. _header-n63: 案例4 ~~~~~ 打开\ ``data/chap4/4.2xlsx``\ 中的【案例4】,现在需要统计语文成绩在80分以上,90分以下同学的数学成绩之和 那么遇到这种情况应该怎么处理呢?相比于前面的案例,这里有2个筛选条件,而SUMIF函数无法满足需求,这里可以使用SUMIFS函数 【SUMIFS函数】=SUMIFS(条件区域1,条件1,条件区域2,条件2) 因此写如下函数公式 **=SUMIFS(C2:C13,B2:B13,">80",B2:B13,"<90")** 因为要求数学成绩,所以第一个参数为C2:C13,而筛选条件为语文,因此条件区域为B2:B13 .. figure:: ../_static/chap4/4.8.gif :alt: .. _header-n71: 4.countifs函数 -------------- 打开\ ``data/chap4/4.2xlsx``\ 中的【案例5】,现在需要统计语文成绩超过60,数学成绩超过65,英语成绩超过70的同学个数 那么遇到这种情况应该怎么处理呢?其实countifs函数与sumifs函数用法非常接近,求满足所有条件的个数 【COUNTIFS函数】=COUNTIFS(条件区域1,条件1,条件区域2,条件2) 因此写如下函数公式 **=COUNTIFS(B2:B13,">60",C2:C13,">65",D2:D13,">70")** .. figure:: ../_static/chap4/4.9.gif :alt: .. _header-n78: 练习 ---- 1.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例1】,将客户原始得分为1以下的校正为0 2.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例2】,客户1月2月中只要有1个月消费超过400,即为"高消费客户" 3.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例3】,能否不使用IFS函数,使用IF函数通过嵌套完成相应的务。 4.打开\ ``data/chap4/4.2xlsx``\ 中的【案例1】语文成绩在80分以上的同学成绩之和 5.打开\ ``data/chap4/4.2xlsx``\ 中的【案例2】统计所有苹果系列产品的销售额 6.打开\ ``data/chap4/4.2xlsx``\ 中的【案例6】完成所有手机的销售额求和 ================================================ FILE: source/Content/chap5.rst ================================================ 第五章 Excel函数-文本函数 ========================= 1.Text函数 ---------- Text函数可以将数值转换为指定格式的文本,其语法格式为TEXT(value,format_text) 【TEXT函数】=TEXT(值,自定义数字格式代码) 案例1 ~~~~~ 打开\ ``data/chap5/5.1.xlsx``\ ,点击【案例1】,将客户的消费日期和消费金额转成大写 针对遇到的问题,那么在D2单元格中输入 **=TEXT(C2,"[DBNUM2]")** ----> **注意,这里的逗号要使用英文的逗号** 在E2单元格中输入 **=TEXT(A2,"[DBNUM1]yyyy年m月d日")** DBNUM1和DBNUM2为2种常见的中文格式,一般金额用DBNUM2,日期用DBNUM1 .. figure:: ../_static/chap5/5.1.gif :alt: 案例2 ~~~~~ 打开\ ``data/chap5/5.1.xlsx``\ ,点击【案例2】,将客户的消费日期转换为周次,即星期几 针对遇到的问题,那么在D2单元格中输入 **=TEXT(A2,"aaaa")** .. figure:: ../_static/chap5/5.2.gif :alt: 案例3 ~~~~~ 打开\ ``data/chap5/5.1.xlsx``\ ,点击【案例3】,取客户消费的年、月、日 针对遇到的问题,那么在D2单元格中输入 **=TEXT(A2,"yyyy")** 或者 **=TEXT(A2,"e")** 在E2单元格中输入 **=TEXT(A2,"m")** 或者 **=TEXT(A2,"mm")** 注意.这2种格式是有区别的 在F2单元格中输入 **=TEXT(A2,"d")** 或者 **=TEXT(A2,"dd")** .. figure:: ../_static/chap5/5.3.gif :alt: 2.mid函数 --------- 打开\ ``data/chap5/5.2.xlsx``\ ,点击【案例1】,提取身份证中的生日,并转换成2022年12月4日这种格式 面对这个问题,可以使用mid函数提取生日 【MID函数】=MID(text,start\ *num,num*\ chars) test:为要提取的文本字符串 start_num:为文本中要提取的第一个字符串的位置 num_chars为提取字符串的长度 因此可以在B2中输入 因为生日是8位数字,所以最后一个参数填8 **=MID(A2,7,8)** 在C2中输入格式化的生日 **=TEXT(MID(A2,7,8),"0000年00月00日")** 问题:这里TEXT函数格式为什么没有使用yyyy年mm月dd日 这种格式? 因为MID(A2,7,8)提取出来的是文本,不是日期,因此Excel无法识别日期的年月,所以用数字格式进行代替 .. figure:: ../_static/chap5/5.4.gif :alt: 文本提取中相似的函数有LEFT,RIGHT LEFT函数,以字符串左侧为起始位置,返回指定数量的字符 【LEFT函数】=MID(text,,num_chars) text:要提取的字符串或单元格引用; num_chars:要提取的字符数量 RIGHT函数,从字符串右侧首字符开始,从右向左提取指定的字符,其功能和LEFT函数完全一样,只是方向不同 【RIGHT函数】=MID(text,num_chars) text:要提取的字符串或单元格引用; num_chars:要提取的字符数量 3.replace函数 ------------- 打开\ ``data/chap5/5.2.xlsx``\ ,点击【案例2】,现在需要将Excel表格打印,为了不泄露客户电话号码,需要将电话后5位进行屏蔽 REPLACEI函数作用:把一个文本字符串,人为指定一个位置,用定个数新字符进行替换。 【REPLACEI函数】=REPLACEI(old\ *text,start*\ num,num\ *chars,new*\ text) old_text:需要替换的文本 start_num:需要替换文本的开始位置 num_chars:替换文本的长度 new_text:替换内容 因此可以在B2单元格中输入 **=REPLACE(A2,11,5,"#####")** .. figure:: ../_static/chap5/5.5.gif :alt: 练习 ---- 1.完成\ ``data/chap5/5.1.xlsx``\ 工作簿中的【案例1-3】 2.完成\ ``data/chap5/5.2.xlsx``\ 工作簿中的【案例1】中身份证后6位加密 ================================================ FILE: source/Content/chap6.rst ================================================ .. _header-n0: 第六章 Excel函数-查找函数 ========================= VLOOKUP是经典的查找与引用函数,在Excel数据查询任务中有多种用途。XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,\ **非常推荐大家使用XLOOKUP函数**\ ,如果自己的电脑Excel不是最新版不支持XLOOKUP函数,也可以来学习VLOOKUP函数。 .. 在本节教程中会重点介绍XLOOKUP函数的相关用法,对于VLOOKUP不好解决,XLOOKUP能解决的问题放在了【案例5】、【案例6】、【案例7】 .. _header-n6: 1.VLOOKUP --------- .. _header-n7: 案例1 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,点击【案例1】,根据岗位编号,得到该员工的应发工资 针对这个问题,可以使用VLOOKUP函数 【VLOOKUP函数】\ **=VLOOKUP(要查找的值,查找区域,要返回的结果在查找区域的第几列,精确匹配或近似匹配)** **在L3单元格中输入如下公式** **=VLOOKUP(K2,A2:H50,8,FALSE)** 因为应发工资在整个单元格中的第8列,所以第3个参数为8,第4个参数选择TRUE或者FALSE,TRUE为模糊匹配,FALSE为精确匹配,因此第4个参数选择为FALSE, 有的EXCEL版本第4个参数是0是精确查找,1是精确匹配,根据实际情况输入即可。 .. figure:: ../_static/chap6/6.1.gif :alt: .. _header-n15: 案例2 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,点击【案例2】,根据岗位编号,得到该员工的应发工资 在案例2的任务中我们发现,这里的员工的编号位于最后一列,那么应该如何处理呢? 如果按照正常的VLOOKUP的函数用法在L2单元格输入=VLOOKUP(K2,A2:H19,7,FALSE),输入后会发现并没有安装预期得到应发工资。 .. figure:: ../_static/chap6/6.2.gif :alt: 这是因为VLOOKUP函数的限制,必须查找的区域在被查找值的左侧,当然这里有其他的办法解决。 这里用到了换列的小技巧,如果感兴趣可以看相关文章,\ `Excel技巧:一文搞懂 IF{1,0} 的用法 `__ 那么在L2中输入如下函数 **=VLOOKUP(K2,IF({1,0},H2:H19,G2:G19),2,FALSE)** 这个函数中,将G2:G17列与H2:H19列做成了一个临时数据组,并让这2列交换位置,这样G2:G19列就在临时数组中的第2列,因此VLOOKUP中第3个参数为2 .. figure:: ../_static/chap6/6.3.gif :alt: .. _header-n26: 案例3 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,点击【案例3】,根据性别与部门信息,获得员工编号 案例3的任务与前面不同的是,无法只通过1个信息完全定位到员工编号,因此这里使用了一个技巧,在L3单元格中输入 **=VLOOKUP(J2&K2,IF({1,0},C2:C20&D2:D20,A2:A20),2,0)** 细心的同学可能发现了其中的技巧,就是将多个条件通过&连接成一个字符串,同时将待查找的数据也连接起来,从而通过这个连接的特殊字符来查找数据 .. figure:: ../_static/chap6/6.4.gif :alt: .. _header-n32: 案例4 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,点击【案例4】,当不知道具体的信息,需要进行模糊查询 那么如何使用VLOOKUP进行模糊查询呢? **=VLOOKUP("*"&K2,A2:F20,2,0)** Excel中的通配符匹配规则见如下,因为DW为2个字符,我们选择\* 还记得第四章中的SUMIFS函数中的案例,计算小米系列的销量中,我们就使用了通配符 .. figure:: ../_static/chap6/6.5.png :alt: .. figure:: ../_static/chap6/6.6.gif :alt: .. _header-n39: 2 XLOOKUP --------- XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,\ **非常推荐大家使用XLOOKUP函数**\ ,如果不能支持这个函数也不用灰心,使用VLOOKUP函数也能完成绝大多数查询问题 因为XLOOKUP函数功能非常强大,因此在本节中对函数进行讲解 【XLOOKUP函数】\ **==XLOOKUP(想要查找值, 想要在哪个数据区域中查找, 要返回的数据区域,, [if\ not\ found], [match\ mode], [search\ mode])** 第四参数(可选参数):if\ *not*\ found,找不到结果,就返回第四参数,如果省略第四参数函数默认返回#N/A这个错误值 第五参数(可选参数):match_mode,指定匹配类型 参数为:0 ,精确匹配,未找到结果,返回 #N/A。 这是默认选项。 参数为:-1,近似匹配,未找到结果,返回下一个较小的项。 参数为:1,近似匹配,未找到结果,返回下一个较大的项。 参数为:2 ,通配符匹配 第六参数(可选参数):search_mode, 指定要使用的搜索模式 参数为:1,从第一项开始执行搜索。 这是默认选项。 参数为:-1,从最后一项开始执行反向搜索。 参数为:2,根据 lookup_array 按升序排序的二进制搜索。 如果未排序,将返回无效结果。 参数为:-2,根据lookup_array 按降序排序的二进制搜索。 如果未排序,将返回无效结果。 .. _header-n55: 案例1 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例1】 我们在M2单元格中输入如下公式 **=XLOOKUP(K2,A1:A50,H1:H50)** 第1个K2 就是需要查询的岗位编号DW0005 第2个参数为A1:A50,也就是要查哪一列,\ **细心的同学已经注意到这里与VLOOKUP的不同** 第3个参数就是需要返回的哪一列,也就是返回H列 .. _header-n62: 案例2 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例2】 我们在L2单元格中输入如下公式 **=XLOOKUP(J2,H1:H19,G1:G19)** 细心的同学就发现上面的公式中没有用到列的转换,这个公式的可读性非常强,这是就是XLOOKUP比VLOOKUP更加强大的地方 .. _header-n67: 案例3 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例3】 我们在M2单元格中输入如下公式 **=XLOOKUP(J2&K2,C1:C20&D1:D20,A1:A20)** 在XLOOKUP中的多条件查找,只需要使用\ **&**\ ,将多个条件的信息连接起来即可,非常的方便 .. _header-n72: 案例4 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例4】 我们在M2单元格中输入如下公式 **=XLOOKUP("*"&K2,A2:A20,B2:B20,,2)** 在使用XLOOKUP进行通配符查找事,需要指定第5个参数为2,即告诉XLOOKUP需要用通配符进行查找,这里是好VLOOKUP不同的地方 具体通配符用法,可见1.4的讲解 .. _header-n78: 案例5 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例5】,姓名6在数据表中出现了2次,想知道他的最后销售额应该怎么操作? 我们在I2单元格中输入如下公式 **=XLOOKUP(H2,B1:B20,F1:F20,0,0,-1)** 前3个参数想必大家已经很熟悉了,第4个参数是0,就是当XLOOKUP查找不到时,就返回0,第5个参数是0,就是选择精确匹配,第6个参数选择搜索参数,这里选择-1,从后开始往前搜索,因此这样设置就能获得正确结果。 .. _header-n83: 案例6 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例6】,这里有4个人,现在想知道这4个人的最大销售额 **=MAX(XLOOKUP(H2:H5,B2:B20,F2:F20,0,0,1))** 先通过XLOOKUP批量查找这4个人销售额,再通过MAX函数,求这4个人中的最大的销售额。 .. figure:: ../_static/chap6/6.7.gif :alt: .. _header-n88: 案例7 ~~~~~ 打开文件\ ``data/chap6/6.1xlsx``\ ,一起来实现【案例7】,当数据集以横向形式时,如果查询到需要的数据 在C2单元格中输入如下公式 **=XLOOKUP(B6,B2:L2,B1:L1)** 细心的同学发现,横向数据的查询方法与纵向数据并无太大区别 .. figure:: ../_static/chap6/6.8.gif :alt: .. _header-n94: 练习 ---- 1.选择VLOOKUP和XLOOKUP这2种函数中的一种,完成\ ``data/chap6/6.1xlsx``\ 中的【案例1-4】 ================================================ FILE: source/Content/chap7.rst ================================================ .. _header-n98: 第七章 Excel函数-动态函数 ========================= 在本节中会讲解一些Excel更新的动态函数,从而帮助大家更好的掌握Excel的数据处理与分析 .. _header-n102: 1.FILTER函数 ------------ 在工作中,我们需要根据指定的条件,将符合条件的所有记录从数据源表格式查找过来,一是可以用高级筛选。但高级筛选在查询下一个单位时 ,需要重新设置一次,很麻烦。二是用函数公式查询。典型的套路有:INDEX+SMALL+ROW、或者LOOKUP+COUNTIF+OFFSET,而这样的方法对初学者非常不友好,而EXCEL新更新的感受FILTER可以很好的解决这个问题。 【FILTER】函数=FILTER(数据区域,筛选条件,[无满足条件的记录时返回的值]) 接下来就看看FILTER的实际应用案例 .. _header-n107: 案例1 ~~~~~ 打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】 获得湖北区的相关数据 在J2单元格中输入 **=FILTER(A2:G30,C2:C30="湖北区")** 注意数据区域不包含标题 生成的数据的动态数组(WPS由于不兼容动态数组,稍微和Excel有点区别,会产生数据溢出的情况) .. figure:: ../_static/chap7/7.1.gif :alt: .. _header-n114: 案例2 ~~~~~ 打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】 如果在实际的任务中不需要所有的列,只需要其中的几行,那么应该怎么操作? 可以在K2单元格中输入 **=FILTER(F2:G30,C2:C30="湖北区")** 细心的同学就发现了这里与7.1.1中的不同,如果需要返回其中的几行,只需要将数据区域修改为自己需要的区域即可 现在需要知道湖北区的最大销售金额是多少 **=MAX(FILTER(F2:F30,C2:C30="湖北区"))** .. figure:: ../_static/chap7/7.2.gif :alt: .. _header-n123: 案例3 ~~~~~ 打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】 FILTER函数中的多条件筛选,使用\ ``+``\ 来表示或,使用\ ``*``\ 表示且 例如,需要计算湖北区、湖南区大最大销售金额,那么函数公式为 **=MAX(FILTER(F2:F30,(C2:C30="湖北区")+(C2:C30="湖南区")))** .. figure:: ../_static/chap7/7.3.gif :alt: 例如,需要计算湖北区商品2的最大销售金额,那么函数公式为 **=MAX(FILTER(F2:F30,(C2:C30="湖北区")*(D2:D30="商品2")))** .. figure:: ../_static/chap7/7.4.gif :alt: .. _header-n132: 2.SUBTOTAL函数 -------------- Excel中有数据筛选非常好用,那么,如果想统计筛选后的结果应该怎么弄?例如想知道筛选后的销售总额 打开\ ``data/chap7/7.2xlsx``\ 中的案例1,使用筛选选择不同的区,而SUM求和并没有变化 如果想实现上述需求,可以使用【SUBTOTAL函数】 【SUBTOTAL函数】=SUBTOTAL(功能函数,选择区域) 功能函数 数字 1-11 或 101-111,用于指定要为分类汇总使用的函数。 如果使用 1-11,将包括手动隐藏的行,如果使用 101-111,则排除手动隐藏的行;始终排除已筛选掉的单元格。详见附件1 在J2单元格中输入如下公式 **=SUBTOTAL(9,F2:F21)** 可以看到SUBTOTAL对筛选的数据列进行正确的求和,而SUM无法跟随选择的数据列进行正确求和 .. figure:: ../_static/chap7/7.5.gif :alt: 【附件1】 .. figure:: ../_static/chap7/7.6.png :alt: 练习 ---- 1.打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】计算河北区中商品1的最小销售额 2.打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】计算湖北中什么渠道下的什么商品具有最高销售额 ================================================ FILE: source/Content/chap8.rst ================================================ .. _header-n0: 第八章Excel数据可视化 ===================== 对于Excel中的数据可视化,相信各位读者应该能很熟练的使用,使用Excel汇总各种类型图,包括柱状图、折线图等等,从而让数据进行图形化展示。基于此,本节中对Excel中的数据作图部分不做展开讲解,本节更加偏重于讲解另一类辅助数据可视化的部分。 .. _header-n4: 1 条形图 ======== 打开\ ``data/chap8/8.1xlsx``\ 中的【案例1】,现在有湖北区2022/01/01的不同商品的销售额,怎么更加直观的展示销售额之间的差别呢? 这里可以使用条形图对销售的金额进展可视化展示 选择【开始】-->【条件格式】-->【数据条】 .. figure:: ../_static/chap8/8.1.gif :alt: 通过对销售金额进行数据条的填充,读者可以很快锁定湖北区2022/01/01销售额中,韩闲具有最高销售额为9442 如果只想显示条形图,不想显示金额应该如果操作? 选择条形图区域--->条件格式--->管理规则 打开管理规则后可以看到,选择设置的规则,点击编辑规则 选择仅显示数据条,当然可以在颜色的地方选择自己喜欢的颜色 选择之后得到如下效果 .. figure:: ../_static/chap8/8.2.gif :alt: .. _header-n16: 2 条件单元格格式 ================ 打开\ ``data/chap8/8.2xlsx``\ ,现在有不同业务员向客户推销商品的相关信息,现在需要将截止日期还没有过今天的标注出来,应该如何操作? EXCEL中【TODAY】函数可以获得当前日期 这里,可以使用Excel中的条件格式进行自动识别 1.选择需要设置条件的列; 2.选择条件格式; 3.选择新建规则 这里选择使用公式确定要设置格式的单元格 因为选择的区域为B2:B10 因此输入的公式满足B2要求,剩余的单元格会自动填充,因此输入的公式为 **=B2>TODAY()** 接下来设置单元格的格式,在本节示范中选择对满足条件的单元格填充为黄色,得到如下效果图 .. figure:: ../_static/chap8/8.3.gif :alt: .. _header-n28: 3 迷你图 ======== 打开\ ``data/chap8/8.3.xlsx``\ 中原始数据,现在知道不同业务员1-12月的销售额,且销售额最差月份以及业务员的销售额的变化趋势,应该怎么操作? 1.确定销售额最差月份 这里可以使用XLOOKUP公式,具体公式为 ``=XLOOKUP(MIN(B2:M2),B2:M2,$B$1:$M$1)`` .. figure:: ../_static/chap8/8.4.gif :alt: 2.在B2插入新的单元格,命名为趋势图 点击插入,找到迷你图部分,选择折线,数据范围选择为C2:N13,防止迷你图的位置选择在B2:B13单元格 .. figure:: ../_static/chap8/8.5.gif :alt: 生成迷你图后,可以在显示处,调整迷你图显示的重要点,这里显示折线中的最低点,通过图中可以看到,蔡勇仁的销售业绩趋势是不断下降,而江宁寒的销售业绩不断上升,迷你图能够很好的展示原数据与数据变化的趋势情况 .. figure:: ../_static/chap8/8.6.gif :alt: .. _header-n39: 练习 ---- 1.选择\ ``data/chap8/8.2.xlsx``\ 工作簿中的【案例1】,对拜访客户数大于5以上的业务员进行黄色填充 ================================================ FILE: source/Content/chap9.rst ================================================ .. _header-n0: 第九章Excel数据透视 ================ 数据透视是Excel中个强大的数据处理和分析工具,能够快速实现数据的汇总与统计分析,本节重点讲解Excel数据透视的相关操作 .. _header-n4: 1Excel数据透视表 ================== 打开\ ``data/chap9/9.1.xlsx``\ 中的数据源,现在对数据源进行数据透视 1.选择插入 2.选择数据透视表 3.选择表格区域 4.选择数据透视表放置的位置 可以看到,在新的数据表中出现了数据透视表 .. figure:: ../_static/chap9/9.1.gif :alt: 例如,想知道不同月份的不同区域销售金额统计情况,可以将区域置于列,月置于行,金额的求和项置于值,即可得到不同区域不同月份的销售金额之和 .. figure:: ../_static/chap9/9.2.gif :alt: 如果又想知道不同店员的销售额怎么办呢? 1.点击数据透视表分析 2.点击插入切片器 3.选择插片器的字段 点击不同的店员,可以直接统计该店员的销售额,这里的插片器相当于直接筛选店员的数据做统计。如果想统计多个店员的数据,可以点击切片器的多选项,可以同时统计多个店员的数据。 .. figure:: ../_static/chap9/9.3.gif :alt: .. _header-n20: 2Excel数据透视图 ================== 打开\ ``data/chap9/9.1.xlsx``\ 中的数据源,现在对数据源进行数据透视图 1.选择插入 2.选择数据透视图 3.选择创建数据透视图,选择数据源作为数据区域 4.选择新工作表 .. figure:: ../_static/chap9/9.5.gif :alt: 选择月为类别,选择区域为图例,选择金额求和作为值,得到如下透视图 .. figure:: ../_static/chap9/9.6.gif :alt: 如果,想切换透视图的类型,可以选择不同的图像类型,例如我们想知道不同月份销售的变化趋势,可以选择为折线图 .. figure:: ../_static/chap9/9.7.gif :alt: 当然数据透视图也支持插片器,同样是选择店员作为切片的条件 .. figure:: ../_static/chap9/9.8.gif :alt: .. _header-n33: 练习 ---- 1.选择\ ``data/chap9/9.1.xlsx``\ 工作簿中的【数据源】绘制不同的透视图 ================================================ FILE: source/Content/index.rst ================================================ ******** 教程 ******** .. toctree:: :maxdepth: 2 chap1 chap2 chap3 chap4 chap5 chap6 chap7 chap8 chap9 chap10 ================================================ FILE: source/Datawhale.rst ================================================ ***************** Datawhale ***************** ``Datawhale`` 是一个专注于 ``AI`` 领域的开源组织,希望构建对学习者最有价值的开源社区。 作为一个由国内外各个高校的教授、学生、企业从业者等创建的开放式组织形态,抱有开源精神和探索精神,愿景:for the learner,和学习者一起成长。 Datawhale官网:https://datawhale.club/ 知乎 ================ https://www.zhihu.com/people/datawhale2018 微信公众号 ================ .. image:: _static/datawhale.jpg :height: 388 px :width: 336 px :scale: 100 % :align: center ================================================ FILE: source/_static/1.txt ================================================ ================================================ FILE: source/_static/css/s4defs-roles.css ================================================ /* * CSS hacks and small modification for my Sphinx website * :copyright: Copyright 2013-2016 Lilian Besson * :license: GPLv3, see LICENSE for details. */ /* Colors and text decoration. For example, :black:`text in black` or :blink:`text blinking` in rST. */ .black { color: black; } .gray { color: gray; } .grey { color: gray; } .silver { color: silver; } .white { color: white; } .maroon { color: maroon; } .red { color: red; } .magenta { color: magenta; } .fuchsia { color: fuchsia; } .pink { color: pink; } .orange { color: orange; } .yellow { color: yellow; } .lime { color: lime; } .green { color: green; } .olive { color: olive; } .teal { color: teal; } .cyan { color: cyan; } .aqua { color: aqua; } .blue { color: blue; } .navy { color: navy; } .purple { color: purple; } .under { text-decoration: underline; } .over { text-decoration: overline; } .blink { text-decoration: blink; } .line { text-decoration: line-through; } .strike { text-decoration: line-through; } .it { font-style: italic; } .ob { font-style: oblique; } .small { font-size: small; } .large { font-size: large; } .smallpar { font-size: small; } /* Style pour les badges en bas de la page. */ div.supportBadges { margin: 1em; text-align: right; } div.supportBadges ul { padding: 0; display: inline; } div.supportBadges li { display: inline; } div.supportBadges a { margin-right: 1px; opacity: 0.6; } div.supportBadges a:hover { opacity: 1; } /* Details elements in the sidebar */ a.reference { border-bottom: none; text-decoration: none; } ul.details { font-size: 80%; } ul.details li p { font-size: 85%; } ul.externallinks { font-size: 85%; } /* Pour le drapeau de langue */ img.languageswitch { width: 50px; height: 32px; margin-left: 5px; vertical-align: bottom; } div.sphinxsidebar { overflow: hidden !important; font-size: 120%; word-wrap: break-word; width: 300px; max-width: 300px; } div.sphinxsidebar h3 { font-size: 125%; } div.sphinxsidebar h4 { font-size: 110%; } div.sphinxsidebar a { font-size: 85%; } /* Image style for scrollUp jQuery plugin */ #scrollUpLeft { bottom: 50px; left: 260px; height: 38px; width: 38px; background: url('//perso.crans.org/besson/_images/.top.svg'); background: url('../_images/.top.svg'); } @media screen and (max-width: 875px) { #scrollUpLeft { right: 50px; left: auto; } } /* responsive for font-size. */ @media (max-width: 875px) { body { font-size: 105%; /* Increase font size for responsive theme */ } } @media (max-width: 1480px) and (min-width: 876px) { body { font-size: 110%; /* Increase font size for not-so-big screens */ } } @media (min-width: 1481px) { body { font-size: 115%; /* Increase even more font size for big screens */ } } /* Social Icons in the sidebar (available: twitter, facebook, linkedin, google+, bitbucket, github) */ .social-icons { display: inline-block; margin: 0; text-align: center; } .social-icons a { background: none no-repeat scroll center top #444444; border: 1px solid #F6F6F6; border-radius: 50% 50% 50% 50%; display: inline-block; height: 35px; width: 35px; margin: 0; text-indent: -9000px; transition: all 0.2s ease 0s; text-align: center; border-bottom: none; } .social-icons li { display: inline-block; list-style-type: none; border-bottom: none; } .social-icons li a { border-bottom: none; } .social-icons a:hover { background-color: #666666; transition: all 0.2s ease 0s; text-decoration: none; } .social-icons a.facebook { background-image: url('../_images/.facebook.png'); background-image: url('//perso.crans.org/besson/_images/.facebook.png'); display: block; margin-left: auto; margin-right: auto; background-size: 35px 35px; } .social-icons a.bitbucket { background-image: url('../_images/.bitbucket.png'); background-image: url('//perso.crans.org/besson/_images/.bitbucket.png'); display: block; margin-left: auto; margin-right: auto; background-size: 35px 35px; } .social-icons li a.github { background-image: url('../_images/.github.png'); background-image: url('//perso.crans.org/besson/_images/.github.png'); display: block; margin-left: auto; margin-right: auto; background-size: 35px 35px; } .social-icons li a.wikipedia { background-image: url('../_images/.wikipedia.png'); background-image: url('//perso.crans.org/besson/_images/.wikipedia.png'); display: block; margin-left: auto; margin-right: auto; background-size: 35px 35px; } ================================================ FILE: source/conf.py ================================================ # Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # # import os # import sys # sys.path.insert(0, os.path.abspath('.')) # -- Project information ----------------------------------------------------- project = 'free-excel' copyright = '2022, Datawhale, 牧小熊' author = '牧小熊' # The full version, including alpha/beta/rc tags release = '2.1' builddir = '../docs' # -- General configuration --------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. exclude_patterns = [] # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = 'pydata_sphinx_theme' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] html_logo = "_static/logo.svg" html_css_files = ['css/s4defs-roles.css'] html_theme_options = { "github_url": "https://github.com/datawhalechina/free-excel", "search_bar_text":"在这里搜索", "show_prev_next": False } ================================================ FILE: source/index.rst ================================================ .. Joyful Pandas documentation master file, created by sphinx-quickstart on Sat Sep 19 16:56:20 2020. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Home ============= .. toctree:: :caption: 框架 :maxdepth: 2 :hidden: 主页 Content/index 作者 Datawhale 练习题参考操作 主页 ============= free excel中文意为自由Excel,源于希望学习者能够通过该教程能够更加自由地使用Excel进行数据分析、数据统计,解放Excel不再为Excel所困。内容上会更加偏实践应用,力求尽可能简单而又具有一定深度。其他很多教程都是按功能模块来讲解,而且还详细的说明每个功能,令人枯燥乏味。Free Excel根据多年工作经验总结而成,很多内容是常用且重要的,同时学完后能加深对Excel的理解。授之以鱼不如授之以渔,让我们开始愉快的Excel之旅吧! 本教程的数据集在 `此处 `__ 下载。 教程大纲 ============= .. image:: _static/home.png :height: 400 px :width: 720 px :scale: 100 % :align: center 更新版本与更新时间 ================== - V1.0 2021-08-08 - V2.0 2022-09-09 - V2.1 2022-11-27 V2.1教程配套Excel版本为2019及以上,请自行装好环境以便操作。如果电脑没有Excel,可以下载WPS进行相关的操作学习。 注:本课程中部分函数为Excel新更新的内容,如果想体验Excel新添加的函数,可将Excel更新至最新版,或将WPS更新至11.1版及以上 ================================================ FILE: source/主页.rst ================================================ 主页 ============= free excel中文意为自由Excel,源于希望学习者能够通过该教程能够更加自由地使用Excel进行数据分析、数据统计,解放Excel不再为Excel所困。内容上会更加偏实践应用,力求尽可能简单而又具有一定深度。其他很多教程都是按功能模块来讲解,而且还详细的说明每个功能,令人枯燥乏味。Free Excel根据多年工作经验总结而成,很多内容是常用且重要的,同时学完后能加深对Excel的理解。授之以鱼不如授之以渔,让我们开始愉快的Excel之旅吧! 本教程的数据集在 `此处 `__ 下载。 教程大纲 ============= .. figure:: _static/home.png :alt: 更新版本与更新时间 ================ - V1.0 2021-08-08 - V2.0 2022-09-09 - V2.1 2022-11-27 V2.1教程配套Excel版本为2019及以上,请自行装好环境以便操作。如果电脑没有Excel,可以下载WPS进行相关的操作学习。 注:本课程中部分函数为Excel新更新的内容,如果想体验Excel新添加的函数,可将Excel更新至最新版,或将WPS更新至11.1版及以上 ================================================ FILE: source/作者.rst ================================================ 作者 ==== 牧小熊,华中农业大学硕士,Datawhale成员,互联网金融数据分析师 开源内容 -------- - `《free-excel》 `_ - `《心跳信号分类》 `_ - `《python自动化办公》 `_ - `《如何打一个数据挖掘比赛- 入门篇》 `_ Github ---------- https://github.com/muxiaoxiong 知乎 ---------- https://www.zhihu.com/people/muxiaoxiong E-mail ---------- 1335008986@qq.com 微信 ---------- .. image:: _static/wechat.jpg :height: 388 px :width: 336 px :scale: 100 % :align: center 知乎咨询 ---------- .. image:: _static/zixun.png :height: 360 px :width: 779 px :scale: 100 % :align: left ================================================ FILE: source/练习题参考操作.rst ================================================ 练习题参考操作 ============== 第一章 ====== 1.1使用Excel数据导入功能,完成\ ``data/chap1/Titanic_normal.csv``\ 和\ ``data/chap1/data/chap1/Titanic_special.txt``\ 数据导入 .. figure:: ./_static/ref/1.1.gif :alt: 1.2完成\ ``data/chap1/2.1.xlsx``\ 中案例1-4中的问题 .. figure:: ./_static/ref/1.2.gif :alt: 第二章 ====== 2.1.完成\ ``data/chap2/2.1.xlsx``\ 工作簿中的【案例2】【案例3】的快捷键自动求和任务 .. figure:: ./_static/ref/2.1.gif :alt: 2.2.完成\ ``data/chap2/2.2.xlsx``\ 工作簿中的【案例2】【案例3】的多行快速比对任务(提示:需要选中所有待比对表格框) .. figure:: ./_static/ref/2.2.gif :alt: 2.3.完成\ ``data/chap2/2.3.xlsx``\ 工作簿中的【案例2】【案例3】【案例4】的填充任务 .. figure:: ./_static/ref/2.3.gif :alt: 第三章 ====== 3.1.选择\ ``data/chap3/3.1.xlsx``\ 工作簿中的【案例1】得到不同客户的消费次数 3.2.选择\ ``data/chap3/3.1.xlsx``\ 工作簿中的【案例2】得到不同客户的不同项目的消费次数 .. figure:: ./_static/ref/3.1.gif :alt: 第四章 ====== 4.1.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例1】,将客户原始得分为1以下的校正为0 4.2.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例2】,客户1月2月中只要有1个月消费超过400,即为"高消费户" 4.3.选择\ ``data/chap4/4.1.xlsx``\ 工作簿中的【案例3】,能否不使用IFS函数,使用IF函数通过嵌套完成相应的务。 .. figure:: ./_static/ref/4.1.gif :alt: 4.4.打开\ ``data/chap4/4.2xlsx``\ 中的【案例1】语文成绩在80分以上的同学成绩之和 4.5.打开\ ``data/chap4/4.2xlsx``\ 中的【案例2】统计所有苹果系列产品的销售额 4.6.打开\ ``data/chap4/4.2xlsx``\ 中的【案例6】完成所有手机的销售额求和 .. figure:: ./_static/ref/4.2.gif :alt: 第五章 ====== 5.1.完成\ ``data/chap5/5.1.xlsx``\ 工作簿中的【案例1-3】 参考教程 5.2.完成\ ``data/chap5/5.2.xlsx``\ 工作簿中的【案例1】中身份证后6位加密 .. figure:: ./_static/ref/5.2.gif :alt: 第六章 ====== 6.1.选择VLOOKUP和XLOOKUP这2种函数中的一种,完成\ ``data/chap6/6.1xlsx``\ 中的【案例1-4】 参考教程 第七章 ====== 7.1.打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】计算河北区中商品1的最小销售额 .. figure:: ./_static/ref/7.1.gif :alt: 7.2.打开\ ``data/chap7/7.1xlsx``\ 中的【案例1】计算湖北中什么渠道下的什么商品具有最高销售额 .. figure:: ./_static/ref/7.2.gif :alt: 第八章 ====== 8.1.选择\ ``data/chap8/8.2.xlsx``\ 工作簿中的【案例1】,对拜访客户数大于5以上的业务员进行黄色填充 .. figure:: ./_static/ref/8.1.gif :alt: 第九章 ====== 9.1.选择\ ``data/chap9/9.1.xlsx``\ 工作簿中的【数据源】绘制不同的透视图 .. figure:: ./_static/ref/9.1.gif :alt: 第十章 ====== 10.1.完成数据看板,需要通过按钮调节周数,同时销售额,订单数以及数据图进行变化 参考教程 ================================================ FILE: 历史版本/V2.0/0. 前言.md ================================================ # 前言 本项目是在Datawhale的Free-Excel开源项目的基础上进行了内容的修订与整合,对Excel的应用特别是数据分析领域进行更加系统的总结与整合,使整体项目内容更加系统化,专业化。 Excel作为小批量数据(百万条以下)的数据处理工具,被大家广泛的应用,同时Excel本身具备多种多样的功能,目前市面上的Excel教程大多冗余且复杂,非常容易打击学习者的热情。本开源项目基于个人的学习心得以及Datawhale的简杨君的Excel框架进行内容的删改,包含有Excel从数据获取、数据清洗、数据可视化、数据透视以及数据看板全套数据分析流程,详细修订后的项目能帮助到更多的数据从业人员。 # 项目历史 - 2022-04-15 启动Free-Excel项目重新编写 - 2022-05-16 完成项目的大纲构建与完成时间节点 - 2022-07-16更新第一章数据缘何而来 - 2022-08-09更新第二章Excel数据格式 - 2022-08-10更新第三章Excel的快捷操作 - 2022-08-15更新第四章Excel的表合并 - 2022-08-21更新第五章 Excel的函数1 - 2022-08-25更新第六章 Excel的函数2 - 2022-09-01更新第七章 Excel的函数3 - 2022-09-04更新第八章 Excel数据可视化 - 2022-09-05更新第九章 Excel数据透视 - 2022-09-08更新第十章 Excel看板 # 项目大纲 - 第一章数据缘何而来 - 1.1 了解Excel - 1.2 从文件导入数据 - 1.3 从网页导入数据 - 第二章Excel数据格式 - 2.1 单元格数据类型 - 2.2 单元格格式 - 2.3 转换单元格数据 - 第三章Excel的快捷操作 - 3.1 快捷键简介 - 3.2 Excel快捷键实践 - 第四章Excel的表合并 - 4.1 多表行合并 - 4.2 多表列合并 - 第五章Excel的函数1 - 5.1 if函数 - 5.2 if函数与复杂逻辑 - 5.3 ifs函数 - 第六章Excel的函数2 - 6.1 VLOOKUP - 6.2 XLOOKUP - 第七章Excel的函数3 - 7.1 FILTER - 7.2 SUMIF函数 - 7.3 SUBTOTAL函数 - 第八章Excel数据可视化 - 8.1 条形图 - 8.2 条件单元格格式 - 8.3 迷你图 - 第九章Excel数据透视 - 9.1 Excel数据透视表 - 9.2 Excel数据透视图 - 第十章Excel数据看板 ## 关注作者 > 牧小熊,datawhale成员,华中农业大学硕士,招联金融数据分析师 > > github:https://github.com/muxiaoxiong > > 知乎:https://www.zhihu.com/people/muxiaoxiong ================================================ FILE: 历史版本/V2.0/1. 数据缘何而来.md ================================================ ## 1. 数据缘何而来 > 在本节中,我们将了解到Excel中的一些基础概念与不同的数据获取方法 Execel是我们常见的用来进行数据处理的工具,其中Excel文件主要包含有2种格式分别是`xls`或`xlsx`,`xls`和`xlsx`主要区别如下: | xls | xlsx | | :------------------------------------ | ------------------------------ | | 97-2003版 | 2007之后版 | | 只能打开xls格式,无法直接打开xlsx格式 | 可以直接打开xls、xlsx格式 | | 只有65536行、256列 | 可以有1048576行、16384列 | | 占用空间大 | 占用空间小,运算速度也会快一点 | 因此,推荐大家使用最新版本的Excel或者WPS进行相关的学习与操作。 ### 1.1 了解Excel #### 1.1.1 文件 Excel文每个数据文件叫做工作簿,每个工作簿里面含有多个工作表,每个工作表里面的格子叫做单元格。 在Excel中点击新建文档后,Excel默认的文档名称是工作簿1,也就是一个Excel文档,就是一个工作簿 ![1.1](images/chap1/1.1.png) 在新建的工作簿中,可以看到左下方有`Sheet1`的标签,每个工作簿里面可以含有多个工作表,Excel表中最大支持255个工作表 ![1.2](images/chap1/1.2.png) 单元格就是工作表中间每一个格子 ![1.3](images/chap1/1.3.png) #### 1.1.2 工具栏 * 文件:文件相关操作,导入、导出、文件加密等。 * 开始:单元格常用的操作集合。 * 插入:插入表格、图片、图表、文件、文本、符号等。 * 页面布局:用户表格主题以及打印页面设置。 * 公式:Excel所有的公式函数查询使用。 * 数据:数据排序、筛选、转换操作工具。 * 审阅:添加批注及数据工作表保护。 * 视图:窗口管理 * 帮助:帮助文档说明。 * 第三方插件:Excel增强插件。 ![1.4](images/chap1/1.4.png) 如果希望在Excel中导入第三方插件,可以点击`文件`-->`选项`-->`自定义功能区`点击右侧的√,即可导入相关模块 ![1.5](images/chap1/1.5.png) ### 1.2 从文件导入数据 Excel提供从文件导入到工作簿当中,支持.txt或csv文件,操作路径为菜单栏选择:**数据-获取和转换数据-从文件/CSV**。选择data/文件后进入预览框,预览框有三个参数供选择分别是: * 文件原始格式:默认`936:简体中文(GB2312)` * 分隔符:csv文件的分割符为`,`(逗号) * 数据类型检测:查看数据集的情况。 ![1.6](images/chap1/1.6.png) 点击**加载**后可以看到我们导入的数据集,接着按快捷键`ctrl+s`保存工作簿到本地。 ![1.7](images/chap1/1.7.png) 至此我们已经成功加载数据集到工作表当中,需要注意的是此时构建的数据表跟原始数据是存在连接关系,更改csv文件的数据后在点击路径:**设计-外部表数据-刷新**后就可以更新工作表数据。如果要取消链接关系则点击路径:**设计-外部数据表-取消链接**即可。 ![1.8](images/chap1/1.8.png) ![1.9](images/chap1/1.9.png) ### 1.3 从网页导入数据 Excel可以从外部网页数据中获取表格数据,以中超积分榜数据为例,用浏览器访问`https://soccer.stats.qq.com/table.htm?type=zhongchao`查看表格数据。将网页表格数据导入到Excel只需要通过操作路径:**数据-自网站**,在URL里填入网页地址点击`确定`后待片刻就可以看到表格数据,选择`A组或B组`表格后点击加载, ![1.10](images/chap1/1.10.png) ![1.11](images/chap1/1.11.png) ![1.12](images/chap1/1.12.png) ![1.13](images/chap1/1.13.png) 值得一提的是,Excel从网络下载数据支持数据自动更新功能,点击刷新即可重新连接网络更新数据 ![1.14](images/chap1/1.14.png) ### 练习 1. 使用Excel数据导入功能,完成`data/chap1/Titanic_train.txt`数据导入 2. 将工作簿文件`data/chap1/Titanic_test.xlsx`转为表格数据 3. 将“中国银行外汇牌价”通过网页导入到Excel表中 ### 附录 中国银行外汇牌价网站:https://www.bankofchina.com/sourcedb/whpj/index.html ================================================ FILE: 历史版本/V2.0/1.txt ================================================ ================================================ FILE: 历史版本/V2.0/10. Excel数据看板.md ================================================ ## 10. Excel看板 > 数据看板作为数据动态展示的一种重要方式,被广泛的应用于各个领域,因此本节根据1个案例讲解使用Excel制作数据看板的过程,以期起到抛砖引玉的效果,在学习技能的同时也将其应用到实践的工作中 ## 1.业务背景 打开`data/chap10/10.1.xlsx`中的数据源,这是某厂家在淘宝、拼多多、京东这3个电商销售平台的销售数据,现在你是这个厂家的员工,老板想知道商品在不同渠道的每周销售情况,想请你做一个数据周报看板。 ![10.1](./images/chap10/10.1.png) ## 2.实现分析 1.既然是周报看板,需要确定每天日期所在周数与每周的第几天 2.根据确定周数对销售金额进行汇总 3.对销售金额进行动态展示 ## 3.实现过程 ### **1.**确定周数 确定日期所在的周数用【WEEKNUM函数】,确定日期是第几周可以用【WEEKDAY函数】 在H2单元格输入 **=WEEKNUM(B2,2)** 在I2单元格输入 **=WEEKDAY(B2,11)** (如果想得到中文星期几 可以输入 =TEXT(B2,"aaaa")) ![10.2](./images/chap10/10.2.png) ### **2.销售基础整理** 新建1个工作表,确定动态数据的变量为周数,并确定需要计算的指标,本周开始日期、介绍日期、销售额、订单数、上周销售额、上周订单数、销售额变化、订单数变化 ![10.3](./images/chap10/10.3.png) 使用公式求解相关的基础数据 在C3单元格输入公式`=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001)` 如果发现数据日期变成了44200,显然就是格式不正确,只需要将单元格的格式转为日期即可 ![10.4](./images/chap10/10.4.png) 在C4单元格输入公式`=XLOOKUP(C2,数据源!H1:H50001,数据源!B1:B50001,0,0,-1)` 对于本周的销售额,可以使用SUMIFS函数获得 ,在C5单元格中输入 `=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)` 对于本周的订单数,可以使用COUNTIFS函数获得 ,在C6单元格中输入 `=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)` 对于上周开始日期,可以使用本周开始日期-7,在E3单元格中输入 `=C3-7` 对于上周结束日期,可以使用本周结束日期-7,在E4单元格中输入 `=C4-7` 对于上周销售额,可以使用SUMIFS函数获得 ,在E5单元格中输入 `=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)` 对于上周的订单数,可以使用COUNTIFS函数获得 ,在E6单元格中输入 `=COUNTIFS(数据源!$B:$B,">="&$E$3,数据源!$B:$B,"<="&$E$4)` 对于相比上周销售额变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C7单元格中输入 `=TEXT(((C5-E5)/E5)*100,"0.00")&"%"` 对于相比上周订单数变化,可以使用百分比计算,使用【TEXT函数】确定格式,在C8单元格中输入 `=TEXT(((C6-E6)/E6)*100,"0.00")&"%"` 当然也可以直接设置单元格格式为【百分比】 当然这个【相比上周销售额变化】指标是一个比较重要的指标,可以对这个指标进行格式设置 选择C6单元格并设置条件格式,判断C5单元格与E5单元格值的大小,如果C5>=E5,那么C6单元值为红,否则为绿色 ![10.5](./images/chap10/10.5.png) ### **3.周销售数据变化趋势** 对于每周的数据需要做一个统计,并对每周数据的下单金额与下单数进行整理 装B13-B19单元格输入星期数 ![10.6](./images/chap10/10.6.png) 现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式 `=SUMIFS(数据源!$F:$F,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&计算过程!B13)` 现在需要统计每周1-7的下单金额,因此在C13单元格中输入公式,并向下填充公式 `=COUNTIFS(数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4,数据源!$I:$I,"="&计算过程!B13)` ![10.7](./images/chap10/10.7.png) 接下来就对数据进行可视化展示 ![10.8](./images/chap10/10.8.png) 将图片进行简单的美化,就可以得到下单金额与下单数的变化趋势图 ![10.9](./images/chap10/10.9.png) ### **4.周销售渠道整理** 对于每周的数据需要做一个统计,并对每周数据的渠道分布进行整理 装G3-G6单元格分别输入产品的电商渠道京东、拼多多、淘宝 ![10.10](./images/chap10/10.10.png) 在H3单元格中输入SUMIFS函数求不同渠道的销售金额,并进行向下填充 `=SUMIFS(数据源!$F:$F,数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)` 在I3单元格中输入COUNTIF函数求不同渠道的下单数,并进行向下填充 `=COUNTIFS(数据源!$E:$E,G3,数据源!$B:$B,">="&$C$3,数据源!$B:$B,"<="&$C$4)` ![10.11](./images/chap10/10.11.png) 接下来就对数据进行可视化展示,将图片进行简单的美化,就可以得到下单金额饼状图与下单数的柱状图 ![10.12](./images/chap10/10.12.png) ### **5.看板绘制** 完成了前面的全部计算后,接下来的工作就是将绘制的图结合在一起进行展示 首先是上述计算的数据与绘图的信息集合到一起 ![10.13](./images/chap10/10.13.png) 其中本周的总销量、本周订单数、当前周数、开始日期以及结束日期都是引用计算过程中的值 本周总销量的值为`=计算过程!$C$5` 本周总订单的值为`=计算过程!$C$6` 本周周数的值为`=计算过程!$C$2` 本周的开始日期为`=计算过程!$C$3` 本周的结束日期为`=计算过程!$C$4` 因为本周的变化情况带有条件单元格式,因此不能直接引用,需要将其转化成链接图片的形式,具体操作为 1.复制C7单元格 2.粘贴选择链接的图片 ![10.14](./images/chap10/10.14.png) 对于本周的周数,需要设置按钮方便调节 1.选择开发工具 2.选择插入,选择数值调节按钮 3.选择设置控件格式 4.设置控件的对应参数 ![10.15](./images/chap10/10.15.png) 到这里就完成了看板90%的步骤,点击按钮,能看动态展示看板的相关数据 ![10.16](./images/chap10/10.16.png) 最后就对看板进行相应的美化,在看板美化过程中也参考了其他EXCEL教程中的配色,因此最后的看板展示效果为 ![10.17](./images/chap10/10.17.png) ## 思考 ​ 1.为什么每周的介绍日期和开始日期都可以使用XLOOKUP获得 ​ 2.为什么每周1的下单金额之和可以通过SUMIF函数求 ​ 3.为什么设置按钮调节每周的数据变化,这样有什么好处 ## 后记 > 行文至此,以上就是Free-excel教程的全部内容,整个教程的编写过程中也广泛的参阅了各式各样的Excel教程,尽力让本教程变得轻松易学,希望读者能掌握相关的Excel技巧,并能灵活的运用到工作中,面对数字化社会,数据将渗透到生活的点点滴滴,拥抱数字,同时也拥抱变化。 > > --作者:牧小熊,Datawhale成员,数据分析师 ================================================ FILE: 历史版本/V2.0/2. Excel数据格式.md ================================================ ## 2. 表格所见非所得 > 在本节中我们将了解Excel中的各种单元格格式,并讲解了不同格式之间的转化 ### 2.1 单元格数据类型 打开`data/chap2/2.1.xlsx`文件,点击案例4工作表,可以看到Excel有11种数据类型 ![2.1](images/chap2/2.1.png) 接下来会主要讲解3种常用的数据类型 #### 2.1.1 数字 数值是单元格最常见的数据之一,12位数的时候会以科学计数法显示。 下图展示的是真假数值列,真数值默认情况下是右对齐(方便观测数据位数),假数值是数值型文本属于**文本**,左上角会有个绿色三角错误检查,当数据是文本时,无法完成数字运算操作。 ![2.2](images/chap2/2.2.png) Excel会自带数据纠错功能,点击黄色感叹号可以看到,将文本转出数字,或者使用`=VALUE()`函数将文本转成数字 ![2.3](images/chap2/2.3.png) #### 2.1.2 文本 文本为Excel中的常见格式,主要为文本字符串,例如下图就是典型的文本数据。当数据是文本类型时就可以完成文本数据相关操作。 ![2.4](images/chap2/2.4.png) #### 2.1.3 日期 Excel中的标准日期由年月日组成的数据,例如`2021/1/1`,同时日期又是很特殊的数值,在Excel里面日期最早是1900年1月1日,对应的数值为1,通过两日期相减可以得到日期相差的天数。需要注意的是如果是`2021-01-01`的数据就要看是否实际数据为`'2021/1/1'`,否则为文本型日期,需要进行转换才行。观察下图真假日期,可以发现真日期右对齐,假日期左对齐(内容跟显示的一致),真日期转格式可以看到单元格数据仍然是真日期格式(内容跟显示不一致)。 ![2.5](images/chap2/2.5.png) ![2.6](images/chap2/2.6.png) ![2.7](images/chap2/2.7.png) ### 2.2 单元格格式 #### 2.2.1 设置单元格格式 设置单元格格式可以点击单元格后,**右键-设置单元格格式**选项,或者按快捷键**ctrl+1**,或者通过工具栏:**开始-数字**去快速做更改。单元格可以设置的格式类型包括: * 数字:调整数值格式或者日期格式。 * 对齐:调整对齐方式。 * 字体:更改字体、字型、字号等。 * 边框:单元格边框设置。 * 填充:填充单元格背景颜色,标注数据经常使用。 * 保护:锁定单元格或者隐藏公式。 #### 2.2.2 数值格式 设置单元格格式分类选择数值,对数值设置小数点一般保留两位,同时能让数值对齐,使用千分位分隔符能更容易观察数值大小。 ![2.8](images/chap2/2.8.png) #### 2.2.3 文本格式 文本常见的设置格式用于对文本进行加单引号、双引号或者逗号的情况。以`user_orders.xlsx`文件为例,对`email`列进行添加单引号的操作。 首先选择`email`列,调出设置单元格格式,分类选择``自定义``,找到`@`后在外面加上单引号。 ![2.10](images/chap2/2.10.png) ![2.9](images/chap2/2.9.png) #### 2.2.4 日期格式 通过日期分类调整日期格式为年-月-日,需要注意的是文本型的日期格式无法调整,而数值是可以调整为日期。 ![2.11](images/chap2/2.11.png) ### 2.3 转换单元格数据 通过数据工具的`分列`功能能够巧妙的将数据进行转换,以下将使用`user_orders`表为例进行操作。 #### 2.3.1 数值和文本相互转换 将`数值型文本`转为`数值`,选择`order_id`列并使选择分列功能,默认下一步直至完成。 ![2.12](images/chap2/2.12.png) ![2.13](images/chap2/2.13.png) ![2.14](images/chap2/2.14.png) #### 2.3.2 日期和文本相互转换 将`文本日期`转换为`日期`,选择`update_date`列并选择`分列`功能,到第三步的时候选择`日期`点击完成。 ![2.15](images/chap2/2.15.png) ![2.16](images/chap2/2.16.png) ![2.17](images/chap2/2.17.png) ### 任务 1. 将`data/chap1/Titanic_train`工作簿中的`Pclass`列的数值转文本 2. 完成`data/chap2/2.1.xlsx`中案例1-3中的问题 3. 完成`data/chap2/2.2.xlsx`中案例1-2中的问题 ================================================ FILE: 历史版本/V2.0/3. Excel的快捷操作.md ================================================ ## 3. Excel的快捷操作 > 在本节中我们将了解Excel中的各种快捷操作,目前已知的Excel快捷操作键有230个,本篇重点介绍那些常用的Excel快捷操作键。 > > 由于编者的水平限制,如果有一些其他好用的Excel快捷键,在本篇中没有介绍的,请联系我们。 ## 3.1快捷键简介 ### 3.1.1 文件相关 - `Ctrl` + `N` 创建一个新的Excel工作簿 - `Ctrl` + `w` 关闭当前工作簿 - `Ctrl` + `S` 保存当前的Excel工作簿 - `F12` 将当前文件进行另存为 - `Ctrl` + `p` 打印当前工作表 ### 3.1.2 通用快捷键 - `Ctrl` + `z` 撤销当前操作 - `Ctrl` + `Y` 恢复撤销,可以用这个快捷键恢复被撤消的操作 - `Ctrl` + `C` 复制所选单元格 - `Ctrl` + `x` 剪切所选单元格 - `Ctrl` + `v` 粘贴所选单元格 - `Ctrl` + `F` 弹出查找和替换对话框 - `Ctrl` + `G` 显示定位对话框 ### 3.1.3 表格选择 - `Ctrl` + `A` 全选表格 - `Ctrl` + `→` 移动到数据区域的右边缘 - `Ctrl` + `←` 移动到数据区域的左边缘 - `Ctrl` + `↑` 移动到数据区域的上边缘 - `Ctrl` + `↓` 移动到数据区域的下边缘 ### 3.1.4 单元格编辑 - `F2` 编辑当前单元格(跟双击单元格效果一致) - `Alt` + `Enter` 在当前单元格内换行 (直接按 `Enter`会跳转到下一行) - `Enter` 下移一个单元格 - `Shift` + `Enter` 上移一个单元格 - `Tab` 右移一个单元格 - `Shift` + `Tab` 左移一个单元格 - `Ctrl` + `Enter` 输入完成,并停留在当前单元格 - `Ctrl` + `;`(分号) 输入当前日期(显示为年/月/日) - `Ctrl` +` Shift` + `: ` 输入当前时间 (显示为小时/分钟) - `Ctrl` + `E` 快速填充 ### 3.1.5 Excel格式化 - `Ctrl` + `1`(数字1) 设置单元格格式 - `Ctrl` + `B` 加粗或取消加粗 - `Ctrl` + `i` 加斜体或取消斜体 ### 3.1.6 Excel公式 - `F4` 绝对引用和相对引用切换 - `Alt`+`=` 自动插入求和公式 ## 3.2 Excel快捷键实践 ### 3.2.1 自动插入求和公式 打开文件`data/chap3/3.1.xlsx`,点击【案例1】, 1.选中案例1中的表格区域(**注意这里要把汇总的那一行也选上**) 2.使用快捷键`Alt`+`=` ,自动插入求和公式,可以看到,对上述的Excel表格区域进行自动求和。 ![1](./images/chap3/1.png) ### 3.2.2 自动进行列差异比对 打开文件`data/chap3/3.2.xlsx`,点击【案例1】,我们现在的任务是找到1月和2月客户数不同的区域,如何快速定位? 1.选中需要进行列差异比对的区域,注意选择顺序从左往右 2.使用快捷键`ctrl`+`\` (**注意是“\”不是"/"**),可以快速定位到区域4、区域8以及区域10所对应的客户数不同 3.选择填充颜色,即可快速显示两列的差异 ![4](./images/chap3/2.png) **思考:** 如果需要定位到1月客户数怎么办? 注意这里的选择方向,从右往左选择,那么默认最右边为参考标准,其他列的数据可参考标准比较,如果从左往右选择,那最左边就是参考标准,其他的操作同上 ![image-20220805204114860](./images/chap3/3.png) ### 3.2.3 自动填充 在excel中很多重复、繁琐的工作由数据提取和数据合并这类问题造成,**2013年以后的Excel**支持智能填充,能灵活的解决这类问题。 打开文件`data/chap3/3.3.xlsx`,点击【案例1】,需要提取客户的手机号 1.手动提取客户1的手机号,并输入到【B2】 2.选择需要快速填充的列,也就是【B2-B11】 3.按`ctrl`+`E`进行自动填充 ![5](./images/chap3/5.png) 打开文件`data/chap3/3.3.xlsx`,点击【案例2】,需要从身份证号码中提取出生日期 1.手动出生日期,并输入到【B2】 2.选择需要快速填充的列,也就是【B2-B11】 3.按`ctrl`+`E`进行自动填充 ![4](./images/chap3/4.png) ## 任务 ​ 1.完成`data/chap3/3.1.xlsx`工作簿中的【案例2】【案例3】的快捷键自动求和任务 ​ 2.完成`data/chap3/3.2.xlsx`工作簿中的【案例2】【案例3】的多行快速比对任务(提示:需要选中所有待比对表格框) ​ 3.完成`data/chap3/3.3.xlsx`工作簿中的【案例3】【案例4】的多行快速比对任务(提示:需要选中所有待比对表格框) ================================================ FILE: 历史版本/V2.0/4. Excel的表合并.md ================================================ ## 4. Excel的表合并 > 当遇到需要将多个表的行记录合并在一起的时候,我们一般会手动复制粘贴,这会带来很多重复繁琐的操作,并且容易出错,可以使用Excel的合并计算工具来快速完成。 > ## 4.1多表行合并 打开文件`data/chap4/4.1.xlsx`,点击【案例1】可以看到有3个消费表格,每个客户的消费金额不同,现在需要你统计每个客户在消费的总金额。 ![1.1](./images/chap4/1.1.png) 一般的操作方法是将这3个数据复制粘贴,那么有没有更加优雅的方法呢?这里推荐使用合并计算 **1.选择需要汇总的单元格起点** **2.选择Excel中的数据栏** **3.找到数据栏中的合并计算块** ![1.2](./images/chap4/1.2.png) **4.选择合并计算函数中的求和** **5.点击引用位置右侧的引用项** **6.选择第一个数据表所在的范围** **7.点击添加** ![1.3](./images/chap4/1.3.png) **8.将3个数据表添加到所有引用位置** **9.选择标签位置信息** **10.点击完成** ![1.4](./images/chap4/1.4.png) 可以看到完成了所有客户消费金额的求和计算~ ![1.5](./images/chap4/1.5.png) ## 4.2多表列合并 打开文件`data/chap4/4.1.xlsx`,点击【案例2】可以看到有3个不同的消费表格,每个客户的消费金额不同,现在需要你统计每个客户在3个不同消费的总金额。 ![1.6](./images/chap4/1.6.png) 与4.1的操作类型,使用合并计算选择3个不同项目的数据区域 ![1.7](./images/chap4/1.7.png) ![1.8](./images/chap4/1.8.png) ![1.9](./images/chap4/1.9.png) ## 任务 ​ 1.选择`data/chap3/4.1.xlsx`工作簿中的【案例1】得到不同客户的消费次数 ​ 2.选择`data/chap3/4.1.xlsx`工作簿中的【案例2】得到不同客户的不同项目的消费次数 ================================================ FILE: 历史版本/V2.0/5. Excel的函数-IF函数.md ================================================ ## 5. Excel的函数1 > Excel中有着非常丰富的函数,这些函数能大幅度提升我们的工作效率,本节中会重点介绍一些常用的Excel函数。 > ## 5.1 if函数 打开文件`data/chap5/5.1.xlsx`,点击【案例1】,现在需要对客户的原始得分进行校正,当客户的原始得分为负时,校正为0 ![5.1](./images/chap5/5.1.png) 针对上面遇到的问题,可以使用IF函数,Excel函数用法如下 【IF函数】**=IF(判断条件,如果满足则,如果不满足则)** 针对遇到的问题,那么在C2单元格中输入 **=IF(B2<0,0,B2)** ----> **注意,这里的逗号要使用英文的逗号** 那么这个公式是什么意思呢?判断B2单元格是不是小于0,如果是,则C2单元格为0,如果不是则返回B2单元格的值,可以看到C2单元格实际返回值为0,这是因为B2的值为-1,满足判断条件,因此C2单元格返回为0 ![5.2](./images/chap5/5.2.png) 用鼠标选择C2单元格右下角,当鼠标变成黑色十字,向下拖拽,对剩下的列进行填充 ![5.3](./images/chap5/5.3.png) 当然你也可以选择另一个更加优雅的方法 1.在C2单元格写Excel公式 2.选择需要填充公式的区域,包括C2单元格 3.点击C2单元格,进入公式编辑状态 4.使用快捷键`CTRL`+`Enter`进行批量填充![5.4](./images/chap5/5.4.png) ## 5.2 if函数与复杂逻辑 打开文件`data/chap5/5.1.xlsx`,点击【案例2】,现在有客户的1月、2月消费金额,如果客户2个月的消费金额都超过400,那么就认为这个客户为高消费客户。 ![5.5](./images/chap5/5.5.png) 这里与5.1中的案例不同,需要IF函数与逻辑函数进行配合 【AND函数】**=AND(条件1,条件2,...)** 【OR函数】**=OR(条件,条件2,...)** AND函数,需要所有条件全部满足,才返还TRUE,OR函数,所有条件中只要有1个条件满足,就返还TRUE 针对遇到的问题,那么在D2单元格中输入 **=IF(AND(B2>400,C2>400),"高消费客户","")** -----> 这里""代表返回空值 随后对整列的函数进行填充,具体填充方法见5.1中详解 ![5.6](./images/chap5/5.6.png) ## 5.3ifs函数 打开文件`data/chap5/5.1.xlsx`,点击【案例3】,有员工的相关考核分,考核得分在4.8分以上,优秀;考核得分在3.5-4.7分,良好;考核得分在0-3.4分,一般。 ![5.7](./images/chap5/5.7.png) 这里可以使用IFS函数,具体用法为 【IFS函数】=IFS(判断条件1,如果满足条件1则,判断条件2,如果满足条件2则) 针对遇到的问题,则可以在C2单元格输入 **=IFS(B3<=3.4,"一般",AND(B3>=3.5,B3<=4.7),"良好",B3>=4.8,"优秀")** 对整列数据进行函数填充后 ![5.8](./images/chap5/5.8.png) ## 任务 ​ 1.选择`data/chap5/5.1.xlsx`工作簿中的【案例1】,将客户原始得分为1以下的校正为0 ​ 2.选择`data/chap5/5.1.xlsx`工作簿中的【案例2】,客户1月2月中只要有1个月消费超过400,即为"高消费客户" ​ 3.选择`data/chap5/5.1.xlsx`工作簿中的【案例3】,能否不使用IFS函数,使用IF函数通过嵌套完成相应的任务。 ================================================ FILE: 历史版本/V2.0/6. Excel的函数-查找函数 .md ================================================ ## 6. Excel的函数2 > VLOOKUP是经典的查找与引用函数,在Excel数据查询任务中有多种用途。XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,**非常推荐大家使用XLOOKUP函数**,如果自己的电脑Excel不是最新版不支持XLOOKUP函数,也可以来学习VLOOKUP函数。 > 在本节教程中会重点介绍XLOOKUP函数的相关用法,对于VLOOKUP不好解决,XLOOKUP能解决的问题放在了【案例5】、【案例6】、【案例7】 ## 6.1 VLOOKUP ### 6.1.1 【案例1】 打开文件`data/chap6/6.1xlsx`,点击【案例1】,根据岗位编号,得到该员工的应发工资 ![6.1](./images/chap6/6.1.png) 针对这个问题,可以使用VLOOKUP函数 【VLOOKUP函数】**=VLOOKUP(要查找的值,查找区域,要返回的结果在查找区域的第几列,精确匹配或近似匹配)** **在L3单元格中输入如下公式** **=VLOOKUP(K2,A2:H50,8,FALSE)** 因为应发工资在整个单元格中的第8列,所以第3个参数为8,第4个参数选择TRUE或者FALSE,TRUE为模糊匹配,FALSE为精确匹配,因此第4个参数选择为FALSE, 有的EXCEL版本第4个参数是0是精确查找,1是精确匹配,根据实际情况输入即可。 ### 6.1.2 【案例2】 打开文件`data/chap6/6.1xlsx`,点击【案例2】,根据岗位编号,得到该员工的应发工资 ![6.2](./images/chap6/6.2.png) 在案例2的任务中我们发现,这里的员工的编号位于最后一列,那么应该如何处理呢? 如果按照正常的VLOOKUP的函数用法在L2单元格输入=VLOOKUP(K2,A2:H19,7,FALSE),输入后会发现并没有安装预期得到应发工资。 ![6.3](./images/chap6/6.3.png) 这是因为VLOOKUP函数的限制,必须查找的区域在被查找值的左侧,当然这里有其他的办法解决。 这里用到了换列的小技巧,如果感兴趣可以看相关文章,[Excel技巧:一文搞懂 IF{1,0} 的用法](https://zhuanlan.zhihu.com/p/377654196) 那么在L2中输入如下函数 **=VLOOKUP(K2,IF({1,0},H2:H19,G2:G19),2,FALSE)** 这个函数中,将G2:G17列与H2:H19列做成了一个临时数据组,并让这2列交换位置,这样G2:G19列就在临时数组中的第2列,因此VLOOKUP中第3个参数为2 ![6.4](./images/chap6/6.4.png) ### 6.1.3【案例3】 打开文件`data/chap6/6.1xlsx`,点击【案例3】,根据性别与部门信息,获得员工编号 ![6.5](./images/chap6/6.5.png) 案例3的任务与前面不同的是,无法只通过1个信息完全定位到员工编号,因此这里使用了一个技巧,在L3单元格中输入 **=VLOOKUP(J2&K2,IF({1,0},C2:C20&D2:D20,A2:A20),2,0)** 细心的同学可能发现了其中的技巧,就是将多个条件通过&连接成一个字符串,同时将待查找的数据也连接起来,从而通过这个连接的特殊字符来查找数据 ### 6.1.4 【案例4】 打开文件`data/chap6/6.1xlsx`,点击【案例4】,当不知道具体的信息,需要进行模糊查询 ![6.6](./images/chap6/6.6.png) 那么如何使用VLOOKUP进行模糊查询呢? **=VLOOKUP("*"&K2,A2:F20,2,0)** Excel中的通配符匹配规则见如下,因为DW为2个字符,我们选择* ![6.7](./images/chap6/6.7.png) ## 6.2 XLOOKUP > XLOOKUP作为Excel开发的最新查找函数,在使用便利性上远超VLOOKUP函数,因此如果是能支持XLOOKUP函数,**非常推荐大家使用XLOOKUP函数**,如果不能支持这个函数也不用灰心,使用VLOOKUP函数也能完成绝大多数查询问题 因为XLOOKUP函数功能非常强大,因此在本节中对函数进行讲解 【XLOOKUP函数】**==XLOOKUP(想要查找值, 想要在哪个数据区域中查找, 要返回的数据区域,, [if_not_found], [match_mode], [search_mode])** 第四参数(可选参数):if_not_found,找不到结果,就返回第四参数,如果省略第四参数函数默认返回#N/A这个错误值 第五参数(可选参数):match_mode,指定匹配类型 参数为:0 ,精确匹配,未找到结果,返回 #N/A。 这是默认选项。 参数为:-1,近似匹配,未找到结果,返回下一个较小的项。 参数为:1,近似匹配,未找到结果,返回下一个较大的项。 参数为:2 ,通配符匹配 第六参数(可选参数):search_mode, 指定要使用的搜索模式 参数为:1,从第一项开始执行搜索。 这是默认选项。 参数为:-1,从最后一项开始执行反向搜索。 参数为:2,根据 lookup_array 按升序排序的二进制搜索。 如果未排序,将返回无效结果。 参数为:-2,根据lookup_array 按降序排序的二进制搜索。 如果未排序,将返回无效结果。 ### 6.2.1 【案例1】 打开文件`data/chap6/6.1xlsx`,一起来实现【案例1】 我们在M2单元格中输入如下公式 **=XLOOKUP(K2,A1:A50,H1:H50)** 第1个K2 就是需要查询的岗位编号DW0005 第2个参数为A1:A50,也就是要查哪一列,**细心的同学已经注意到这里与VLOOKUP的不同** 第3个参数就是需要返回的哪一列,也就是返回H列 ### 6.2.2【案例2】 打开文件`data/chap6/6.1xlsx`,一起来实现【案例2】 我们在L2单元格中输入如下公式 **=XLOOKUP(J2,H1:H19,G1:G19)** 细心的同学就发现上面的公式中没有用到列的转换,这个公式的可读性非常强,这是就是XLOOKUP比VLOOKUP更加强大的地方 ### 6.2.3【案例3】 打开文件`data/chap6/6.1xlsx`,一起来实现【案例3】 我们在M2单元格中输入如下公式 **=XLOOKUP(J2&K2,C1:C20&D1:D20,A1:A20)** 在XLOOKUP中的多条件查找,只需要使用**&**,将多个条件的信息连接起来即可,非常的方便 ### 6.2.4【案例4】 打开文件`data/chap6/6.1xlsx`,一起来实现【案例4】 我们在M2单元格中输入如下公式 **=XLOOKUP("*"&K2,A2:A20,B2:B20,,2)** 在使用XLOOKUP进行通配符查找事,需要指定第5个参数为2,即告诉XLOOKUP需要用通配符进行查找,这里是好VLOOKUP不同的地方 具体通配符用法,可见6.1.4的讲解 ### 6.2.5【案例5】 打开文件`data/chap6/6.1xlsx`,一起来实现【案例5】,姓名6在数据表中出现了2次,想知道他的最后销售额应该怎么操作? 我们在I2单元格中输入如下公式 **=XLOOKUP(H2,B1:B20,F1:F20,0,0,-1)** 前3个参数想必大家已经很熟悉了,第4个参数是0,就是当XLOOKUP查找不到时,就返回0,第5个参数是0,就是选择精确匹配,第6个参数选择搜索参数,这里选择-1,从后开始往前搜索,因此这样设置就能获得正确结果。 ### 6.2.6【案例6】 打开文件`data/chap6/6.1xlsx`,一起来实现【案例6】,这里有4个人,现在想知道这4个人的最大销售额 ![6.8](./images/chap6/6.8.png) **=MAX(XLOOKUP(H2:H5,B2:B20,F2:F20,0,0,1))** 先通过XLOOKUP批量查找这4个人销售额,再通过MAX函数,求这4个人中的最大的销售额。 ### 6.2.6【案例7】 打开文件`data/chap6/6.1xlsx`,一起来实现【案例7】,当数据集以横向形式时,如果查询到需要的数据 ![6.9](./images/chap6/6.9.png) 在C2单元格中输入如下公式 **=XLOOKUP(B6,B2:L2,B1:L1)** 细心的同学发现,横向数据的查询方法与纵向数据并无太大区别 ## 任务 ​ 1.选择VLOOKUP和XLOOKUP这2种函数中的一种,完成`data/chap6/6.1xlsx`中的【案例1-4】 ================================================ FILE: 历史版本/V2.0/7. Excel的函数-动态函数.md ================================================ ## 7. Excel的函数3 > 在本节中会讲解一些Excel更新的动态函数,从而帮助大家更好的掌握Excel的数据处理与分析 ## 7.1 FILTER > 在工作中,我们需要根据指定的条件,将符合条件的所有记录从数据源表格式查找过来,一是可以用高级筛选。但高级筛选在查询下一个单位时 ,需要重新设置一次,很麻烦。二是用函数公式查询。典型的套路有:INDEX+SMALL+ROW、或者LOOKUP+COUNTIF+OFFSET,而这样的方法对初学者非常不友好,而EXCEL新更新的感受FILTER可以很好的解决这个问题。 【FILTER】函数=FILTER(数据区域,筛选条件,[无满足条件的记录时返回的值]) 接下来就看看FILTER的实际应用案例 ### 7.1.1 单条件筛选 打开`data/chap7/7.1xlsx`中的【案例1】 获得湖北区的相关数据 在J2单元格中输入 **=FILTER(A2:G30,C2:C30="湖北区")** 注意数据区域不包含标题 生成的数据的动态数组(WPS由于不兼容动态数组,稍微和Excel有点区别,会产生数据溢出的情况) ![7.1](./images/chap7/7.1.png) ### 7.1.2 返回选定的列 打开`data/chap7/7.1xlsx`中的【案例1】 如果在实际的任务中不需要所有的列,只需要其中的几行,那么应该怎么操作? 可以在K2单元格中输入 **=FILTER(F2:G30,C2:C30="湖北区")** 细心的同学就发现了这里与7.1.1中的不同,如果需要返回其中的几行,只需要将数据区域修改为自己需要的区域即可 现在需要知道湖北区的最大销售金额是多少 **=MAX(FILTER(F2:F30,C2:C30="湖北区"))** ### 7.1.3 多条件筛选 打开`data/chap7/7.1xlsx`中的【案例1】 FILTER函数中的多条件筛选,使用`+`来表示或,使用`*`表示且 例如,需要计算湖北区、湖南区大最大销售金额,那么函数公式为 **=MAX(FILTER(F2:F30,(C2:C30="湖北区")+(C2:C30="湖南区")))** 例如,需要计算湖北区商品2的最大销售金额,那么函数公式为 **=MAX(FILTER(F2:F30,(C2:C30="湖北区")*(D2:D30="商品2")))** ## 7.2 SUMIF函数 > 在Excel数据任务处理中,会遇到大量的求和的任务,SUMIF函数在求和任务中具有天然优势,因此在本节中将详细的讲解SUMIF函数的相关用法 【SUMIF函数】=SUMIF(条件区域,求和条件,[实际求和区域]) --->实际求和区域位选择条件 ### 7.2.1 案例1 打开`data/chap7/7.2xlsx`中的【案例1】 现在有几名同学的考试成绩,现在想统计数学成绩在90分以上的成绩之和 ![7.2](./images/chap7/7.2.png) 那么可以输入如下的函数公式 **=SUMIF(B:B,">=90",B:B)** 第一个参数为条件区域,因为要判断数学成绩,所以这里选择B列,当然这里也可以修改为实际的区域B2:B12 第二个参数为判定条件,判定条件为大于等于90 第三个参数为实际求和区,这是选填参数 ### 7.2.2 案例2 打开`data/chap7/7.2xlsx`中的【案例2】 现在想统计小米系列的产品销售额是多少? ![7.3](./images/chap7/7.3.png) SUMIF函数支持模糊匹配,因此我们输入如下公式 **=SUMIF(B:B,"小米*",C:C)** 使用小米*匹配所有的小米系产品 ### 7.2.3 案例3 打开`data/chap7/7.2xlsx`中的【案例3】 现在想统计1月-3月的预计销售额预计销售和实际销售额 ![7.4](./images/chap7/7.4.png) 因此可以巧用SUMIF函数,将条件区域进行横向选择,条件选择自己需要的字段,因此输入如下两个函数公式,并向下拖拽填充其他位置 `=SUMIF($B$2:$G$2,I$2,B3:G3)` `=SUMIF($B$2:$G$2,H$2,B3:G3)` `$`在Excel中是绝对引用,公式中引用的单元格如果使用绝对引用 `$`,那么向下拖拽的过程中,这个单元格不会增加。 例如,在J3单元格中输入`=C3`,在K3单元格中输入`=$C$3`并向下拖拽进行公式填充,观察区别 ![7.5](./images/chap7/7.5.png) 发现,如果使用绝对引用,引用格式值并不会随着公式的拖拽而改变,这就是绝对引用与非绝对引用的区别。 ### 7.2.4 案例4 打开`data/chap7/7.2xlsx`中的【案例4】,现在需要统计语文成绩在80分以上,90分以下同学的数学成绩之和 ![7.6](./images/chap7/7.6.png) 那么遇到这种情况应该怎么处理呢?相比于前面的案例,这里有2个筛选条件,而SUMIF函数无法满足需求,这里可以使用SUMIFS函数 【SUMIFS函数】=SUMIFS(实际求和区域,条件区域1,条件1,条件区域2,条件2) 因此写如下函数公式 **=SUMIFS(C2:C13,B2:B13,">80",B2:B13,"<90")** 因为要求数学成绩,所以第一个参数为C2:C13,而筛选条件为语文,因此条件区域为B2:B13 ## 7.3 SUBTOTAL函数 Excel中有数据筛选非常好用,那么,如果想统计筛选后的结果应该怎么弄?例如想知道筛选后的销售总额 打开`data/chap7/7.3xlsx`中的案例1,使用筛选选择不同的区,而SUM求和并没有变化 ![7.7](./images/chap7/7.7.png) 如果想实现上述需求,可以使用【SUBTOTAL函数】 【SUBTOTAL函数】=SUBTOTAL(功能函数,选择区域) 功能函数 数字 1-11 或 101-111,用于指定要为分类汇总使用的函数。 如果使用 1-11,将包括手动隐藏的行,如果使用 101-111,则排除手动隐藏的行;始终排除已筛选掉的单元格。详见附件1 在J2单元格中输入如下公式 **=SUBTOTAL(9,F2:F21)** 可以看到SUBTOTAL对筛选的数据列进行正确的求和,而SUM无法跟随选择的数据列进行正确求和 ![7.8](./images/chap7/7.8.png) 【附件1】 | **Function_num(包括隐藏的行)** | **Function_num**(忽略隐藏的行) | 函数 | | ------------------------------ | ------------------------------ | ------- | | 1 | 101 | AVERAGE | | 2 | 102 | COUNT | | 3 | 103 | COUNTA | | 4 | 104 | MAX | | 5 | 105 | MIN | | 6 | 106 | PRODUCT | | 7 | 107 | STDEV.S | | 8 | 108 | STDEV.P | | 9 | 109 | SUM | | 10 | 110 | VAR.S | | 11 | 111 | VAR.P | ## 任务 ​ 1.打开`data/chap7/7.1xlsx`中的【案例1】计算河北区中商品1的最小销售额 ​ 2.打开`data/chap7/7.1xlsx`中的【案例1】计算湖北中什么渠道下的什么商品具有最高销售额 ​ 3.打开`data/chap7/7.2xlsx`中的【案例1】语文成绩在80分以上的同学成绩之和 ​ 4.打开`data/chap7/7.2xlsx`中的【案例2】统计所有苹果系列产品的销售额 ​ 5.打开`data/chap7/7.2xlsx`中的【案例5】完成所有手机的销售额求和 ================================================ FILE: 历史版本/V2.0/8. Excel数据可视化.md ================================================ ## 8. Excel数据可视化 > 对于Excel中的数据可视化,相信各位读者应该能很熟练的使用,使用Excel汇总各种类型图,包括柱状图、折线图等等,从而让数据进行图形化展示。基于此,本节中对Excel中的数据作图部分不做展开讲解,本节更加偏重于讲解另一类辅助数据可视化的部分。 https://baijiahao.baidu.com/s?id=1733425891127825825&wfr=spider&for=pc ## 8.1 条形图 打开`data/chap8/8.1xlsx`中的【案例1】,现在有湖北区2022/01/01的不同商品的销售额,怎么更加直观的展示销售额之间的差别呢? ![8.1](./images/chap8/8.1.png) 这里可以使用条形图对销售的金额进展可视化展示 选择【开始】-->【条件格式】-->【数据条】 ![8.2](./images/chap8/8.2.png) 通过对销售金额进行数据条的填充,读者可以很快锁定湖北区2022/01/01销售额中,韩闲具有最高销售额为9442 如果只想显示条形图,不想显示金额应该如果操作? 选择条形图区域--->条件格式--->管理规则 ![8.3](./images/chap8/8.3.png) 打开管理规则后可以看到,选择设置的规则,点击编辑规则 ![8.4](./images/chap8/8.4.png) 选择仅显示数据条,当然可以在颜色的地方选择自己喜欢的颜色 ![8.5](./images/chap8/8.5.png) 选择之后得到如下效果 ![8.6](./images/chap8/8.6.png) ## 8.2 条件单元格格式 打开`data/chap8/8.1xlsx`中的【案例2】,现在有不同业务员向客户推销商品的相关信息,现在需要将截止日期还没有过今天的标注出来,应该如何操作? ![8.7](./images/chap8/8.7.png) EXCEL中【TODAY】函数可以获得当前日期 这里,可以使用Excel中的条件格式进行自动识别 1.选择需要设置条件的列; 2.选择条件格式; 3.选择新建规则 ![8.8](./images/chap8/8.8.png) 这里选择使用公式确定要设置格式的单元格 因为选择的区域为B2:B10 因此输入的公式满足B2要求,剩余的单元格会自动填充,因此输入的公式为 **=B2>TODAY()** 接下来设置单元格的格式,在本节示范中选择对满足条件的单元格填充为黄色,得到如下效果图 ![8.9](./images/chap8/8.9.png) ![8.10](./images/chap8/8.10.png) ## 8.3 迷你图 打开`data/chap8/8.3.xlsx`中原始数据,现在知道不同业务员1-12月的销售额,且销售额最差月份以及业务员的销售额的变化趋势,应该怎么操作? 1.确定销售额最差月份 这里可以使用XLOOKUP公式,具体公式为 `=XLOOKUP(MIN(B2:M2),B2:M2,$B$1:$M$1)` ![8.11](./images/chap8/8.11.png) 2.在B2插入新的单元格,命名为趋势图 点击插入,找到迷你图部分,选择折线,数据范围选择为C2:N13,防止迷你图的位置选择在B2:B13单元格 ![8.12](./images/chap8/8.12.png) 生成迷你图后,可以在显示处,调整迷你图显示的重要点,这里显示折线中的最低点,通过图中可以看到,蔡勇仁的销售业绩趋势是不断下降,而江宁寒的销售业绩不断上升,迷你图能够很好的展示原数据与数据变化的趋势情况 ![8.13](./images/chap8/8.13.png) ## 任务 ​ 1.选择`data/chap8/8.2.xlsx`工作簿中的【案例1】,对拜访客户数大于5以上的业务员进行黄色填充 ================================================ FILE: 历史版本/V2.0/9. Excel数据透视.md ================================================ ## 9. Excel数据透视 > 数据透视是Excel中个强大的数据处理和分析工具,能够快速实现数据的汇总与统计分析,本节重点讲解Excel数据透视的相关操作 ## 9.1Excel数据透视表 打开`data/chap9/9.1.xlsx`中的数据源,现在对数据源进行数据透视 1.选择插入 2.选择数据透视表 3.选择表格区域 4.选择数据透视表放置的位置 ![9.1](./images/chap9/9.1.png) 可以看到,在新的数据表中出现了数据透视表 ![9.2](./images/chap9/9.2.png) 例如,想知道不同月份的不同区域销售金额统计情况,可以将区域置于列,月置于行,金额的求和项置于值,即可得到不同区域不同月份的销售金额之和 ![9.3](./images/chap9/9.3.png) 如果又想知道不同店员的销售额怎么办呢? 1.点击数据透视表分析 2.点击插入切片器 3.选择插片器的字段 ![9.4](./images/chap9/9.4.png) 点击不同的店员,可以直接统计该店员的销售额,这里的插片器相当于直接筛选店员的数据做统计。如果想统计多个店员的数据,可以点击切片器的多选项,可以同时统计多个店员的数据。 ![9.5](./images/chap9/9.5.png) ![9.6](./images/chap9/9.6.png) ## 9.2Excel数据透视图 打开`data/chap9/9.1.xlsx`中的数据源,现在对数据源进行数据透视图 1.选择插入 2.选择数据透视图 3.选择创建数据透视图,选择数据源作为数据区域 4.选择新工作表 ![9.7](./images/chap9/9.7.png) ![9.8](./images/chap9/9.8.png) 选择月为类别,选择区域为图例,选择金额求和作为值,得到如下透视图 ![9.9](./images/chap9/9.9.png) 如果,想切换透视图的类型,可以选择不同的图像类型,例如我们想知道不同月份销售的变化趋势,可以选择为折线图 ![9.10](./images/chap9/9.10.png) ![9.11](./images/chap9/9.11.png) 当然数据透视图也支持插片器,同样是选择店员作为切片的条件 ![9.12](./images/chap9/9.12.png) ## 任务 ​ 1.选择`data/chap9/9.1.xlsx`工作簿中的【数据源】绘制不同的透视图 ================================================ FILE: 历史版本/V2.0/LICENSE ================================================ MIT License Copyright (c) 2021 Datawhale Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: 历史版本/V2.0/README.md ================================================ # Free-Excel free excel中文意为**自由Excel**,源于希望学习者能够通过该教程能够更加自由地使用Excel进行数据分析、数据统计,解放Excel不再为Excel所困。内容上会更加偏实践应用,力求尽可能简单而又具有一定深度。其他很多教程都是按功能模块来讲解,而且还详细的说明每个功能,令人枯燥乏味。Free Excel根据多年工作经验总结而成,很多内容是常用且重要的,同时学完后能加深对Excel的理解。授之以鱼不如授之以渔,让我们开始愉快的Excel之旅吧! v1.0.0 beta版B站配套视频:https://www.bilibili.com/video/BV1r64y1h75T v2.0.0 版配套视频正在筹备中... ## 环境 本教程所使用Excel版本为2016或者2019,未提供下载安装,请自行装好环境以便操作。如果电脑没有Excel,可以下载WPS进行相关的操作学习。 WPS下载链接:https://www.wps.cn/product 注:本课程中部分函数为Excel新更新的内容,如果想体验Excel新添加的函数,可将Excel更新至最新版,或将WPS更新至11.1版及以上 ## v2.0.0内容大纲 - 第一章数据缘何而来 - 1.1 了解Excel - 1.2 从文件导入数据 - 1.3 从网页导入数据 - 第二章Excel数据格式 - 2.1 单元格数据类型 - 2.2 单元格格式 - 2.3 转换单元格数据 - 第三章Excel的快捷操作 - 3.1 快捷键简介 - 3.2 Excel快捷键实践 - 第四章Excel的表合并 - 4.1 多表行合并 - 4.2 多表列合并 - 第五章Excel的函数1 - 5.1 if函数 - 5.2 if函数与复杂逻辑 - 5.3 ifs函数 - 第六章Excel的函数2 - 6.1 VLOOKUP - 6.2 XLOOKUP - 第七章Excel的函数3 - 7.1 FILTER - 7.2 SUMIF函数 - 7.3 SUBTOTAL函数 - 第八章Excel数据可视化 - 8.1 条形图 - 8.2 条件单元格格式 - 8.3 迷你图 - 第九章Excel数据透视 - 9.1 Excel数据透视表 - 9.2 Excel数据透视图 - 第十章Excel数据看板 ## 更新版本 | 版本 | 日期 | 更新内容 | | :---------: | :--------: | :------------------: | | v1.0.0 beta | 2021-08-08 | 添加章节内容及数据集 | | v2.0.0 | 2022-09-09 | 全新的Excel内容与教程 | ## 更新日志 2022-04-16 - 更新前言 2022-08-09 - 更新第一章 数据缘何而来 2022-08-15 - 更新第二章 Excel数据格式 - 更新第三章 Excel的快捷操作 2022-08-16 - 更新第四章 Excel的表合并 2022-08-21 - 更新第五章 Excel的函数1 2022-08-25 - 更新第六章 Excel的函数2 2022-09-01 - 更新第七章 Excel的函数3 2022-09-04 - 更新第八章 Excel数据可视化 2022-09-05 - 更新第九章 Excel数据透视 2022-09-08 - 更新第十章 Excel看板 ## 贡献 | 贡献者 | 版本 | 主页 | 联系 | | :----------------: | :-----------:| :--------------------------: | :--------------------: | | Jan Yang(简杨君) | v1.0.0 beta | https://github.com/yangjiada | yang.jiada@foxmail.com | | 牧小熊(聂雄伟) | v2.0.0 |https://github.com/muxiaoxiong| xiongweinie@foxmail.com| ## 关注我们 > "Datawhale是一个专注AI领域的开源组织,以“for the learner,和学习者一起成长”为愿景,构建对学习者最有价值的开源学习社区。关注我们,一起学习成长。" [![img](images/datawhale_code.jpeg)](https://github.com/datawhalechina/team-learning-sql/blob/main/img/datawhale_code.jpeg) ================================================ FILE: 历史版本/V2.0/images/1.txt ================================================