Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Total values per colour

Hi,

I have a number of rows, for each row I have several columns


Red Green Blue Pink
Row1 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row2 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row3 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row4 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4



For each col1 - col7 there will be a value which will be colour coded, I
would like to be able total the values in the Total columns for the correct
colours - is this possible?

Regards,

Sanj


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Total values per colour

http://www.cpearson.com/excel/colors.htm

--
Kind regards,

Niek Otten

"Sanjay" wrote in message ...
Hi,

I have a number of rows, for each row I have several columns


Red Green Blue Pink
Row1 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row2 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row3 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row4 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4



For each col1 - col7 there will be a value which will be colour coded, I
would like to be able total the values in the Total columns for the correct
colours - is this possible?

Regards,

Sanj




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Total values per colour

See http://www.xldynamic.com/source/xld.ColourCounter.html for a working
solution

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Sanjay" wrote in message
...
Hi,

I have a number of rows, for each row I have several columns


Red Green Blue Pink
Row1 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row2 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row3 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row4 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4



For each col1 - col7 there will be a value which will be colour coded, I
would like to be able total the values in the Total columns for the

correct
colours - is this possible?

Regards,

Sanj




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Total values per colour

Thanks - I tried adding the functions but in the cell from both sites I get
an #NAME? error what am I doing wrong?

Thanks!

"Bob Phillips" wrote:

See http://www.xldynamic.com/source/xld.ColourCounter.html for a working
solution

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Sanjay" wrote in message
...
Hi,

I have a number of rows, for each row I have several columns


Red Green Blue Pink
Row1 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row2 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row3 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row4 | Col1 | Col2 | Col3 | Col4 | Col5 |
Col6 | Col7 |Total1 |Total2 |Total3 |Total4



For each col1 - col7 there will be a value which will be colour coded, I
would like to be able total the values in the Total columns for the

correct
colours - is this possible?

Regards,

Sanj





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Total values per colour

Have you added the VBA code?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"sanj" wrote in message
...
Thanks - I tried adding the functions but in the cell from both sites I

get
an #NAME? error what am I doing wrong?

Thanks!

"Bob Phillips" wrote:

See http://www.xldynamic.com/source/xld.ColourCounter.html for a working
solution

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Sanjay" wrote in message
...
Hi,

I have a number of rows, for each row I have several columns


Red Green Blue Pink
Row1 | Col1 | Col2 | Col3 | Col4 | Col5

|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row2 | Col1 | Col2 | Col3 | Col4 | Col5

|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row3 | Col1 | Col2 | Col3 | Col4 | Col5

|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row4 | Col1 | Col2 | Col3 | Col4 | Col5

|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4



For each col1 - col7 there will be a value which will be colour

coded, I
would like to be able total the values in the Total columns for the

correct
colours - is this possible?

Regards,

Sanj









  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Total values per colour

Bob,

I added the VB code on the by adding a Module and also tried by adding the
code to the 'ThisWorkbook' - don't know what I am doing wrong?

Thanks

"Bob Phillips" wrote:

Have you added the VBA code?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"sanj" wrote in message
...
Thanks - I tried adding the functions but in the cell from both sites I

get
an #NAME? error what am I doing wrong?

Thanks!

"Bob Phillips" wrote:

See http://www.xldynamic.com/source/xld.ColourCounter.html for a working
solution

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Sanjay" wrote in message
...
Hi,

I have a number of rows, for each row I have several columns


Red Green Blue Pink
Row1 | Col1 | Col2 | Col3 | Col4 | Col5

|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row2 | Col1 | Col2 | Col3 | Col4 | Col5

|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row3 | Col1 | Col2 | Col3 | Col4 | Col5

|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row4 | Col1 | Col2 | Col3 | Col4 | Col5

|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4



For each col1 - col7 there will be a value which will be colour

coded, I
would like to be able total the values in the Total columns for the
correct
colours - is this possible?

Regards,

Sanj








  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Total values per colour

It should go in a standard code module (InsertModule), not a sheet module,
and not ThisWorkbook.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"sanj" wrote in message
...
Bob,

I added the VB code on the by adding a Module and also tried by adding the
code to the 'ThisWorkbook' - don't know what I am doing wrong?

Thanks

"Bob Phillips" wrote:

Have you added the VBA code?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"sanj" wrote in message
...
Thanks - I tried adding the functions but in the cell from both sites

I
get
an #NAME? error what am I doing wrong?

Thanks!

"Bob Phillips" wrote:

See http://www.xldynamic.com/source/xld.ColourCounter.html for a

working
solution

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Sanjay" wrote in message
...
Hi,

I have a number of rows, for each row I have several columns


Red Green Blue Pink
Row1 | Col1 | Col2 | Col3 | Col4 |

Col5
|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row2 | Col1 | Col2 | Col3 | Col4 |

Col5
|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row3 | Col1 | Col2 | Col3 | Col4 |

Col5
|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4
Row4 | Col1 | Col2 | Col3 | Col4 |

Col5
|
Col6 | Col7 |Total1 |Total2 |Total3 |Total4



For each col1 - col7 there will be a value which will be colour

coded, I
would like to be able total the values in the Total columns for

the
correct
colours - is this possible?

Regards,

Sanj










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
how to change font colour for values. eg if value < 10 red, gre. Chris Excel Discussion (Misc queries) 4 August 30th 09 11:27 PM
Sum total cells to change colour Car Excel Discussion (Misc queries) 2 October 25th 07 07:32 PM
Change text colour if range of values all zero Robin Excel Worksheet Functions 5 August 3rd 07 02:38 PM
How can I colour format all cells based on their values magic Excel Worksheet Functions 3 April 19th 07 06:41 PM
Having colour for different values Brento Excel Discussion (Misc queries) 2 July 14th 05 02:07 AM


All times are GMT +1. The time now is 01:19 AM.

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"