excel从一列中按出现次数多少顺序提取数据
时间:2022-07-07 09:39:29
在Excel中某列包含许多重复的数据,要从该列中按出现次数多少的顺序提取数据,可以用下面的数组公式。假如数据在A2:A21区域中,如图。
在B2单元格中输入下列数组公式,公式输入完毕后按Ctrl+Shift+Enter结束。
=INDEX($A$2:$A$21, MATCH(MAX(COUNTIF($A$2:$A$21, $A$2:$A$21)*IF(COUNTIF(B$1:$B1, $A$2:$A$21),-1,1)), COUNTIF($A$2:$A$21, $A$2:$A$21)*IF(COUNTIF(B$1:$B1, $A$2:$A$21),0,1), 0))
然后拖动填充柄向下填充公式,直到出现“#N/A”为止
标签:公式,提取,数据,数组,Excel函数
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
word神操作,看到第一个技巧你就傻眼了 word 使用技巧大全
2022-09-27 21:20:07
![](https://img.aspxhome.com/file/2023/1/28841_0s.png)
Excel中常用的财务函数的用途、语法、参数、实例介绍
2022-06-22 01:39:00
win10蓝屏Ntfs.sys丢失损坏无法开机
2023-11-08 09:47:20
![](https://img.aspxhome.com/file/2023/9/48239_0s.jpg)
Word宏让自己的文档与众不同
2023-11-13 06:35:39
Excel图标数据标记怎么使用特殊图片?excel图表特殊点标记的方法
2022-07-10 01:31:20
![](https://img.aspxhome.com/file/2023/4/42254_0s.jpg)
Excel如何输入身份证号码动画教程
2022-12-05 14:07:29
![](https://img.aspxhome.com/file/2023/4/39194_0s.gif)
Word2013"样式"任务窗格选择样式的方法
2023-12-13 16:32:39
![](https://img.aspxhome.com/file/2023/8/21018_0s.jpg)
升级iOS 15 Beta 4后遇关机重启怎么办?
2023-11-24 10:10:40
![](https://img.aspxhome.com/file/2023/3/45773_0s.jpg)
如何去掉在office 2010的word文档项目编号前的小黑点
2023-11-28 23:11:05
![](https://img.aspxhome.com/file/2023/5/18115_0s.jpg)
如何将网络中下载的的新字体添加到Word中并使用
2023-10-20 23:29:18
![](https://img.aspxhome.com/file/2023/9/33989_0s.png)
WPS Excel利用自定义序列方法进行排序技巧
2022-11-15 02:41:37
![](https://img.aspxhome.com/file/2023/8/a153458_0s.png)
Word中的表格怎么进行合计求和
2023-01-02 00:10:35
![](https://img.aspxhome.com/file/2023/7/34127_0s.png)
四种在Word方框内打钩的方法
2023-11-12 13:39:18
![](https://img.aspxhome.com/file/2023/6/17846_0s.jpg)
Win10怎么修复本地连接没有有效IP的配置?
2023-11-18 14:17:54
![](https://img.aspxhome.com/file/2023/5/49935_0s.png)
WORD怎样把两行字括起来
2023-11-12 10:24:19
![](https://img.aspxhome.com/file/2023/2/17442_0s.png)
excel未响应如何解决
2022-06-06 13:33:15
如何查看win10电脑的文件夹数量?win10系统查看文件夹数量的方法
2023-08-10 13:47:15
![](https://img.aspxhome.com/file/2023/2/46852_0s.png)
然后从下往上找到照相机
2022-03-12 12:13:34
AutoCAD不兼容Win10系统怎么办?CAD兼容Win10方法教程
2022-06-03 05:42:03
![](https://img.aspxhome.com/file/2023/8/52688_0s.png)
Word中进行插入多级编号的三种方法
2022-09-03 21:21:26