当前位置:网站首页>Excel查找一列中的相同值,删除该行或替换为空值
Excel查找一列中的相同值,删除该行或替换为空值
2022-07-02 17:35:00 【cy413026】
目录
参考文档
1.查找一列中的相同值
设在Excel中有一列数据如下:
A4-A23中有很多相同的值,下面分别给出删除重复值,替换为空值和合并的操作
1.1 删除重复值
选择数据中的删除重复值即可 效果如下:
1.2替换为空值
有时场景如下 A列虽然有重复 B列不一样,我们不能直接删除A列重复的行,而是只需要将A列重复的行替换为空值
操作过程如下:
1.在辅助列用公式找出重复的数据并标记
2.复制并粘贴辅助列为值
3.筛选出带有chognfu的行
4.选中所有带有重复的单元格,右键 清除内容,效果如右下图
此时已经完成了替换为空值(注意区分空值和空白字符""的区别,=IF(COUNTIF($B8:B27,B8)=1,B8,"") 这个写法就是有一个""的空白字符)。
1.3合并相同值
还是以1.2节场景 首先进行排序,效果如下图
边栏推荐
- Simulateur nightGod + application de test de capture de paquets Fiddler
- 什么是云原生?这回终于能搞明白了!
- 27: Chapter 3: develop Passport Service: 10: [registration / login] interface: after the registration / login is OK, save the user session information (uid, utoken) to redis and cookies; (one main poi
- How to enable the run dashboard function of idea
- Web实时通信技术之Websocket
- 迷你高尔夫球场:伦敦休闲旅游好去处
- 链游系统开发(Unity3D链游开发详情)丨链游开发成熟技术源码
- Introduction to sap s/4hana OData mock service
- 在纽约寻找童真——新泽西州乐高乐园探索中心的美好一天
- 在Tensorflow2中使用mnist_784数据集进行手写数字识别
猜你喜欢
How to enable the run dashboard function of idea
Responses of different people in technology companies to bugs | daily anecdotes
Industrial software lecture - core technology analysis of 3D CAD design software - the second lecture of the Forum
鸿蒙第四次学习
迷你高尔夫球场:伦敦休闲旅游好去处
After 22 years in office, the father of PowerShell will leave Microsoft: he was demoted by Microsoft for developing PowerShell
Mysql高级篇学习总结7:Mysql数据结构-Hash索引、AVL树、B树、B+树的对比
新加坡暑假旅游攻略:一天玩转新加坡圣淘沙岛
科技公司不同人对Bug的反应 | 每日趣闻
Mysql高级篇学习总结6:索引的概念及理解、B+树产生过程详解、MyISAM与InnoDB的对比
随机推荐
How to use PS to extract image color and analyze color matching
Masa framework - DDD design (1)
如何设置VSCode删除整行快捷键?
深度学习数学基础
哪个券商公司网上开户佣金低又安全又可靠
Looking for innocence in New York -- a beautiful day at the discovery center of Legoland, New Jersey
R语言ggplot2可视化:gganimate包创建动态柱状图动画(gif)、使用transition_states函数在动画中沿给定维度逐步显示柱状图
How to delete the border of links in IE? [repeat] - how to remove borders around links in IE? [duplicate]
开源物联网平台ThingsBoard的安装
Have you stepped on the nine common pits in the e-commerce system?
Leetcode (154) -- find the minimum value II in the rotation sort array
使用 Cheat Engine 修改 Kingdom Rush 中的金钱、生命、星
文字编辑器 希望有错误的句子用红色标红,文字编辑器用了markdown
promise 和 Observable 的区别
LightGroupButton* sender = static_cast<LightGroupButton*>(QObject::sender());
页面标题组件
第一次去曼谷旅游怎么玩?这份省钱攻略请收好
Responses of different people in technology companies to bugs | daily anecdotes
The R language dplyr package rowwise function and mutate function calculate the maximum value of multiple data columns in each row in the dataframe data, and generate the data column (row maximum) cor
options should NOT have additional properties