简体   繁体   English

Google表格在字符串后列出唯一值

[英]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.

相关问题 计算 Google 表格中唯一日期的唯一值 - Count unique values for unique dates in Google Sheets Google表格公式可创建“列列表”范围内所有唯一值的1列唯一输出范围 - Google Sheets Formula to create a 1-column unique output range of all unique values in range of “jagged list” 根据Google表格中的条件提取唯一值 - Extract Unique Values Based On Criteria In Google Sheets Google表格中仅包含唯一值的总和范围 - Sum range in Google Sheets of only unique values Google表格-通过唯一字符串查找 - Google Sheets - LOOKUP through unique string 基于子字符串的不重复出现列表-Google表格 - List of unique occurrences based on a substring - Google Sheets 比较两个Google表格并找到唯一的值(仅在其中一个表格上) - Comparing two Google Sheets and finding unique values (only on one of the sheets) Google表格的查询多个工作表并返回唯一值 - Google Sheets' QUERY multiple sheets and return unique values 有没有办法生成从 excel 或 google 表格中的多个数组中提取的唯一值列表? - Is there a way to generate a list of unique values, extracted from more than one array in excel or google sheets? 在谷歌表格上的字符串中查找值字符串 - Find values string inside a string on google sheets
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM