Advertisement

05.10.2008 at 02:17PM PDT, ID: 23392064
[x]
Attachment Details

Color code cells by conditional formatting  by group (Heat Map)

Asked by Exl04 in Microsoft Excel Spreadsheet Software, Visual Basic Programming, Spreadsheet Software

Tags: Microsoft, Excel, 2003, Visual Basic for Applications

I have  data appended every day in a table from product specific failures. The data is a table with headers describing the Issues and below  are the year to date sum totals of each Issue (row 9).
 I want to color condition the cell Issues year totals row 9, Excel will give only 3 conditional formatting, but I need 4 and grouped in sets so I dont know if this can be done with a formula or code.
Note;
This table will be updated every day making the Issues totals a dynamic value.

 In this conditional formatting I need the Issues (there are 24 Issues) group rank in 4 colors  by their value. To color group the Issues value I need to use this format;

If these were the values in row range J9:AK9
;
24 &This will be the highest value cell color Blue
23 Second group Red
22 Second group Red
21 Second group Red
20 Second group Red
19 Third group Orange
18 Third group Orange
17 Third group Orange
16 Third group Orange
15 Third group Orange
14 Four group Light Yellow
13 Four group Light Yellow
12 Four group Light Yellow
11 Four group Light Yellow
10 Four group Light Yellow
9   Four group Light Yellow
8   Four group Light Yellow
7   Four group Light Yellow
6   Four group Light Yellow
5   Four group Light Yellow
4   Four group Light Yellow
3   Four group Light Yellow
2   Four group Light Yellow
1   Four group Light Yellow
So it comes up to
 1 cell Blue highest value
 3 Cells Red (next highest value after Blue)
5 Cells Orange (next highest value after Red)
14 Cells Yellow Light (next highest value after Orange)

I have attached a workbook with the Sheet name HeatMap containing data to mimic the range intended to colorcode  row 9J:AK9 , and data below row 12 is the data entered every day and is update, Sheet What code should to will explain my intentions for the code to work.

Ill appreciate any input to solve this problem in advance
Start Free Trial
Attachments:
 
 
[+][-]05.10.2008 at 02:55PM PDT, ID: 21540624

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2008 at 03:31PM PDT, ID: 21540765

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.10.2008 at 03:37PM PDT, ID: 21540785

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Excel Spreadsheet Software, Visual Basic Programming, Spreadsheet Software
Tags: Microsoft, Excel, 2003, Visual Basic for Applications
Sign Up Now!
Solution Provided By: zorvek
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.10.2008 at 03:40PM PDT, ID: 21540792

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.10.2008 at 03:49PM PDT, ID: 21540823

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.10.2008 at 11:02PM PDT, ID: 21541586

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628