如何删除撇号 [英] How to remove apostrophe
本文介绍了如何删除撇号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿伙计我需要你的帮助,所以在excel我有一个名为LastNames的列,一些姓有撇号,例如(O'Connor)所以有一个函数可以用来删除excel中的撇号这样的名字将是(OConnor)。
感谢您的帮助。
解决方案
你可以使用SUBSTITUTE函数
例如:
= SUBSTITUTE(A1,< span class =code-string> ', )
这将通过替换'空白'为您提供A1的值
= SUBSTITUTE([@ LastNames]; ' ;)
Hey guys I need your help, so in excel I have a column called LastNames and some last name have apostrophes e.g.(O'Connor) so is there a function that I can use to remove the apostrophe in excel so that the name will be (OConnor) instead.
thanks for your help.
解决方案
You can use the SUBSTITUTE function
For example:
=SUBSTITUTE(A1,"'","")
This will give you the value of A1 by replacing the ' with a blank.
=SUBSTITUTE([@LastNames];"'";"")
这篇关于如何删除撇号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文