跳到主要内容

如何从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 公式。

Kutools for Excel - 包含 300 多个 Excel 基本工具。 享受全功能 30 天免费试用,无需信用卡! 现在下载!

  1. 选择一个空白单元格,您将在其中放置最常见的文本值(众数)。
  2. 选择 库工具 > 公式助手 > 查找和参考 > 查找最常见的值.
  3. 在开幕 公式助手 对话框中,请指定您将在其中查找最常见文本值的列表 范围 框,然后单击 Ok 按钮。

通过执行上述步骤,最常见(模式)的文本值将返回到所选单元格。

请注意: 想要访问 公式助手 套房? 下载 Kutools for Excel 现在! 除此之外,Kutools 还拥有 300 多个其他功能,并提供 30 天免费试用。 不要等待,今天就尝试一下吧!


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


Kutools for Excel:超过 300 个方便的工具触手可及! 立即开始 30 天免费试用,没有任何功能限制。 立即下载!

相关文章:

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 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