Format entire row if a particular cell in the row is not empty

£可爱£侵袭症+ 提交于 2019-12-03 22:12:25

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

=$C1<>""  

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

I was able to do this by selecting the range I want the conditional formatting to apply to (for instance, A:P if you want to apply colour to columns A through P), and then selecting "Custom formula is" and adding =LEN($C:$C)>0. Then you just need to select the colour you want to apply.

The new Google Sheets can do some of this. Follow the instructions here: https://support.google.com/drive/answer/78413?hl=en

Summary: Format menu => Conditional formatting => "Text contains" drop down menu, select "Custom formula is" => Type "=isblank(C2)" => Add background color => Add range (like: A2:D2)

Although it does not solve completely the question, you will be able to define one rows color based on a cell's value.

Hope it helped.

P.s: While I was testing it I have encountered some bugs in this feature so it may very well happen that it won't be really useful. We'll see...

Little late of an answer but hopefully it will help anyone searching:

=IF(a2="",false,true)

And select your range to format, with A2 being something in the range (not sure if this matters).

Works for conditional formatting.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!