如果行中的特定单元格不为空,则格式化整个行 [英] Format entire row if a particular cell in the row is not empty

查看:75
本文介绍了如果行中的特定单元格不为空,则格式化整个行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要格式化整个行,具体取决于其中的特定单元格是否为空.我希望条件格式遍历所有行,并说如果该行中的C列不为空,则添加背景色.

I want to format the whole row depending on if a particular cell in that is empty or not. I want conditional formatting to go through all rows and say add a background color if column C in that row is not empty.

我该如何解决?

推荐答案

为进行示例说明,假设整行"包含ColumnsA:Z,请尝试使用Format-条件格式...,自定义公式为 :

For illustration assuming "whole row" is ColumnsA:Z inclusive, please try Format - Conditional formatting..., Custom formula is:

=$C1<>""  

具有您选择的格式和范围: A:Z.

with formatting of your choice and Range: A:Z.

这篇关于如果行中的特定单元格不为空,则格式化整个行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆