在Excel2013中提取换行单元格第二行的数据的方法
时间:2022-11-10 01:15:45
‘); (window.slotbydup=window.slotbydup || []).push({ id: ‘623618’, container: s, size: ‘360,300’, display: ‘inlay-fix’ });})();
在平时工作中,经常遇到在Excel表格的某个单元格内输入很多文字的情况,我们一般都是使用Alt+Enter进行了格内换行,或者设置单元格自动换行。当单元格里为多行文字时,我们如何从这些单元格中提取出第二行的数据呢?其实利用Excel的函数公式可以实现。
本文以Excel2013中操作为例,图文详解在Excel2013中提取换行单元格第二行的数据的方法。
1、启动Excel2013,打开要进行提取的表格,看到D列中有很多换行单元格,我要将第二行数据提取出来,在E2单元格输入公式: =REPLACE(D2,1,FIND(CHAR(10),D2),"")
2、回车,得到结果珠海。关于公式的详细说明,请见文章最后章节的详细介绍。
3、为了简便输入,下面利用单元格填充的方法完成余下的操作,将鼠标移动到E2单元格右下角,出现+号,双击,即可快速填充完毕。
公式说明
replace(要替换的文本,从文本的第几个开始替换,一共要替换多少个,替换为什么):使用其他文本字符串并根据所指定的字符数替换某文本字符串中的部分文本。
find(查找什么,在哪里找):返回查找内容在文本中的位置。
char(10):换行符。
首先,用find函数在D2单元格中找出换行符的位置3,然后replace函数将D2单元格从第一个字符开始,替换3.
标签:公式,单元格,提取,替换,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
在wps演示中怎样使用触发器
2023-08-13 01:50:32
excel表格如何截图
2023-03-03 20:23:57
win10安装msu文件方法教程
2022-12-27 21:17:01
![](https://img.aspxhome.com/file/2023/1/a280870_0s.jpg)
steam客户端闪退怎么解决?steam客户端闪退的两种解决办法
2023-01-15 20:44:28
![](https://img.aspxhome.com/file/2023/6/a325904_0s.jpg)
Win10 1909怎么新建环境变量?Win10 1909环境变量创建方法
2023-11-13 03:30:17
![](https://img.aspxhome.com/file/2023/1/48761_0s.jpg)
word文档保存为图片可以保证格式不变
2022-06-14 07:16:14
![](https://img.aspxhome.com/file/2023/9/35569_0s.png)
Win10如何给文件资源管理器添加永久删除快捷按钮
2023-04-26 00:48:46
![](https://img.aspxhome.com/file/2023/26/a227229_0s.jpg)
WPS表格中怎么高亮显现重复的身份证号码?
2022-08-10 10:47:07
![](https://img.aspxhome.com/file/2023/1/a166441_0s.png)
笔记本存在杂音的三种原因
2022-05-18 19:11:09
![](https://img.aspxhome.com/file/2023/3/a293299_0s.jpg)
Win10系统文件夹图标有蓝色箭头标志的解决方法
2022-03-15 21:53:05
![](https://img.aspxhome.com/file/2023/3/a300048_0s.jpg)
惠普电脑uefi不识别u盘怎么办?
2023-05-10 21:44:40
![](https://img.aspxhome.com/file/2023/30/a269365_0s.jpg)
Win7怎么修改DNS地址解决网站无法访问的情况
2022-12-15 03:49:08
![](https://img.aspxhome.com/file/2023/29/a255517_0s.jpg)
Win7为什么路由器连不上?
2023-02-10 12:04:44
![](https://img.aspxhome.com/file/2023/27/a231716_0s.jpg)
power bi怎么合并数据表?power bi合并数据表教程
2022-06-09 21:02:17
![](https://img.aspxhome.com/file/2023/30/a267581_0s.jpg)
Win10 20H2打开第三方软件模糊怎么办?
2023-05-21 05:15:16
![](https://img.aspxhome.com/file/2023/26/a223656_0s.jpg)
Vlookup+IF函数公式,解决Excel中逆向查找匹配问题!
2023-06-20 15:59:55
![](https://img.aspxhome.com/file/2023/1/a157331_0s.gif)
office2013怎么快速更新?怎么验证?
2023-08-20 19:34:02
![](https://img.aspxhome.com/file/2023/8/15558_0s.jpg)
WPS 字符边框在哪里找
2022-05-17 10:57:21
![](https://img.aspxhome.com/file/2023/5/a186265_0s.png)
Word/WPS中为文字设置阴影空心的特大效果
2022-04-03 07:27:42
![](https://img.aspxhome.com/file/2023/8/28818_0s.jpg)
Win7系统中禁用加载项应该如何取消掉?
2023-06-01 03:04:38
![](https://img.aspxhome.com/file/2023/3/a297133_0s.jpg)