繁体   English   中英

从选定的 Ms Excel 单元格中查找最后出现的值

[英]Find last occurance of a Value from a selcted Ms Excel Cells

我有如下带有分隔符@的数据

Iam@here@for@the@first@time@stop

我想通过跳过“停止”来打印“时间”。 任何 Excel 公式来实现这个要求。

更多示例:
Iam@here@for@the@first@time@stop -> 时间
Iam@here@stop -> 这里
Iam@here@for@the@stop -> 的
Iam@here@for@the@first@stop -> 首先

谢谢你的建议。 阿拉克斯

如果你有它,你可以使用

=FILTERXML("<t><s>" & SUBSTITUTE(A20,"@","</s><s>") & "</s></t>","//s[last()-1]")

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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