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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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,833
Messages
6,121,868
Members
449,053
Latest member
Mesh

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