excel 利用 VLOOKUP函数 计算员工年龄分布
时间:2023-10-16 02:42:22
Excel用VLOOKUP函数计算员工年龄分布
按要求将年龄分为:18岁以下,18-29岁,30-49岁,40-49岁,50岁以上。按以上分布判断年龄处于那个范围之内。
在F2单元格中输入公式:=VLOOKUP(E2,{0,"18岁以下";18,"18-29岁";30,"30-39岁";40,"40-49岁";50,"50岁以上"},2,1),然后按Enter键完成后向下下拉填充。
注:这里使用VLOOKUP函数的模糊查找的属性(即最后一个参数为1时)来确定来一个数字处于某一个范围之内,也可以使用LOOKUP函数。与使用IF函数的相比,其优点就是精简,逻辑关系清晰。
标签:VLOOKUP函数,excel计算员工年龄分布
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
excel中画斜线的教程
2023-11-10 05:19:55
让Windows7重新支持文件夹中预览播放的技巧
2022-03-11 03:01:58
在wps表格中如何使用自动计算功能
2022-07-10 11:49:45
GarageBand mac怎么剪切音频片段? GarageBand mac使用教程
2022-03-09 16:47:09
![](https://img.aspxhome.com/file/2023/4/a213994_0s.png)
Win10彻底删除OneDrive的方法图解教程
2023-03-10 18:57:45
![](https://img.aspxhome.com/file/2023/30/a262942_0s.png)
windows11怎么连接蓝牙音箱
2022-10-09 12:47:15
![](https://img.aspxhome.com/file/2023/29/a262081_0s.jpg)
怎么给Win7瘦身?Win7瘦身方案分享
2022-08-14 04:17:06
![](https://img.aspxhome.com/file/2023/27/a231023_0s.jpg)
Win7开机停留在启动画面怎么处理?
2022-08-26 05:33:45
![](https://img.aspxhome.com/file/2023/4/a313322_0s.jpg)
word表格排版技
2022-10-08 09:39:36
win10打lol要开兼容模式吗_win10电脑打英雄联盟开兼容模式的方法
2022-08-06 07:03:47
![](https://img.aspxhome.com/file/2023/4/a310888_0s.jpg)
word怎样增加段前间距?
2022-05-13 05:04:40
![](https://img.aspxhome.com/file/2023/4/35684_0s.png)
如何让AirPods同时连接两台手机?
2022-08-01 20:50:54
![](https://img.aspxhome.com/file/2023/0/a199920_0s.jpg)
win10中如何删除winxp系统_win10中删除winxp系统方法
2023-01-22 15:49:45
![](https://img.aspxhome.com/file/2023/4/a303852_0s.jpg)
Win8系统无法连接到路由器的解决方法
2022-10-20 20:11:09
![](https://img.aspxhome.com/file/2023/2/a289605_0s.jpg)
win7去右下角水印及破解4GB内存的两种方法
2023-04-22 11:13:02
![](https://img.aspxhome.com/file/2023/29/a252606_0s.png)
吉吉影音无法卸载怎么办
2023-04-05 06:18:22
![](https://img.aspxhome.com/file/2023/9/a341119_0s.png)
如何删除wps表格空白行
2023-11-13 02:21:44
Win10alt+tab切窗口慢怎么办?联想电脑Alt+Tab切换窗口很卡解决方法
2023-09-30 02:50:18
![](https://img.aspxhome.com/file/2023/28/a240933_0s.jpg)
win10安全中心服务怎么开启
2022-05-22 13:12:52
![](https://img.aspxhome.com/file/2023/1/a281059_0s.png)
excel文件只能查看不能修改
2023-06-09 07:40:10