Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
451 views
in Technique[技术] by (71.8m points)

excel - How to automatically change colors in a row if one cell in the row is not blank?

For example, if J2 is not blank anymore, the whole row turns green.

I have this written down:=IF(NOT(ISBLANK($J$2)),TRUE,FALSE), and apply only to row 2. But I want to expand to the whole sheet, not just only row 2.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Just remove dollar sign from in front of 2 like-

=IF(NOT(ISBLANK($J1)),TRUE,FALSE)

In fact you can simply use below formula.

=$J1<>""

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...