简体   繁体   English

在excel中拆分和删除单词的公式

[英]Formula for spliting and remove words in excel

How do I remove some words in excel sheet. 如何删除Excel工作表中的一些单词。 For examle 为了考试

I have a url https://stackoverflow.com/questions/ask . 我有一个网址https://stackoverflow.com/questions/ask I just need 'questions/ask'from that. 我只需要“提问/问”。 Should cut ' https://stackoverflow.com/ ' which is common. 应该切断' https://stackoverflow.com/ '这是常见的。 Can anybody help me with a formula for this 任何人都可以帮我解决这个问题

Try something like this: 尝试这样的事情:

general version: 一般版本:

=MID(A1,LEN("http://stackoverflow.com/")+1,LEN(A1)-LEN("http://stackoverflow.com/"))

or shorter: 或更短:

=MID(A1,26,LEN(A1)-25)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM