ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional format to shade/color every blank row? (https://www.excelbanter.com/excel-worksheet-functions/188586-conditional-format-shade-color-every-blank-row.html)

nick

Conditional format to shade/color every blank row?
 
Just as the title says. Thanks.

ShaneDevenshire

Conditional format to shade/color every blank row?
 
Hi Nick,

The answer depends on the version of Excel you are using:

2003 or earlier - Highlight all rows you are interested in by dragging
through the row numbers. Let's assume you highlight from row 1 down to row
28, starting in row 1.
Choose Format, Conditional Formatting, and choose Formula is from the first
drop down.
In the next box enter the formula =COUNTA(1:1)=0
Click Format and set whatever you want.


--
Cheers,
Shane Devenshire
Microsoft Excel MVP

"Nick" wrote:

Just as the title says. Thanks.


nick

Conditional format to shade/color every blank row?
 
I enter that and it shaded some rows but not all. I have a huge spreadsheet
with colored rows as spacers that has crashed and keeps crashing and retains
values on recover but loses formatting. Since the entire row of the spacer
rows are blank I just want to find a faster way to shade them without using
the format painter. Any other ideas?

"ShaneDevenshire" wrote:

Hi Nick,

The answer depends on the version of Excel you are using:

2003 or earlier - Highlight all rows you are interested in by dragging
through the row numbers. Let's assume you highlight from row 1 down to row
28, starting in row 1.
Choose Format, Conditional Formatting, and choose Formula is from the first
drop down.
In the next box enter the formula =COUNTA(1:1)=0
Click Format and set whatever you want.


--
Cheers,
Shane Devenshire
Microsoft Excel MVP

"Nick" wrote:

Just as the title says. Thanks.


ShaneDevenshire

Conditional format to shade/color every blank row?
 
Hi Nick,

My suggestion above does it all in one simple set of steps!
1. Highlight all the row numbers down as far as you want.
2. Use Conditional Formatting exactly like I described.
3. When you click OK all rows that are completely blank will be formatted
with the color you choose and all non-blank rows will remain unformatted.

--
Cheers,
Shane Devenshire


"Nick" wrote:

I enter that and it shaded some rows but not all. I have a huge spreadsheet
with colored rows as spacers that has crashed and keeps crashing and retains
values on recover but loses formatting. Since the entire row of the spacer
rows are blank I just want to find a faster way to shade them without using
the format painter. Any other ideas?

"ShaneDevenshire" wrote:

Hi Nick,

The answer depends on the version of Excel you are using:

2003 or earlier - Highlight all rows you are interested in by dragging
through the row numbers. Let's assume you highlight from row 1 down to row
28, starting in row 1.
Choose Format, Conditional Formatting, and choose Formula is from the first
drop down.
In the next box enter the formula =COUNTA(1:1)=0
Click Format and set whatever you want.


--
Cheers,
Shane Devenshire
Microsoft Excel MVP

"Nick" wrote:

Just as the title says. Thanks.



All times are GMT +1. The time now is 12:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com