如何从字符串中提取文本?

时间:2020-11-01 07:36:36

标签: google-sheets google-sheets-formula

我想从2中的字符串中提取cell C3并将其作为cell E3中函数的结果返回:

enter image description here

这里的SPLIT可能是错误的方法。

编辑:

我将2替换为s,因为某些方法适用于数字而不适用于字母:

enter image description here

1 个答案:

答案 0 :(得分:2)

尝试以下

=REGEXEXTRACT(A1,"\d")*1

enter image description here


按照OP的修改

=REGEXEXTRACT(A2,";(.*),")  

enter image description here

请详细了解REGEXEXTRACT

相关问题