繁体   English   中英

Excel 公式 - 我需要根据出现的正斜杠 (/) 过滤字符串

[英]Excel Formula - I need to filter string based on occurrence of forward slash (/)

我有一个 excel 文件,其中有一列中有 1000 个站点 URL。
我想根据正斜杠的出现过滤行。
在这里,我想过滤正斜杠 (/) 出现次数仅为 5 的站点名称。
所以结果

  1. Https://test.sharepoint.com/it/basedonhistory/kite
  2. Https://test.sharepoint.com/it/basedonhistory/kite1
  3. Https://test.sharepoint.com/it/basedonhistory/kite2

在此处输入图像描述


预先感谢您的帮助。

这是一种可能性,如果没有 o365。

=IFERROR(INDEX($A$1:$A$4,AGGREGATE(15,6,ROW($A$1:$A$4)/((LEN($A$1:$A$4)-LEN(SUBSTITUTE($A$1:$A$4,"/","")))=5),ROW(A1))),"-")

在此处输入图像描述

暂无
暂无

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

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