Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 386
Default Sum if cell = grey

Hi,

Is it possible to have sum if cell = a colour?

If for example from row A1 to 20 I have a list of numbers each with or
without a cell fill colour as required. Is there a formula, (not code), I
can use to calculate the sum of all the cells coloured in grey for example
(colour index 15)?

Thanks
LiAD
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Sum if cell = grey

How did the cells get to be colored?

Manually..........you will need code.

Conditional Formatting?

SUMIF or SUMPRODUCT by same criteria.


Gord Dibben MS Excel MVP

On Fri, 19 Feb 2010 07:31:03 -0800, LiAD
wrote:

Hi,

Is it possible to have sum if cell = a colour?

If for example from row A1 to 20 I have a list of numbers each with or
without a cell fill colour as required. Is there a formula, (not code), I
can use to calculate the sum of all the cells coloured in grey for example
(colour index 15)?

Thanks
LiAD


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 95
Default Sum if cell = grey

On Feb 19, 4:31*pm, LiAD wrote:
Hi,

Is it possible to have sum if cell = a colour?

If for example from row A1 to 20 I have a list of numbers each with or
without a cell fill colour as required. *Is there a formula, (not code), I
can use to calculate the sum of all the cells coloured in grey for example
(colour index 15)?

Thanks
LiAD


Hi LiAD,
you find Excel Functions/Formulas to Count/Sum Excel Cells by Color on
oxgrid's site:
http://www.ozgrid.com/VBA/Sum.htm

HTH, have a nice day
Cheers Michael
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 386
Default Sum if cell = grey

Hi,

Thanks for your help

The cells were manually coloured. However In order to avoid using code I
could put a T at the end of the number then use cond. format to colour it.
This would generate a list of numbers such as -: 3 5T 9562 65237T
0.9T 54€¦.whatever. What is the simplest function I can use to sum if the
number contains T?

Thanks

Thanks

"Gord Dibben" wrote:

How did the cells get to be colored?

Manually..........you will need code.

Conditional Formatting?

SUMIF or SUMPRODUCT by same criteria.


Gord Dibben MS Excel MVP

On Fri, 19 Feb 2010 07:31:03 -0800, LiAD
wrote:

Hi,

Is it possible to have sum if cell = a colour?

If for example from row A1 to 20 I have a list of numbers each with or
without a cell fill colour as required. Is there a formula, (not code), I
can use to calculate the sum of all the cells coloured in grey for example
(colour index 15)?

Thanks
LiAD


.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Sum if cell = grey

If you're going to adding a "T" don't add it to the numbers.

Add it in adjacent cells in a helper column then filter on the that column
for "T" and use

=SUBTOTAL(9,A1:A20)


Gord

On Mon, 22 Feb 2010 00:44:01 -0800, LiAD
wrote:

Hi,

Thanks for your help

The cells were manually coloured. However In order to avoid using code I
could put a T at the end of the number then use cond. format to colour it.
This would generate a list of numbers such as -: 3 5T 9562 65237T
0.9T 54….whatever. What is the simplest function I can use to sum if the
number contains T?

Thanks

Thanks

"Gord Dibben" wrote:

How did the cells get to be colored?

Manually..........you will need code.

Conditional Formatting?

SUMIF or SUMPRODUCT by same criteria.


Gord Dibben MS Excel MVP

On Fri, 19 Feb 2010 07:31:03 -0800, LiAD
wrote:

Hi,

Is it possible to have sum if cell = a colour?

If for example from row A1 to 20 I have a list of numbers each with or
without a cell fill colour as required. Is there a formula, (not code), I
can use to calculate the sum of all the cells coloured in grey for example
(colour index 15)?

Thanks
LiAD


.


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
The clear filter from a a heading cell is grey out Mark Excel Worksheet Functions 2 September 23rd 09 03:17 AM
Grey cell , or Black cell? Angela1979 Excel Worksheet Functions 3 March 8th 07 09:18 PM
Grey out cell Angela1979 Excel Worksheet Functions 13 March 8th 07 09:16 PM
grey dot in left upper corner of cell singnothing Excel Discussion (Misc queries) 1 April 1st 06 10:06 AM
Cell borders printing black instead of grey julie@mwfc Excel Discussion (Misc queries) 1 February 23rd 05 12:19 AM


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