用REPLACE函数隐藏身份证号码部分数字
时间:2023-01-31 12:27:32
身份证号码是个人最重要信息,单位人事部门为了对每个员工信息进行保密,往往在常用的EXCEL工作表里隐藏身份证号码有部分数字,如:
函数实现公式:
在D2单元格,输入公式:
=REPLACE(C3,7,8,”********”),再往下填充,即可隐藏所有身份证号码部分数字。
该公式的解释是:
对C3单元格的身份证号码自第7位开始,替换掉8位,改为新的文本字符“********”。
REPLACE函数解析
含义:
用新字符串替换旧字符串。
语法:
=Replace(old_text,start_num,num_chars,new_text)
=Replace(要替换的字符串,开始位置,替换个数,新的文本)
第四个参数是文本,要加上引号。
标签:excel公式技巧,excel函数公式,excel常用函数,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
WPS怎么防止别人篡改?
2022-03-14 17:12:07
![](https://img.aspxhome.com/file/2023/2/a168932_0s.jpg)
Win7系统safari打不开网页图文教程
2023-01-21 11:23:16
![](https://img.aspxhome.com/file/2023/28/a244499_0s.jpg)
win10玩dota2卡顿如何解决_win10玩dota2间歇性卡顿解决教程
2022-06-21 11:39:05
![](https://img.aspxhome.com/file/2023/5/a313619_0s.jpg)
如何在ppt 或word里的文字下面加入波浪线?
2023-12-01 05:40:55
![](https://img.aspxhome.com/file/2023/1/18631_0s.jpg)
腾讯手游助手如何设置玩游戏时全屏无黑边
2022-02-04 12:10:18
![](https://img.aspxhome.com/file/2023/9/a341444_0s.png)
在PPT中怎么插入表格呢?
2023-06-16 09:24:33
![](https://img.aspxhome.com/file/2023/10/a346564_0s.jpg)
word 行距的设置是以段落为对象的
2023-02-23 10:58:15
![](https://img.aspxhome.com/file/2023/9/32329_0s.png)
Excel 2019设置打印纸张方向的3种方法
2022-12-02 20:19:12
![](https://img.aspxhome.com/file/2023/0/a141050_0s.jpg)
腾讯会议如何修改预定会议信息
2023-06-19 23:15:11
![](https://img.aspxhome.com/file/2023/9/a341253_0s.png)
Win10用户被锁定无法登录怎么办?Win10用户被锁定无法登录的解决方法
2023-01-11 15:42:16
![](https://img.aspxhome.com/file/2023/26/a219263_0s.jpg)
钉钉电脑版如何取消自动升级?钉钉电脑版自动升级取消步骤简述
2023-10-14 12:22:09
![](https://img.aspxhome.com/file/2023/7/a330851_0s.jpg)
微信中怎么与自己账号互动?微信中与自己账号互动的方法
2023-05-05 00:11:33
![](https://img.aspxhome.com/file/2023/8/a335717_0s.png)
windows7系统下telnet命令失效提示不是内部或外部命的解决方法
2022-04-25 08:01:09
Win10微软官方如何一键删除恶意软件?
2023-11-24 08:04:05
![](https://img.aspxhome.com/file/2023/3/50893_0s.png)
Win7系统所有用户账号被禁用怎么办_所有用户账号被禁用
2023-01-24 04:35:32
![](https://img.aspxhome.com/file/2023/2/a286326_0s.jpg)
微博怎样查找附近的人?微博查找附近的人的方法
2022-09-10 22:54:05
![](https://img.aspxhome.com/file/2023/8/a337793_0s.png)
怎么样解决excel/word宏已被禁用
2023-12-07 21:54:08
![](https://img.aspxhome.com/file/2023/7/20007_0s.png)
Win7系统当中windows defender的打开方法是什么?
2022-07-19 08:30:12
![](https://img.aspxhome.com/file/2023/3/a294681_0s.jpg)
格式工厂怎么使用?
2023-07-05 10:32:13
怎么卸载影子系统?卸载影子系统解决方法
2023-03-20 23:30:11