簡體   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