简体   繁体   中英

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:
I used this =UNIQUE(C2:C)
But how to discard SME: from the output?

You could wrap the entire thing in a REGEXREPLACE

=REGEXREPLACE(UNIQUE(C2:C), "SME\:", "" ) 

https://support.google.com/docs/answer/3098245?hl=en

You can use

在此处输入图片说明

Functions used:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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