PC Review


Reply
Thread Tools Rate Thread

Conditional formatting: same color, alternate background on same r

 
 
Tim Toennies
Guest
Posts: n/a
 
      26th Jun 2008
I have a series of data & I'd like the background to change color when the
color above is the same but I alse want that same color to be applied to the
current cell. For example
Value Background
1 blue
1 blue
1 blue
2 purple
2 purple
3 none
4 blue
5 blue
6 none
7 none
8 purple
8 purple
9 blue
9 blue
9 blue
9 blue
10 none

I tried this formula: =OR($B757=$B756,$B757=$B758)

but I'm only able to define one color. I need to be able to pick different
colors to differentiate the groupings.

Thanks for your help.
 
Reply With Quote
 
 
 
 
Max
Guest
Posts: n/a
 
      27th Jun 2008
Try David McRitchie's page at:
http://www.mvps.org/dmcritchie/excel/condfmt.htm
Scroll down a bit (about 1/3 down) to the section:
Color Grouping with alternating colors (#grouping)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Tim Toennies" wrote:
> I have a series of data & I'd like the background to change color when the
> color above is the same but I alse want that same color to be applied to the
> current cell. For example
> Value Background
> 1 blue
> 1 blue
> 1 blue
> 2 purple
> 2 purple
> 3 none
> 4 blue
> 5 blue
> 6 none
> 7 none
> 8 purple
> 8 purple
> 9 blue
> 9 blue
> 9 blue
> 9 blue
> 10 none
>
> I tried this formula: =OR($B757=$B756,$B757=$B758)
>
> but I'm only able to define one color. I need to be able to pick different
> colors to differentiate the groupings.
>
> Thanks for your help.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting background color for more than three zmenloans Microsoft Access 3 9th Jun 2009 02:16 PM
Find cells w/background color based on conditional formatting Freida Microsoft Excel Worksheet Functions 2 17th Nov 2008 07:36 PM
Conditional formatting of a subform's background color Nicholas Scarpinato Microsoft Access Forms 4 13th May 2008 05:14 AM
Change background color using conditional formatting =?Utf-8?B?cGZh?= Microsoft Excel Worksheet Functions 4 21st Aug 2007 02:56 PM
Background Color in Datasheet (without conditional formatting) Evan Camilleri Microsoft Access 1 15th Jun 2005 07:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:53 PM.