Excel表格中隔行填充色的方法
时间:2023-04-12 02:38:00
Excel表格中隔行填充色的方法
操作方法是,点击数据区域任意单元格,【插入】【表格】
以上插入表格的步骤也可以按快捷键【Ctrl+T】来完成,更方便快捷。
并且可以通过设置表格样式,更换表格的颜色。
除此之外,还有一种方法是利用条件格式完成。
选中数据区域,依次单击【开始】【条件格式】【新建规则】【使用公式确定要设置格式的单元格】,输入以下公式:
=MOD(ROW(),2)
=MOD(ROW(),2)这个公式的意思想必大家都知道吧?
简单说一下:ROW()函数返回公式所在单元格的行号,再用MOD函数计算当前单元格的行号与2相除的余数,结果为0或是1。
在条件格式中,如果使用的公式返回逻辑值TRUE或是非0数值,就会执行指定的突出显示格式。因此所有行号为单数的,即被填充为指定的颜色了。
使用公式设置条件格式,看起来过程比较多,但是使用更加灵活。咱们也可以设置为任意间隔的行数,比如说设置间隔5行填充颜色,就可以在条件格式中使用以下公式:
=MOD((ROW(A1)-1)/5,2)<1
想一想,如果间隔三行突出显示,或是隔8行突出显示,公式该如何修改呢?
总结一下就是:
数据多多,
容易看错。
插入表格,
隔行填色。
标签:公式,格式,行号,表格,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Excel2000如何创建计算公式
2023-04-13 21:38:39
![](https://img.aspxhome.com/file/2023/3/37703_0s.jpg)
Win10 RedStone红石IoT物联网预览版14279的下载 修复树莓派3驱动
2022-08-25 15:47:22
![](https://img.aspxhome.com/file/2023/29/a261681_0s.png)
谷歌浏览器ssl连接出错怎么办-ssl连接出错解决方法
2022-06-03 07:48:07
![](https://img.aspxhome.com/file/2023/3/a292738_0s.jpg)
WPS excel如何给数据制作升降箭头
2022-11-24 03:08:39
![](https://img.aspxhome.com/file/2023/2/a186682_0s.jpg)
马桶MT如何关注好友?马桶MT关注好友的方法
2023-05-05 10:40:13
![](https://img.aspxhome.com/file/2023/8/a335605_0s.png)
骁龙821处理器怎么样_骁龙821评测、跑分、参数、相关手机及报价
2023-02-23 20:03:26
![](https://img.aspxhome.com/file/2023/2/a284579_0s.jpg)
win7系统设置开机自动启动防火墙的方法
2023-06-30 05:06:37
![](https://img.aspxhome.com/file/2023/5/a314476_0s.png)
如何将Wmic添加到Win11操作系统 ?Win11无法识别Wmic的解决方法
2022-06-10 00:02:27
![](https://img.aspxhome.com/file/2023/28/a240375_0s.jpg)
win11英雄联盟进不去游戏怎么办
2022-07-01 09:57:01
![](https://img.aspxhome.com/file/2023/1/a281694_0s.jpg)
京东装机大师入口在哪里
2023-05-18 04:31:45
![](https://img.aspxhome.com/file/2023/3/a294142_0s.png)
Peid查壳脱壳教程
2023-12-25 19:07:12
![](https://img.aspxhome.com/file/2023/7/a328625_0s.jpg)
Win8系统电脑怎么修改锁屏壁纸
2022-01-21 03:40:21
![](https://img.aspxhome.com/file/2023/3/a292699_0s.jpg)
升级Win10正式版出现0x80070002错误并自动回退至Win8.1系统的解决方法
2022-12-10 13:31:40
![](https://img.aspxhome.com/file/2023/28/a248302_0s.jpg)
土豆视频APP中删除观看记录的具体操作方法
2023-05-21 14:20:32
![](https://img.aspxhome.com/file/2023/8/a338774_0s.jpg)
wps表格查找重复项并删除的技巧
2022-02-11 12:14:42
![](https://img.aspxhome.com/file/2023/6/a164006_0s.jpg)
excel数据透视表VBA的数据类型
2022-06-24 09:26:17
![](https://img.aspxhome.com/file/2023/7/a141947_0s.jpg)
WPS excel巧用条件格式标记谁没签到
2023-09-16 01:14:33
![](https://img.aspxhome.com/file/2023/2/a185252_0s.png)
笔记本电脑死机的正确处理方法
2023-05-11 09:34:01
![](https://img.aspxhome.com/file/2023/6/a321380_0s.png)
Evernote是什么?Evernote有哪些功能?
2022-03-26 19:06:05
![](https://img.aspxhome.com/file/2023/9/a340550_0s.jpg)
Win8如何使用iSCSI发起程序具体如何操作
2023-08-15 04:35:11
![](https://img.aspxhome.com/file/2023/29/a254239_0s.jpg)