excel表格中怎么通过身份证提取年龄
时间:2023-04-18 17:21:02
有的时候,我们需要根据身份证号,批量求出很多人的年龄。这时,使用excel来解决这个问题是不错的选择。下面我就来演示一下,excel表格中怎么通过身份证提取年龄
01、首先,我们打开excel表格,并任意输入一些身份证号来演示。
02、我们先提取身份证号中的出生年月,,输入公式:=MID(A2,7,4)&"年"&MID(A2,11,2)&"月"&MID(A2,13,2)&"日",回车确认,然后下拉单元格填充格式,得到结果。
03、然后,我们依据出生年月,来计算年龄,,输入公式:=(today()-b2)/365,回车确认,然后下拉单元格填充格式。
04、此时得到的年龄数值是带小数形式的,我们需要设置一下,全选年龄后,右键点击选择“设置单元格格式”,然后,设置为“数值”,“小数位数为0”,点击确定。
05、这样,所有人的年龄就出来了,效果。
标签:单元格,年龄,身份证号,输入,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
iOS 13 可用储存空间越来越小?苹果在 iOS 13.6.1 中解决了这个问题
2023-12-07 00:09:11
![](https://img.aspxhome.com/file/2023/1/a194731_0s.png)
win10玩GTA5不能全屏怎么办_win10玩GTA5怎么全屏详细教程
2023-12-11 10:48:51
![](https://img.aspxhome.com/file/2023/4/a308582_0s.jpg)
Win7系统家长控制无法打开不能控制孩子上网时间
2022-11-19 02:55:19
![](https://img.aspxhome.com/file/2023/29/a252451_0s.jpg)
在Word中设置任意行距与字距的方法
2023-11-25 06:27:03
Excel CHISQ.TEST 函数 使用实例教程
2022-10-13 08:49:48
![](https://img.aspxhome.com/file/2023/5/a163015_0s.png)
Excel怎么设置显示功能说明
2022-08-10 06:15:08
![](https://img.aspxhome.com/file/2023/1/a153791_0s.jpg)
WPS word里的表格如何转为图片
2023-12-13 16:00:57
![](https://img.aspxhome.com/file/2023/6/a185956_0s.jpg)
Excel中ISERR函数的语法和用法
2023-01-26 02:53:39
Win10专业版如何去除图标小盾牌?Win10去除图标小盾牌方法详解
2023-05-14 10:07:23
![](https://img.aspxhome.com/file/2023/26/a223481_0s.png)
Win10专业版网卡不支持怎么回事?Win10专业版网卡不支持解决方法
2023-11-17 19:55:20
![](https://img.aspxhome.com/file/2023/2/49682_0s.png)
XP系统单击右鍵占用CPU过高的解决方法
2022-08-03 01:41:11
![](https://img.aspxhome.com/file/2023/3/a292851_0s.png)
PPT 如何添加动画进入效果
2022-07-29 03:33:54
![](https://img.aspxhome.com/file/2023/10/a352270_0s.jpg)
Win8开机提示FunKoala64.dll模块找不到解决技巧
2022-05-21 06:22:11
![](https://img.aspxhome.com/file/2023/4/a308300_0s.jpg)
win7系统电脑性能优化的方法?
2023-02-14 11:25:18
![](https://img.aspxhome.com/file/2023/2/a286271_0s.jpg)
Win10打印机驱动安装位置哪里?Win10打印机驱动安装位置介绍
2022-04-01 17:31:09
![](https://img.aspxhome.com/file/2023/9/52489_0s.jpg)
在Win7/Vista下因为Flash 11.3导致Firefox崩溃问题解决方法
2023-01-16 18:29:18
Win7系统玩魔兽不能全屏怎么解决?
2022-11-17 13:21:08
![](https://img.aspxhome.com/file/2023/4/a313167_0s.jpg)
wps文档怎么快速画出单线和双线?
2022-07-22 05:00:16
![](https://img.aspxhome.com/file/2023/6/a166706_0s.jpg)
win10强制删除dll文件图文教程
2023-03-25 09:31:56
![](https://img.aspxhome.com/file/2023/2/a287151_0s.png)
在wps文字中如何插入和删除页码图解
2023-04-04 08:53:11