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