2018年6月15日笔记
复习昨天
工作组、求和、利用函数randbetween、合并计算
比如在excel表格中填入=randbetween(1,10),输入时如果需要补全要用鼠标点击,不能按Enter。
合并计算
求和
新建一个Excel表格,即新建xlsx文件。
打开xlsx文件并保存好后,新建总共4个Sheet。

新建4个Sheet.png
将前3个Sheet编为一个工作组,方法是按住 ctrl键,分别点击Sheet1、Sheet2、Sheet3,共点击三次。
只用到前面3个工作组却新建4个Sheet的原因是如果不新建第4个Sheet在前3个Sheet切换的时候会取消工作组,新建第4个Sheet后只有点击到第4个Sheet的时候会取消工作组。

工作组图示.png
如上图所示,在前三个Sheet下方有一条横线相连,即表示现在他们是一个工作组。

手动输入文字和设置背景颜色.png
当编辑工作组中一个表格,工作组中其他表格会跟随一起变化。
数据格中用 RANDBETWEEN函数产生一些随机数字,实现方法为在单元格中输入 =RANDBETWEEN(5000,8000),然后拖动至需要产生随机数的表格,完成效果图示如下图所示。

产生随机数图示.png

求和后图示.png
先将需要固定的区域框起来,然后复制粘贴到原处,右击显示如下图所示。点击 选择性粘贴中的 粘贴数值的第一个。

固定用函数得到的值.png
点击Sheet4取消工作组

点击Sheet4取消工作组.png

清空Sheet3内容.png
下图是合并计算第1步,点击Sheet的A1单元格

合并计算1.png

合并计算2.png

合并计算3.png
用上图所示的按钮选取Sheet1中的A1:F6的矩形区域,然后点击 添加
同样的方法添加Sheet2的矩形区域。
然后勾选 首行, 最左列,最后单击 确定。

合并计算4.png

合并计算成功图示.png
合并计算——去重
用到的Excel文件下载链接:https://pan.baidu.com/s/1R6ya8vlSvjYx1sFxOg7frw 密码:hkpr
下载后打开如下图所示。

素材2.png

去重1.png
选定一个单元格,之后去重后新产生的数据会放置在这个位置

去重2.png
点击导航栏中 数据中的 合并计算,在出现的窗口中先清空引用位置,用下图所示的 删除

去重3.png

去重4.png
点击上图的 选取区域按钮,然后选定下图所示的A2:B21的矩形区域

去重5.png
在编号2、编号3这两张表格中只需要选定A2:A21的区域,即比编号1的表少选一列,然后勾选 最左列,最后点击 确定。

去重6.png

去重成功图示.png
Excel函数操作
练习Excel函数的文件下载链接:https://pan.baidu.com/s/1ACJzqYMHafdhZYGU8fskmA 密码:jqs6
绝对引用
录取人数占总报名人数比例:在E2格中输入=C2/SUM(B2:B9),其他格通过拖动获取。

绝对引用.png

结果1.png
排名
专业热门程度排名:在F2中输入=RANK(B2,B2:B8),其他格通过拖动获取。

热门程度排名.png
增加了收入、热门程度排名、录取率、录取率排名四列

新产生表.png

相应问题答案.png
IF函数练习

练习1.png

练习2.png
=IF(D25="预算外费用","预算外费用",IF(AND(D25>-2%,D25<2%),"正常","关注"))

练习3.png
=IF(OR(MOD(A36,400)=0,AND(MOD(A36,4)=0,MOD(A36,100)<>0)),"闰年","非闰年")

练习4.png