Excel函数从其他单元格中的句子中获取第一个单词 [英] Excel function to get first word from sentence in other cell
本文介绍了Excel函数从其他单元格中的句子中获取第一个单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Excel:我可以使用什么功能把所有的字符从头到尾放到第一个,我试图从A1中删除第一个字,并将其放入B1
例如:
A1
多伦多< b>是好的
我想在下一个单元格中多伦多。
Ian
解决方案
如何像
= LEFT(A1,SEARCH(,A1)-1)
或< (A1,SEARCH(,A1)-1)
查看 MS Excel:搜索功能和 Excel 2007 LEFT功能
Excel: What function can I use to take the all the characters from the beginning to the first '<". I am trying to strip out the first word from A1 and put it into B1
Eg:
A1
Toronto<b> is nice
I want "Toronto" in the next cell.
Ian
解决方案
How about something like
=LEFT(A1,SEARCH(" ",A1)-1)
or
=LEFT(A1,SEARCH("<b>",A1)-1)
Have a look at MS Excel: Search Function and Excel 2007 LEFT Function
这篇关于Excel函数从其他单元格中的句子中获取第一个单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文