Conditional Formatting + ISBLANK=False?

type88

New Member
Joined
Sep 30, 2005
Messages
33
I am looking for a solution to a banding problem.

Basically just a twist on odd row banding (=MOD(ROW()-Rw,N*2)+1<=N
) but only for cells which are NOT blank.

I am working on spreadsheets which expand and contract frequently, and was hoping to find a way to avoid having to reselect the active area and reapply the conditional formatting.

Any ideas?

m.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
This formula will conditionally format all odd rows:
=MOD(ROW(),2)

What determines a blank row? Any cell in the row? A certain cell? Is it numeric data, text data, or both?
 
Upvote 0
I was hoping to determine weather a CELL was blank vs a row or column. In either case, the format of the contents runs the gamut from formulas, text, numbers, and custom formats.
 
Upvote 0
This assumes the cell you're checking is in Column A, change as necessary:

=MOD(ROW(),2)*($A1<>"")
 
Upvote 0
That worked nicely, thank you.
And now that I see the strategy behind it, it will help me sort out a few other issues as well.
 
Upvote 0

Forum statistics

Threads
1,214,601
Messages
6,120,460
Members
448,965
Latest member
grijken

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top