如何获取多个excel表格中公司最近的一条记录?
时间:2023-06-23 00:34:44
如何获取多个excel表格中公司最近的一条记录?
问:Excel中的每行代表不同的并购事件,相同的公司会进行多次并购,筛选出每个公司最后一次并购事件,即公司代码这列把重复项的最后一项留下,没有重复的项也留下。
答:可以使用Excel的高级筛选功能来实现。
示例工作表如下:
第①步:以“并购时间”为关键字降序排序,让每个公司最后一次并购事件排在最前面。
第②步:单击“排序与筛选”中的“高级”按钮,在“高级筛选”对话框中设置“在原有区域显示筛选结果”,列表区域为公司代码区域“A1:A13”,勾选“选择不重复的记录”。如下图所示。
单击“确定”按钮后,结果如下图:
区区两步操作,得到想要的结果!
还可以使用LOOKUP函数来实现,这也是本期Excel函数学习介绍的知识。具体如下图所示:
标签:excel使用技巧,excel入门教程,excel表格的公式,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
时光手账如何制作长图 时光手账长图制作方法
2023-07-17 22:24:17
![](https://img.aspxhome.com/file/2023/8/a339117_0s.jpg)
如何在桌面同时显示两个word文档?
2023-12-02 04:29:43
![](https://img.aspxhome.com/file/2023/9/18879_0s.png)
win10怎么新建桌面_win10怎么新建桌面和分屏的方法
2023-11-08 04:30:43
![](https://img.aspxhome.com/file/2023/3/a292073_0s.jpg)
怎么让Win11右键默认显示更多选项
2022-08-12 17:14:58
![](https://img.aspxhome.com/file/2023/27/a235257_0s.jpeg)
利用excel的照相机功能快速复制表格内容的教程
2022-05-19 08:14:24
![](https://img.aspxhome.com/file/2023/2/42772_0s.jpg)
Win10怎么查找流氓软件源头?
2022-08-25 14:40:53
![](https://img.aspxhome.com/file/2023/26/a221598_0s.png)
WPS excel如何用MAX函数1秒找到最大数值
2022-06-11 05:52:55
![](https://img.aspxhome.com/file/2023/1/a187251_0s.jpg)
Win10(含家庭中文版)不用组策略如何彻底禁止Windows Defender开机启动?
2022-09-23 18:27:29
![](https://img.aspxhome.com/file/2023/28/a242953_0s.jpg)
小白轻松学会Win10重装过程 石大师U盘重装Win10系统
2023-05-05 23:21:36
![](https://img.aspxhome.com/file/2023/1/a273006_0s.png)
WPS如何将大批量图片转换为PDF文件?
2022-12-20 12:40:15
![](https://img.aspxhome.com/file/2023/3/a169153_0s.png)
win10Cxuiusvc Service占用CPU内存过高怎么办?
2023-03-14 02:29:21
![](https://img.aspxhome.com/file/2023/30/a266976_0s.jpg)
win10闪退显示outofmemory的解决方法
2023-08-30 23:31:07
![](https://img.aspxhome.com/file/2023/30/a265626_0s.jpg)
word如何做邮件合并
2023-10-04 10:12:26
cad背景色如何设置为白色?
2023-06-21 14:27:24
![](https://img.aspxhome.com/file/2023/30/a264167_0s.jpg)
局域网网速太慢怎么办?如何提高局域网网速
2023-08-30 05:56:12
![](https://img.aspxhome.com/file/2023/6/a323248_0s.jpg)
MindManager如何制作简单成本效益分析图?MindManager制作简单成本效益分析图的方法步骤
2023-10-25 23:32:31
![](https://img.aspxhome.com/file/2023/8/a332871_0s.jpg)
PowerPoint为图片怎么添加特效
2023-02-03 07:01:55
![](https://img.aspxhome.com/file/2023/10/a344623_0s.jpg)
windows10跳过账户设置的方法教程
2023-07-18 02:33:46
![](https://img.aspxhome.com/file/2023/1/a273075_0s.png)
Win7旗舰版系统WMI控件的功能作用是什么?
2023-05-22 18:59:26
![](https://img.aspxhome.com/file/2023/26/a229341_0s.png)
excel单元格内数据全部怎么显示
2022-04-29 01:51:55
![](https://img.aspxhome.com/file/2023/7/36197_0s.jpg)