Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 42
Default adding values in coloured cells

Hi

Is there a way to add numbers in cells of one colour together? i.e. all the
numbers in the red cells added together in one place and all the numbers in
blue cells in another place?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default adding values in coloured cells

Hi Lois

Bob Phillips has some code on his site to return the Colorindex of cells,
and then examples of how to use this within formulae.
http://www.xldynamic.com/source/xld.ColourCounter.html

--
Regards
Roger Govier



"lois" wrote in message
...
Hi

Is there a way to add numbers in cells of one colour together? i.e. all
the
numbers in the red cells added together in one place and all the numbers
in
blue cells in another place?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default adding values in coloured cells

Lois

If you have Excel 2003(don't know about 2007)

You could try this alternate method which doesn't use VBA or any add-ins.

In 2003 you can specify the Format color to look for under
EditFindOptionsFormatFormat.

Select the color from the Patterns dialog and Find All.

In the found dialog box the first cell will be highlighted.

SHIFT + End + Down Arrow to select all found cells.

The selected cells can then be summed by right-click on Status Bar and "Sum".


Gord Dibben MS Excel MVP

On Mon, 5 Nov 2007 07:29:44 -0800, lois wrote:

Hi

Is there a way to add numbers in cells of one colour together? i.e. all the
numbers in the red cells added together in one place and all the numbers in
blue cells in another place?

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
Automatically adding cells with values EZ MILL Excel Discussion (Misc queries) 3 October 2nd 07 07:38 PM
sum coloured cells Manxie Excel Discussion (Misc queries) 1 June 25th 07 12:52 PM
Adding data to coloured cells Paul Sheppard Excel Discussion (Misc queries) 1 June 29th 06 09:16 AM
Coloured Cells Becks Excel Discussion (Misc queries) 3 February 8th 06 12:46 PM
Adding multiple cells, return specific values Jim Excel Worksheet Functions 4 December 8th 04 07:26 AM


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