Conditional Formatting Only Applying to One Column

laban

New Member
Joined
Sep 27, 2011
Messages
10
I have two similar worksheets that both have a large amounts of data. I conditionally formatted one to have every other row filled light blue, to make it a little easier on the eyes. On my first worksheet it worked great, but when I tried to do the same on the second worksheet, it only applied to the second column, even though I had selected all columns.

Formula: =MOD(ROW(),2)=0

Version: Excel 2010

Any recommendations would be appreciated.

Thanks,

Laban
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
It might just be easier to select all the data and use Insert/Table and the select the style you prefer. ;)
 
Upvote 0
I have two similar worksheets that both have a large amounts of data. I conditionally formatted one to have every other row filled light blue, to make it a little easier on the eyes. On my first worksheet it worked great, but when I tried to do the same on the second worksheet, it only applied to the second column, even though I had selected all columns.

Formula: =MOD(ROW(),2)=0

Version: Excel 2010

Any recommendations would be appreciated.

Thanks,

Laban
Are you sure you selected all the columns?

Let's assume you want to format the range A1:F10.

Select the *entire* range A1:F10 starting from cell A1.
Cell A1 will be the active cell. The active cell is the
one cell in the selected range that is not shaded. The
formula will be relative to the active cell.

Goto the Home tab>Styles>Conditional Formatting>Manage rules>New rule>Use a formula to determine which cells to format

Enter your formula in the box below:

=MOD(ROW(),2)=0

Click the Format button
Select the desired style(s)
OK out
 
Upvote 0
Thanks CSTIMART, I was able to get it to work by selecting everything and hitting no fill. That apparently overrided whatever was wrong. Perhaps there was a white fill that covered the conditional formatting.

Next time, I'll probably just try it your way.
 
Upvote 0

Forum statistics

Threads
1,224,559
Messages
6,179,517
Members
452,921
Latest member
BBQKING

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