2018年6月15日笔记
复习昨天
工作组、求和、利用函数randbetween、合并计算
比如在excel表格中填入=randbetween(1,10),输入时如果需要补全要用鼠标点击,不能按Enter。
合并计算
求和
新建一个Excel表格,即新建xlsx文件。
打开xlsx文件并保存好后,新建总共4个Sheet。
![img_de52d8699dfaad4f5b5aa8a3a7856a88.png](https://yqfile.alicdn.com/img_de52d8699dfaad4f5b5aa8a3a7856a88.png?x-oss-process=image/resize,w_1400/format,webp)
新建4个Sheet.png
将前3个Sheet编为一个工作组,方法是按住 ctrl键,分别点击Sheet1、Sheet2、Sheet3,共点击三次。
只用到前面3个工作组却新建4个Sheet的原因是如果不新建第4个Sheet在前3个Sheet切换的时候会取消工作组,新建第4个Sheet后只有点击到第4个Sheet的时候会取消工作组。
![img_196f3488154e2f4875776f23c7890f31.png](https://yqfile.alicdn.com/img_196f3488154e2f4875776f23c7890f31.png?x-oss-process=image/resize,w_1400/format,webp)
工作组图示.png
如上图所示,在前三个Sheet下方有一条横线相连,即表示现在他们是一个工作组。
![img_d4815ed94937860f76e88099e5a6918a.png](https://yqfile.alicdn.com/img_d4815ed94937860f76e88099e5a6918a.png?x-oss-process=image/resize,w_1400/format,webp)
手动输入文字和设置背景颜色.png
当编辑工作组中一个表格,工作组中其他表格会跟随一起变化。
数据格中用 RANDBETWEEN函数产生一些随机数字,实现方法为在单元格中输入 =RANDBETWEEN(5000,8000),然后拖动至需要产生随机数的表格,完成效果图示如下图所示。
![img_7d3f7b7243ab51e22fe2f815f468577f.png](https://yqfile.alicdn.com/img_7d3f7b7243ab51e22fe2f815f468577f.png?x-oss-process=image/resize,w_1400/format,webp)
产生随机数图示.png
![img_0ed266d5d23145891012b93c0a227a66.png](https://yqfile.alicdn.com/img_0ed266d5d23145891012b93c0a227a66.png?x-oss-process=image/resize,w_1400/format,webp)
求和后图示.png
先将需要固定的区域框起来,然后复制粘贴到原处,右击显示如下图所示。点击 选择性粘贴中的 粘贴数值的第一个。
![img_ea0018f17a785a6a344634aa84077ae6.png](https://yqfile.alicdn.com/img_ea0018f17a785a6a344634aa84077ae6.png?x-oss-process=image/resize,w_1400/format,webp)
固定用函数得到的值.png
点击Sheet4取消工作组
![img_77d6eaadb50e193a5bd4f1361285695f.png](https://yqfile.alicdn.com/img_77d6eaadb50e193a5bd4f1361285695f.png?x-oss-process=image/resize,w_1400/format,webp)
点击Sheet4取消工作组.png
![img_a7c678370f80f54d31205f44a23468d3.png](https://yqfile.alicdn.com/img_a7c678370f80f54d31205f44a23468d3.png?x-oss-process=image/resize,w_1400/format,webp)
清空Sheet3内容.png
下图是合并计算第1步,点击Sheet的A1单元格
![img_b67f5929bb73cd8dd6db7ca59a3b9096.png](https://yqfile.alicdn.com/img_b67f5929bb73cd8dd6db7ca59a3b9096.png?x-oss-process=image/resize,w_1400/format,webp)
合并计算1.png
![img_03f80af75f6af98cfe97578dd0ec8540.png](https://yqfile.alicdn.com/img_03f80af75f6af98cfe97578dd0ec8540.png?x-oss-process=image/resize,w_1400/format,webp)
合并计算2.png
![img_ffff255a2d381de657cc28d440293a0c.png](https://yqfile.alicdn.com/img_ffff255a2d381de657cc28d440293a0c.png?x-oss-process=image/resize,w_1400/format,webp)
合并计算3.png
用上图所示的按钮选取Sheet1中的A1:F6的矩形区域,然后点击 添加
同样的方法添加Sheet2的矩形区域。
然后勾选 首行, 最左列,最后单击 确定。
![img_e0dc00c0323fa39bee378abe613ecc57.png](https://yqfile.alicdn.com/img_e0dc00c0323fa39bee378abe613ecc57.png?x-oss-process=image/resize,w_1400/format,webp)
合并计算4.png
![img_4a61e977f399cc575c02b35378adca6d.png](https://yqfile.alicdn.com/img_4a61e977f399cc575c02b35378adca6d.png?x-oss-process=image/resize,w_1400/format,webp)
合并计算成功图示.png
合并计算——去重
用到的Excel文件下载链接:https://pan.baidu.com/s/1R6ya8vlSvjYx1sFxOg7frw 密码:hkpr
下载后打开如下图所示。
![img_7dde735088393366981e9148af23edf7.png](https://yqfile.alicdn.com/img_7dde735088393366981e9148af23edf7.png?x-oss-process=image/resize,w_1400/format,webp)
素材2.png
![img_e9e234b63cd1dda32ea72ccb8315f0ae.png](https://yqfile.alicdn.com/img_e9e234b63cd1dda32ea72ccb8315f0ae.png?x-oss-process=image/resize,w_1400/format,webp)
去重1.png
选定一个单元格,之后去重后新产生的数据会放置在这个位置
![img_1f4ff370cac30aa8af56bae014395302.png](https://yqfile.alicdn.com/img_1f4ff370cac30aa8af56bae014395302.png?x-oss-process=image/resize,w_1400/format,webp)
去重2.png
点击导航栏中 数据中的 合并计算,在出现的窗口中先清空引用位置,用下图所示的 删除
![img_8a74fe7cd2665aa6778d7ff056dad2ff.png](https://yqfile.alicdn.com/img_8a74fe7cd2665aa6778d7ff056dad2ff.png?x-oss-process=image/resize,w_1400/format,webp)
去重3.png
![img_018ecc65e22dc9e34444f95740c7780c.png](https://yqfile.alicdn.com/img_018ecc65e22dc9e34444f95740c7780c.png?x-oss-process=image/resize,w_1400/format,webp)
去重4.png
点击上图的 选取区域按钮,然后选定下图所示的A2:B21的矩形区域
![img_4120dd9d5a3744bd4d7812d663fb9eae.png](https://yqfile.alicdn.com/img_4120dd9d5a3744bd4d7812d663fb9eae.png?x-oss-process=image/resize,w_1400/format,webp)
去重5.png
在编号2、编号3这两张表格中只需要选定A2:A21的区域,即比编号1的表少选一列,然后勾选 最左列,最后点击 确定。
![img_549c77cb70b8dcef14a116001b428902.png](https://yqfile.alicdn.com/img_549c77cb70b8dcef14a116001b428902.png?x-oss-process=image/resize,w_1400/format,webp)
去重6.png
![img_a1504ec2076d7d9224caa4197ff9c06d.png](https://yqfile.alicdn.com/img_a1504ec2076d7d9224caa4197ff9c06d.png?x-oss-process=image/resize,w_1400/format,webp)
去重成功图示.png
Excel函数操作
练习Excel函数的文件下载链接:https://pan.baidu.com/s/1ACJzqYMHafdhZYGU8fskmA 密码:jqs6
绝对引用
录取人数占总报名人数比例:在E2格中输入=C2/SUM(B2:B9),其他格通过拖动获取。
![img_06b4e76c4059e87af23e7aec01805820.png](https://yqfile.alicdn.com/img_06b4e76c4059e87af23e7aec01805820.png?x-oss-process=image/resize,w_1400/format,webp)
绝对引用.png
![img_fcf02bdb617c69a7ab3a3f8fb7439653.png](https://yqfile.alicdn.com/img_fcf02bdb617c69a7ab3a3f8fb7439653.png?x-oss-process=image/resize,w_1400/format,webp)
结果1.png
排名
专业热门程度排名:在F2中输入=RANK(B2,B2:B8),其他格通过拖动获取。
![img_6dbb0adfd48d9845500278e1f3f4517d.png](https://yqfile.alicdn.com/img_6dbb0adfd48d9845500278e1f3f4517d.png?x-oss-process=image/resize,w_1400/format,webp)
热门程度排名.png
增加了收入、热门程度排名、录取率、录取率排名四列
![img_915f4a2e9d26de7f2fe1123e8ef84526.png](https://yqfile.alicdn.com/img_915f4a2e9d26de7f2fe1123e8ef84526.png?x-oss-process=image/resize,w_1400/format,webp)
新产生表.png
![img_edccc01c80bfe28efe70ea9e5874d2d6.png](https://yqfile.alicdn.com/img_edccc01c80bfe28efe70ea9e5874d2d6.png?x-oss-process=image/resize,w_1400/format,webp)
相应问题答案.png
IF函数练习
![img_cf493a63d363bfce9d6cc704c70f6d3b.png](https://yqfile.alicdn.com/img_cf493a63d363bfce9d6cc704c70f6d3b.png?x-oss-process=image/resize,w_1400/format,webp)
练习1.png
![img_dd72cc0a217e2c3c77ce8948220dc5ee.png](https://yqfile.alicdn.com/img_dd72cc0a217e2c3c77ce8948220dc5ee.png?x-oss-process=image/resize,w_1400/format,webp)
练习2.png
=IF(D25="预算外费用","预算外费用",IF(AND(D25>-2%,D25<2%),"正常","关注"))
![img_6c54516a903c9b25d4179ef816e2ac9f.png](https://yqfile.alicdn.com/img_6c54516a903c9b25d4179ef816e2ac9f.png?x-oss-process=image/resize,w_1400/format,webp)
练习3.png
=IF(OR(MOD(A36,400)=0,AND(MOD(A36,4)=0,MOD(A36,100)<>0)),"闰年","非闰年")
![img_98d75046fbd3d28050a0c38ecd4fff53.png](https://yqfile.alicdn.com/img_98d75046fbd3d28050a0c38ecd4fff53.png?x-oss-process=image/resize,w_1400/format,webp)
练习4.png