New Excel Forum

This forum has been moved to TeachExcel.com

Ask all future questions in the New Excel Forum.

ExcelKey

Conditional Formatting not working on all selected cells?

Formulas, Functions, Formatting, Charts, Data Analysis, etc.

Conditional Formatting not working on all selected cells?

Postby Zil » Wed Apr 11, 2012 3:29 pm

I have a rather large excel 2010 sheet that needs conditional formatting, and the conditional formatting is only working for the first cell in the group of cells that have the rules applied to them. Four cells at a time have the same rules apply to them. The following are the steps I followed along with what happened:

1. Selected four cells.
2. Added 3 rules under conditional formatting>manage rules.
3. Clicked OK.
4. The font in the cells is supposed to be certain colors depending on the values, and if within normal spec remain the default font color.
5. The first cell in the group of four follows the rules.
6. The font in the last 3 cells turns orange, the color for the last rule, regardless of the value.


I have doubled check everything, and had a co-worker who I would rate excellent in her excel knowledge look at this. We are both stumped. I really don't want to have to go through 240 cells and individually add conditional formatting, so any help would be very much appreciated.
  • 0

Zil
Rookie
 
Posts: 2
Joined: Apr 11, 2012
Reputation: 0
Excel Version: 2010

Re: Conditional Formatting not working on all selected cells?

Postby Sisyphus » Wed Apr 11, 2012 11:15 pm

Hi,
Did you, by any chance, include absolute referencing in your formatting conditions?
Formula is =A1=0 pr Formula is =A$1=0 will produce different results, the latter the kind of result you are describing.
  • 0

Have a great day! :D

Sisyphus
I do this for "honour and country" - much less of the latter, actually.
If I helped you, award points, plenty of them.
If I bored you, deduct points for being too long-winded. (I know, :lol)
Sisyphus
Former Moderator
 
Posts: 4454
Joined: Dec 7, 2011
Location: Shanghai
Reputation: 203
Excel Version: 2010

Re: Conditional Formatting not working on all selected cells?

Postby Zil » Thu Apr 12, 2012 8:43 am

Thanks for responding, but wheather or not the formula had absolute referencing did not a difference. Orginally it had the absolute reference, so I tried taking it out "just to see."
  • 0

Zil
Rookie
 
Posts: 2
Joined: Apr 11, 2012
Reputation: 0
Excel Version: 2010

Re: Conditional Formatting not working on all selected cells?

Postby pecoflyer » Thu Apr 12, 2012 11:27 am

Maybe post a small sample sheet ( not picture please) showing your problem would help
  • 0

A relevant topic title helps get faster and more answers
pecoflyer
Moderator
 
Posts: 1274
Joined: Jan 24, 2012
Location: Belgium
Reputation: 39
Excel Version: 2003/2007/2010

Re: Conditional Formatting not working on all selected cells?

Postby Sisyphus » Thu Apr 12, 2012 7:38 pm

There are two ways to set the conditional formatting with relative referencing.
  1. Set one cell and copy the format down from there.
  2. Select all cells to be formatted and enter the condition for the active (first) cell.
You used the second but you used absolute formatting and got an unexpected result. Note that you can't undo this kind of error by changing the reference style in one cell and "apply to all others". You have to delete the existing and create new. However, if the second way doesn't work, try the first.
  • 0

Have a great day! :D

Sisyphus
I do this for "honour and country" - much less of the latter, actually.
If I helped you, award points, plenty of them.
If I bored you, deduct points for being too long-winded. (I know, :lol)
Sisyphus
Former Moderator
 
Posts: 4454
Joined: Dec 7, 2011
Location: Shanghai
Reputation: 203
Excel Version: 2010


Return to General Excel Questions

Who is online

Users browsing this forum: No registered users and 51 guests