Excel中利用函数从身份证号码提取年月日的操作方法
时间:2023-09-11 06:56:46
需要从身份证号码中提取出生年月日,利用Excel中的函数就能很简单地提取出出生年月日。其他文本数据提取年月日也可用以下方法。主要是结合了DATE 函数和MID 函数来提取出生年月日。今天,小编就教大家在Excel中利用函数从身份证号码提取年月日的操作方法。
Excel中利用函数从身份证号码提取年月日的操作步骤如下:
首先,我们先了解DATE 函数和MID 函数。可在Excel帮助文件中查看。
DATE 函数返回表示特定日期的连续序列号。
MID 函数返回文本字符串中从指定位置开始的特定数目的字符,该数目由用户指定。
打开事先准备好数据工作表。如图所示
选定需要提取出生年月日的单元格,在编辑栏输入公式。示例图中,选定C2单元格,栏输入以下公式:
=DATE(MID(B2,7,4),MID(B2,11,2),MID(B2,13,2))
向下拖动填充序列,即可实现从多个身份证号码提取身份证号码。
效果如图所示。
如果要求出生年月日格式为yyyy-mm-dd,就选定这些单元格,右键,“设置单元格格式”,“自定义”,输入“yyyy-mm-dd”,“确定”即可修改格式。
Excel中利用函数从身份证号码提取年月日的操作
标签:函数,年月日,提取,身份证号码,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
mm_server.exe是什么进程 有什么用 mm_server进程查询
2023-08-27 14:23:55
win10全角半角怎么切换?
2023-11-01 14:06:43
![](https://img.aspxhome.com/file/2023/1/a279324_0s.png)
WPS excel如何合并多个工作簿
2023-12-11 16:10:12
![](https://img.aspxhome.com/file/2023/7/a186977_0s.jpg)
Win7提示Dcom Server Process Launcher服务意外终止怎么办?
2023-01-24 16:16:42
![](https://img.aspxhome.com/file/2023/27/a230600_0s.jpg)
如何设置路由器搭桥 路由器搭桥设置教程
2022-09-07 04:49:37
![](https://img.aspxhome.com/file/2023/8/a336595_0s.jpg)
电脑蓝屏了该怎么修复
2022-08-11 09:24:17
![](https://img.aspxhome.com/file/2023/1/a276997_0s.png)
win10找不到网络路径 0x80070035错误该怎么办?
2022-02-25 04:51:48
![](https://img.aspxhome.com/file/2023/5/a316008_0s.jpg)
Win10电脑如何强制关闭程序?
2023-09-28 01:19:02
![](https://img.aspxhome.com/file/2023/4/a305896_0s.jpg)
怎么解决Win10关不了机?Win10系统关不了机解决方法
2023-04-23 10:10:15
![](https://img.aspxhome.com/file/2023/1/a277875_0s.png)
Win10玩游戏总是系统崩溃怎么办?
2023-11-18 11:16:29
![](https://img.aspxhome.com/file/2023/7/49907_0s.png)
改变Win7文件排序规则
2022-10-27 21:47:29
![](https://img.aspxhome.com/file/2023/29/a258341_0s.jpg)
电脑重启后出现蓝屏提示“beginning dump of physical memory”怎么办?
2023-06-22 22:38:13
![](https://img.aspxhome.com/file/2023/6/a325303_0s.jpg)
CAJViewer怎么进行打印预览
2023-03-24 19:06:23
![](https://img.aspxhome.com/file/2023/9/a341083_0s.png)
iOS版WPS Office 1.1.3发布 支持激光笔及SkyDrive
2022-01-31 16:52:50
![](https://img.aspxhome.com/file/2023/7/a164677_0s.jpg)
Win10总是提示“你要允许此应用对你的电脑进行更改吗?”怎么办?
2023-05-06 09:04:33
![](https://img.aspxhome.com/file/2023/25/a216849_0s.png)
Win10创意者当中动态蓝牙锁功能应该如何启用?
2022-09-29 13:52:27
![](https://img.aspxhome.com/file/2023/3/a302341_0s.jpg)
Win11怎么重装Win10?Win11重装系统Win10的图文步骤
2022-11-12 16:10:36
![](https://img.aspxhome.com/file/2023/25/a217201_0s.png)
起点读书怎么导入本地书籍 起点读书导入本地书籍方法
2023-10-06 03:15:37
![](https://img.aspxhome.com/file/2023/8/a339090_0s.jpg)
Win7系统输入法不见了怎么办?
2022-05-05 05:59:00
![](https://img.aspxhome.com/file/2023/5/a316990_0s.png)
excel 边框的自动颜色怎么更改
2023-02-26 16:31:11
![](https://img.aspxhome.com/file/2023/2/36982_0s.jpg)