Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Change background color when value changes in a column.

Column A has been sorted with a blank line after each unique entry. I
would like to format the first occurence in Column A as well as Column
B with a background color. Column B will continue with that color
until Column A has a different value, then a new color will be applied
for the next grouping.

This report is somewhat dynamic where there may be 5 to 20 uniques in
Column A so I need atleast the ability to use up to twenty colors,
which I can predefine in a case.

The example of what I'm trying to achieve is:
http://www.atlantissupport.com/example/example.xls

There is no code in the example above, it's just for example.

Does anyone have any ideas on how to do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Change background color when value changes in a column.


On first glance, achieving the formatting you show in the example won't be easy.
You may want to try the alternative of shading rows in alternating colors
whenever the value in a particular column changes.

You can try out the "Shade Data Rows" add-in from my website to see if
that approach is close to what you need.

Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"S Himmelrich"
wrote in message
Column A has been sorted with a blank line after each unique entry. I
would like to format the first occurence in Column A as well as Column
B with a background color. Column B will continue with that color
until Column A has a different value, then a new color will be applied
for the next grouping.

This report is somewhat dynamic where there may be 5 to 20 uniques in
Column A so I need atleast the ability to use up to twenty colors,
which I can predefine in a case.

The example of what I'm trying to achieve is:
http://www.atlantissupport.com/example/example.xls

There is no code in the example above, it's just for example.
Does anyone have any ideas on how to do this?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Change background color when value changes in a column.

Thank you for your reply....yes I agree this won't be easy to
accomplish, especially since I'm not an advanced macro / vb coder.
Unfortunately considering an add-in is not an option because the work
I'm performing is for a major financial company and distributing
product that requires software installations is not going to happen by
any stretch...hence I'm sorry to say I cannot consider your offer,
thank you anyway.

Scott



On Jan 15, 8:24*pm, "Jim Cone" wrote:
On first glance, achieving the formatting you show in the example won't be easy.
You may want to try the alternative of shading rows in alternating colors
whenever the value in a particular column changes.

You can try out the "Shade Data Rows" add-in from my website to see if
that approach is close to what you need.

Jim Cone
San Francisco, USAhttp://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)

"S Himmelrich"
wrote in message
Column A has been sorted with a blank line after each unique entry. *I
would like to format the first occurence in Column A as well as Column
B with a background color. *Column B will continue with that color
until Column A has a different value, then a new color will be applied
for the next grouping.

This report is somewhat dynamic where there may be 5 to 20 uniques in
Column A so I need atleast the ability to use up to twenty colors,
which I can predefine in a case.

The example of what I'm trying to achieve is:http://www.atlantissupport.com/example/example.xls

There is no code in the example above, it's just for example.
Does anyone have any ideas on how to do this?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkbox to change background color, font color and remove/ add bo Sara Excel Discussion (Misc queries) 2 May 1st 23 11:43 AM
Change background color based on value in column A JT Innovations Excel Discussion (Misc queries) 4 January 23rd 09 07:14 PM
how can I conditionally change font color, or background color? MOHA Excel Worksheet Functions 3 August 21st 06 06:57 PM
change background row color with change of date in a cell Urszula Excel Discussion (Misc queries) 5 May 17th 06 07:56 AM
Change of text or background color doesn't change on the screen. Susan Excel Discussion (Misc queries) 5 July 29th 05 07:18 PM


All times are GMT +1. The time now is 04:45 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"