简体   繁体   English

是否有公式可以从列中列出的单元格中删除单词?

[英]Is there a formula to remove words from a cell that are listed in a column?

As the title says, Is there a formula to remove words from a cell that are listed in a column?正如标题所说,是否有公式可以从列中列出的单元格中删除单词?

Below is an example of what I want to achieve.下面是我想要实现的一个例子。 Orange is what I type, green is the list and blue the result橙色是我输入的,绿色是列表,蓝色是结果

在此处输入图像描述

Thanks.谢谢。

Using Microsoft365:使用 Microsoft365:

在此处输入图像描述

Formula in B2 : B2中的公式:

=TEXTJOIN(" ",,LET(X,FILTERXML("<t><s>"&SUBSTITUTE(A1," ","</s><s>")&"</s></t>","//s"),FILTER(X,NOT(MMULT(--EXACT(X,TRANSPOSE(B1:B3)),SEQUENCE(COUNTA(B1:B3),,,0))))))

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

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