Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Macro for color coding

I think I need to create a macro but i'm not real sure how or even if this
is what I need to do. Here is what I am trying to do:

The following information is in an excel spreadsheet:

Column Q Col R Col S
Col T
Actuals Budget Var. to Budget %
Var. to Budget
75.36 84.00 8.64
10.29%

$ 6,255,588 $ 7,047,249 $ 791,661 11.23%
1,285,656 1,452,863 167,207 11.51%
7,541,244 8,500,112 958,868 11.28%

- - - 0.00%
47,957 157,369 109,412 69.53%
149,288 230,600 81,312 35.26%
174,510 227,455 52,945 23.28%
41,359 107,800 66,441 61.63%
62,133 71,676 9,543 13.31%
475,247 794,900 319,653 40.21%

$ 8,016,491 $ 9,295,012 1,278,521 13.75%

If the numbers in Column T fall within a certain range, the number in column
T has to be color coded as follows:
10% Blue
2% to =10% green

-2% to 2% gold
anything greater than -2 red

The entire row, needs to be color coded the same color as the number in
column T (regardless of the range that numbers in Q-S fall under).

Any suggestions on how or even if this can be done.

Thanks!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default Macro for color coding

You could Format ALL the %'s in COlumn T as Gold (-2 to + 2 - less volitile)
Then use the limit of the 3 Conditional Formatting options for the Blue,
Green and Red - utilizing the CellValue option Greater than, Between and Less
than


"pdgarza" wrote:

I think I need to create a macro but i'm not real sure how or even if this
is what I need to do. Here is what I am trying to do:

The following information is in an excel spreadsheet:

Column Q Col R Col S
Col T
Actuals Budget Var. to Budget %
Var. to Budget
75.36 84.00 8.64
10.29%

$ 6,255,588 $ 7,047,249 $ 791,661 11.23%
1,285,656 1,452,863 167,207 11.51%
7,541,244 8,500,112 958,868 11.28%

- - - 0.00%
47,957 157,369 109,412 69.53%
149,288 230,600 81,312 35.26%
174,510 227,455 52,945 23.28%
41,359 107,800 66,441 61.63%
62,133 71,676 9,543 13.31%
475,247 794,900 319,653 40.21%

$ 8,016,491 $ 9,295,012 1,278,521 13.75%

If the numbers in Column T fall within a certain range, the number in column
T has to be color coded as follows:
10% Blue
2% to =10% green

-2% to 2% gold
anything greater than -2 red

The entire row, needs to be color coded the same color as the number in
column T (regardless of the range that numbers in Q-S fall under).

Any suggestions on how or even if this can be done.

Thanks!


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
color coding Chris Excel Discussion (Misc queries) 2 May 9th 07 06:43 PM
Color coding cells Angela Excel Discussion (Misc queries) 2 September 27th 06 09:20 PM
Color Coding Cells c_shema Excel Worksheet Functions 1 February 5th 06 02:50 PM
color coding Ardilla Excel Worksheet Functions 1 January 11th 06 08:49 PM
Color coding tnlovesme Excel Discussion (Misc queries) 1 May 4th 05 01:39 PM


All times are GMT +1. The time now is 10:01 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"