[英]Google Sheets List Unique Values After a String
I've a list of text that goes like this:我有一个像这样的文本列表:
SME:ABC
SME:BBC
SME:CBG
SME:ABC
SME:BBC
I want to list the unique values after SME:
我想列出
SME:
之后的唯一值SME:
I used this =UNIQUE(C2:C)
我用这个
=UNIQUE(C2:C)
But how to discard SME:
from the output?但是如何丢弃
SME:
从输出中?
You could wrap the entire thing in a REGEXREPLACE您可以将整个内容包装在 REGEXREPLACE 中
=REGEXREPLACE(UNIQUE(C2:C), "SME\:", "" )
https://support.google.com/docs/answer/3098245?hl=en https://support.google.com/docs/answer/3098245?hl=en
You can use您可以使用
=ArrayFormula(IFERROR(UNIQUE(REGEXEXTRACT(C2:C,":(.*)"))))
Functions used:使用的功能:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.