ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   recognition of coloured squares (https://www.excelbanter.com/excel-worksheet-functions/38682-recognition-coloured-squares.html)

princecharlie

recognition of coloured squares
 
what is the formulae for excel to recognise coloured squares and add up the
content?

Bob Phillips

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

--

HTH

RP
(remove nothere from the email address if mailing direct)


"princecharlie" wrote in message
...
what is the formulae for excel to recognise coloured squares and add up

the
content?




princecharlie

Many thanks forthe link but it seems to dpend on = ColorIndex numbers which i
cannot find despite using the formulae .I het #NAME?or #REF?
Any suggestions?
Thsnks for your interest


"Bob Phillips" wrote:

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

--

HTH

RP
(remove nothere from the email address if mailing direct)


"princecharlie" wrote in message
...
what is the formulae for excel to recognise coloured squares and add up

the
content?





Bob Phillips

You can also use it to pick up the colorindex number from a cell, like

=SUMPRODUCT(--(Colorindex(A1:A100)=Colorindex(A1))

This will find all instances of the colour in A1 in A1:A100.

Or you could colour a cell, say H1, and use H1 in the above formula.

You can also get the ColorIndex numbers by looking up ColorIndex Property in
VBA help.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"princecharlie" wrote in message
...
Many thanks forthe link but it seems to dpend on = ColorIndex numbers

which i
cannot find despite using the formulae .I het #NAME?or #REF?
Any suggestions?
Thsnks for your interest


"Bob Phillips" wrote:

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

--

HTH

RP
(remove nothere from the email address if mailing direct)


"princecharlie" wrote in

message
...
what is the formulae for excel to recognise coloured squares and add

up
the
content?








All times are GMT +1. The time now is 05:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com