Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Change Row Color Based on Cell Value in Col A and B

I have a lot of data and it's hard to find stuff among different categories.
I frequently sort and filter rows of data, so I need a dynamic solution.

I"m envisioning adding two buttons. One to enact the formatting below, and
another to remove the formatting below. Thanks for your help!

Starting at Row 13 and through Row 3000

Col A Col B Cols C through AS
Apples Little Entire row should be light green
Apples Little Entire row should be light green
Apples Big Entire row is blue, but insert line between big
and little row
Apples Big Entire row should be light green
Apples Big Entire row should be light green
Oranges Bad Entire row is now white, insert line for row between
apls orngs
Oranges Bad White Row
Oranges Good White Row, insert line
Pears Fine Entire row is now light green, insert line
etc..


Thanks... I may be getting ahead of myself because I have another thread on
a seperate subject to close, but I intend to work on these over the weekend...
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Change Row Color Based on Cell Value in Col A and B

Have you tried conditional formatting? Won't work for inserting rows, but
you could add a border above or below and it will take care of colors easily.
You can set up multiple criteria for a given range. Highlight range of
cells you want to format, then use formula = $A1="Apples" and pick light
green fill color. Add additional criteria for oranges, pears, size. For
adding rows, I think you'd need a macro but this simpler approach might work.

"SteveC" wrote:

I have a lot of data and it's hard to find stuff among different categories.
I frequently sort and filter rows of data, so I need a dynamic solution.

I"m envisioning adding two buttons. One to enact the formatting below, and
another to remove the formatting below. Thanks for your help!

Starting at Row 13 and through Row 3000

Col A Col B Cols C through AS
Apples Little Entire row should be light green
Apples Little Entire row should be light green
Apples Big Entire row is blue, but insert line between big
and little row
Apples Big Entire row should be light green
Apples Big Entire row should be light green
Oranges Bad Entire row is now white, insert line for row between
apls orngs
Oranges Bad White Row
Oranges Good White Row, insert line
Pears Fine Entire row is now light green, insert line
etc..


Thanks... I may be getting ahead of myself because I have another thread on
a seperate subject to close, but I intend to work on these over the weekend...

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Change Row Color Based on Cell Value in Col A and B

I'll give that a shot and post the results if I need any tweaking... thanks
for the suggestion

"Cornelia" wrote:

Have you tried conditional formatting? Won't work for inserting rows, but
you could add a border above or below and it will take care of colors easily.
You can set up multiple criteria for a given range. Highlight range of
cells you want to format, then use formula = $A1="Apples" and pick light
green fill color. Add additional criteria for oranges, pears, size. For
adding rows, I think you'd need a macro but this simpler approach might work.

"SteveC" wrote:

I have a lot of data and it's hard to find stuff among different categories.
I frequently sort and filter rows of data, so I need a dynamic solution.

I"m envisioning adding two buttons. One to enact the formatting below, and
another to remove the formatting below. Thanks for your help!

Starting at Row 13 and through Row 3000

Col A Col B Cols C through AS
Apples Little Entire row should be light green
Apples Little Entire row should be light green
Apples Big Entire row is blue, but insert line between big
and little row
Apples Big Entire row should be light green
Apples Big Entire row should be light green
Oranges Bad Entire row is now white, insert line for row between
apls orngs
Oranges Bad White Row
Oranges Good White Row, insert line
Pears Fine Entire row is now light green, insert line
etc..


Thanks... I may be getting ahead of myself because I have another thread on
a seperate subject to close, but I intend to work on these over the weekend...

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
Change tab color based on current color of a cell MarkT Excel Discussion (Misc queries) 0 May 22nd 08 05:46 PM
Can you change the color of one cell based on the color of another andoscott Excel Discussion (Misc queries) 4 May 4th 07 04:02 PM
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
change fill color of a range of cells based on color of a cell? DarMelNel Excel Programming 0 March 2nd 06 06:35 PM
Browse Forms Controls and change TextBox color based on cell color StefanW Excel Programming 2 November 21st 04 07:06 PM


All times are GMT +1. The time now is 08:01 PM.

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

About Us

"It's about Microsoft Excel"