从 Google 个工作表中的单元格中提取特定信息

Extracting specific information from a cell in Google sheets

我只是想从我的单元格中获取股票代码,而我的单元格实际上采用“stockexchange:ticker symbol”格式,例如- NYSEARCA:VTI

How can I refer to the cell with my stock exchange and ticker symbol, such that I only extract the ticker symbol in google sheets?

注意: 股票代码总是在符号冒号之后:

假设您有 A 列中的数据

=index(if(len(A2:A), split(A2:A, ":"),),,2)

=ArrayFormula(IF(LEN(A2:A), REGEXEXTRACT(A2:A, "[^:]+$"),))

注意:根据您的语言环境,您可能需要将逗号更改为分号。