excel 字符串操作函数大全,值得收藏
时间:2022-08-04 15:54:22
无论是在excel中,还是在其他的编程语言中,字符串是构成整个应用体系的基础,一般老师的授课都是从字符串表达式开始,循序渐进。今天我们来讲解下一个关于字符串提取、截取、替换的几个函数,并用了几个常用的案列,如从身份证提取生日,分割省市等等,想想看看这篇文章,你会对字符换函数有一个详细的了解。
一、提取函数:LEFT,RIGHT
语法:LEFT(要提取的文本,提取长度)
RIGHT(要提取的文本,提取长度)
比如:“Excel技术控”,我们要提取Excel这个字符串,我们可以输入公式
=Left(“Excel技术控”,5) 第一个参数:“Excel技术控”是要提取的文本,5个是Excel的长度。
如果要提取“技术控”这三个字,输入公式=Right(“Excel技术控”,3)即可。那么它的具体应用也在哪里,我们可以以加密电话号码为例,电话号码是11位,我们一般显示前3位和后4位的数值,中间四位用*号进行加密,操作如下:
标签:excel字符串操作函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Excel表格中如何插入图片
2023-02-18 06:59:48
![](https://img.aspxhome.com/file/2023/2/a154022_0s.jpg)
Win10系统今日热点弹窗怎么彻底删除?
2023-12-13 20:53:01
![](https://img.aspxhome.com/file/2023/3/51833_0s.jpg)
word怎么取消页眉页脚
2023-11-29 20:31:58
iPad 出现黑屏问题怎么办?
2023-10-10 16:04:39
![](https://img.aspxhome.com/file/2023/8/a194668_0s.png)
Excel总是弹出发送错误报告窗口怎么办?
2022-07-03 11:43:01
![](https://img.aspxhome.com/file/2023/7/a153087_0s.jpg)
Win10专业版怎么关闭禁用UAC设置?
2023-11-17 22:12:29
![](https://img.aspxhome.com/file/2023/1/49881_0s.jpg)
在Excel2013中利用图标集来标记状态
2023-01-25 19:30:04
![](https://img.aspxhome.com/file/2023/7/38287_0s.jpg)
word高效排序的方法!
2022-03-29 20:47:36
![](https://img.aspxhome.com/file/2023/5/24255_0s.jpg)
使用Word如何给文件夹设计侧面标签
2022-02-09 20:59:14
![](https://img.aspxhome.com/file/2023/2/31372_0s.jpg)
如何利用Excel COUPNCD函数 计算从成交日到付息日之间的天数
2023-11-13 11:33:51
![](https://img.aspxhome.com/file/2023/8/a161298_0s.jpg)
Excel批量插入表头教程
2023-01-12 22:26:55
![](https://img.aspxhome.com/file/2023/7/37697_0s.jpg)
wps文字中如何给汉字加注拼音
2023-06-05 01:36:10
![](https://img.aspxhome.com/file/2023/5/53435_0s.jpg)
如何利用Excel的Power Query快速转换数据
2022-10-23 08:46:12
![](https://img.aspxhome.com/file/2023/1/36261_0s.jpg)
使用VLOOKUP函数在多个工作表中查找相匹配的值
2022-06-18 02:17:51
![](https://img.aspxhome.com/file/2023/1/a141931_0s.jpg)
excel2010界面介绍
2023-09-18 07:52:57
![](https://img.aspxhome.com/file/2023/4/38584_0s.jpg)
excel怎么取消兼容性检查
2023-04-07 05:59:51
Excel2007基础教程:选择特殊类型的单元格
2023-01-20 14:31:26
在Word2010中为常用符号指定快捷键的设置
2023-01-07 20:40:32
![](https://img.aspxhome.com/file/2023/8/30278_0s.jpg)
Excel表格中怎么自定义不同的视图?
2022-03-27 17:19:53
![](https://img.aspxhome.com/file/2023/8/42158_0s.jpg)
速来围观,微软展现下一代 Office 界面
2023-11-06 19:04:23
![](https://img.aspxhome.com/file/2023/7/16497_0s.jpg)