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
 

cstimart

Well-known Member
Joined
Feb 25, 2010
Messages
1,180
It might just be easier to select all the data and use Insert/Table and the select the style you prefer. ;)
 

T. Valko

Well-known Member
Joined
May 9, 2009
Messages
16,623
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
 

laban

New Member
Joined
Sep 27, 2011
Messages
10
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.
 

Forum statistics

Threads
1,081,702
Messages
5,360,738
Members
400,594
Latest member
Frothingslosh

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top