跳到主要內容

如何從Excel中的列表/列中查找文本值的模式?

如您所知,我們可以應用MODE函數來快速找出Excel中指定範圍內最頻繁的號碼。 但是,此MODE功能不適用於文本值。 請不要擔心! 本文將分享兩種簡單的方法,以便在Excel中輕鬆地從列表或列中查找文本值的模式。


使用公式從列表/列中查找文本值的模式

此方法將引入一個陣列公式來尋找 Excel 清單中文字值(最常見的文字值)的眾數。 請依照以下步驟操作:

選擇一個空白儲存格,將最常用的值放入其中,鍵入下面的公式,然後按 Ctrl + Shift + Enter 鍵。

=INDEX(A2:A20,MODE(MATCH(A2:A20,A2:A20,0)))
小提示: A2:A20 指的是您想要確定最頻繁(眾數)文字值的範圍。 你應該更換 A2:A20 包含要分析的文字值的資料的實際範圍。

現在,找到了最頻繁的(模式)文本值,並將其返回到選定的單元格中。 看截圖:

注意絲帶 公式太難記了嗎? 將公式另存為“自動文本”條目,以供日後再次使用!
閱讀全文...     免費試用

使用Kutools for Excel從列表/列中查找文本值的模式

如果您安裝了 Kutools for Excel,您可以利用即用型 尋找最普遍的價值 其公式為 公式助手 套件可以輕鬆識別清單中最常見的文字值(眾數),而無需記住任何 Excel 公式。

Excel的Kutools - 包含 300 多個 Excel 基本工具。 享受全功能 30 天免費試用,無需信用卡! 現在下載!

  1. 選擇一個空白儲存格,您將在其中放置最常見的文字值(眾數)。
  2. 選擇 庫工具 > 公式助手 > 尋找和參考 > 找出最常見的值.
  3. 在開 公式助手 對話方塊中,請指定您將在其中尋找最常見文字值的列表 範圍 框中,然後單擊 Ok 按鈕。

透過執行上述步驟,最常見(模式)的文字值將返回到所選單元格。

注意: 想要訪問 公式助手 套房? 下載 Excel的Kutools 現在! 除此之外,Kutools 還擁有 300 多個其他功能,並提供 30 天免費試用。 不要等待,今天就來試試吧!


演示:從列表/列中查找文本值的模式


Excel的Kutools:超過 300 個方便的工具觸手可及! 立即開始 30 天免費試用,沒有任何功能限制。 現在就下載!

相關文章:

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (14)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Hi, Can I return the most common text and add another criteria. So if there is for example another row that said 'first language of country' can I develop a formula to return the most popular given this new criteria?
This comment was minimized by the moderator on the site
Hi, in that case, you can use this formula: =INDEX(A2:A20, MODE(IF(B2:B20="first language of country", MATCH(A2:A20, A2:A20, 0))))
This comment was minimized by the moderator on the site
Thanks so much! How about if I want to go on to find the 2nd and 3rd most popular?
Also, can I make this formula work if there is only 1 value in the data-set or if there is a tie?
This comment was minimized by the moderator on the site
Is there a way to get multiple modes with text? I have tried embedding the MODE.MULTI function in the place of MODE and it doesn't return more than one still.
This comment was minimized by the moderator on the site
Hi there,

Yes, you can use MODE.MULTI function.

If you are using Excel 2019 or earlier versions, 1. you can select a list of blank cells, 2. and then type in the formula =INDEX(range,MODE.MULT(MATCH(range,range,0))). 3. Then, press Ctrl + Shift + Enter keys to get the result.

If you are using Microsoft 365 or Excel 2021, you just need to type in the formula =INDEX(range,MODE.MULT(MATCH(range,range,0))) and then press Enter.

Amanda
This comment was minimized by the moderator on the site
Didn't work on Google sheet
This comment was minimized by the moderator on the site
Hi there, sorry that the tutorial is specially written for Excel. 😅
Amanda
This comment was minimized by the moderator on the site
Thanks! It worked! I was wondering.. is there a way to find the second most frequent observation? the third? and so on...
Rated 5 out of 5
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
this formula will not work in Excel365, please help.
This comment was minimized by the moderator on the site
Hi kev92569,
I just tried the formula on Excel 365, it worked well. Did you change the three ranges (A2:A20) in the formula to your real range? =INDEX(A2:A20,MODE(MATCH(A2:A20,A2:A20,0)))
Amanda
This comment was minimized by the moderator on the site
Yes I did and it either gave an error or didn't return a text result when I needed it to.  I figured out a different formula that seems to work.
This comment was minimized by the moderator on the site
Well, that's good for you. Can you also share the different formula here in case the one in the article does not work for other users?
This comment was minimized by the moderator on the site
the names list in text format, text to column does not work. i tried bunch of stuff. please help.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations