#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Counting by colour

Hi, I have tried to count the colours on a spreadsheet. I have copied
Pearson Consulting functions for counting colorindex, which I have managed to
get working when at another company, but when I put the formula
=SUMPRODUCT(--(ColorIndex(A1:A100,TRUE)=3)) in I get the #NAME? Error message.

I have also tried the formula Ossie mac posted but I also get the #NAME?
error. I am using 2003.

Am I missing something?

Davie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Counting by colour

Hi Davie

You also need Chip's Function, loaded in the workbook.
There is a downloadable example at Chip's site
http://www.cpearson.com/Zips/modColorFunctions.zip
--
Regards
Roger Govier

"davethewelder" wrote in message
...
Hi, I have tried to count the colours on a spreadsheet. I have copied
Pearson Consulting functions for counting colorindex, which I have managed
to
get working when at another company, but when I put the formula
=SUMPRODUCT(--(ColorIndex(A1:A100,TRUE)=3)) in I get the #NAME? Error
message.

I have also tried the formula Ossie mac posted but I also get the #NAME?
error. I am using 2003.

Am I missing something?

Davie


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Counting by colour

Roger, I downloaded the file from the link and extracted it. I have a file
with a .bas extension and I cannot open it or import it into the VB editor.
How do I set it up in the workbook?
Davie

"Roger Govier" wrote:

Hi Davie

You also need Chip's Function, loaded in the workbook.
There is a downloadable example at Chip's site
http://www.cpearson.com/Zips/modColorFunctions.zip
--
Regards
Roger Govier

"davethewelder" wrote in message
...
Hi, I have tried to count the colours on a spreadsheet. I have copied
Pearson Consulting functions for counting colorindex, which I have managed
to
get working when at another company, but when I put the formula
=SUMPRODUCT(--(ColorIndex(A1:A100,TRUE)=3)) in I get the #NAME? Error
message.

I have also tried the formula Ossie mac posted but I also get the #NAME?
error. I am using 2003.

Am I missing something?

Davie



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Counting by colour

Hi

Within the VB Project ExplorerFileImportselect modColorFunctions.basOK
A new Module will get created within Project Explorer, with the code
visible.

--
Regards
Roger Govier

"davethewelder" wrote in message
...
Roger, I downloaded the file from the link and extracted it. I have a
file
with a .bas extension and I cannot open it or import it into the VB
editor.
How do I set it up in the workbook?
Davie

"Roger Govier" wrote:

Hi Davie

You also need Chip's Function, loaded in the workbook.
There is a downloadable example at Chip's site
http://www.cpearson.com/Zips/modColorFunctions.zip
--
Regards
Roger Govier

"davethewelder" wrote in
message
...
Hi, I have tried to count the colours on a spreadsheet. I have copied
Pearson Consulting functions for counting colorindex, which I have
managed
to
get working when at another company, but when I put the formula
=SUMPRODUCT(--(ColorIndex(A1:A100,TRUE)=3)) in I get the #NAME? Error
message.

I have also tried the formula Ossie mac posted but I also get the
#NAME?
error. I am using 2003.

Am I missing something?

Davie



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Counting by colour

Roger, I have opened the file and the module has been created as stated but I
a still getting the "#NAME?" returned when I try any formulae.

Davie

"Roger Govier" wrote:

H

Within the VB Project ExplorerFileImportselect modColorFunctions.basOK
A new Module will get created within Project Explorer, with the code
visible.

--
Regards
Roger Govier

"davethewelder" wrote in message
...
Roger, I downloaded the file from the link and extracted it. I have a
file
with a .bas extension and I cannot open it or import it into the VB
editor.
How do I set it up in the workbook?
Davie

"Roger Govier" wrote:

Hi Davie

You also need Chip's Function, loaded in the workbook.
There is a downloadable example at Chip's site
http://www.cpearson.com/Zips/modColorFunctions.zip
--
Regards
Roger Govier

"davethewelder" wrote in
message
...
Hi, I have tried to count the colours on a spreadsheet. I have copied
Pearson Consulting functions for counting colorindex, which I have
managed
to
get working when at another company, but when I put the formula
=SUMPRODUCT(--(ColorIndex(A1:A100,TRUE)=3)) in I get the #NAME? Error
message.

I have also tried the formula Ossie mac posted but I also get the
#NAME?
error. I am using 2003.

Am I missing something?

Davie





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Counting by colour

Hi

If you look at Chip's information, there is no function of the name you have
been using.
=countcolor($F$1:$F$14,3)
correctly returned a value of 5 for me
--
Regards
Roger Govier

"davethewelder" wrote in message
...
Roger, I have opened the file and the module has been created as stated
but I
a still getting the "#NAME?" returned when I try any formulae.

Davie

"Roger Govier" wrote:

H

Within the VB Project ExplorerFileImportselect
modColorFunctions.basOK
A new Module will get created within Project Explorer, with the code
visible.

--
Regards
Roger Govier

"davethewelder" wrote in
message
...
Roger, I downloaded the file from the link and extracted it. I have a
file
with a .bas extension and I cannot open it or import it into the VB
editor.
How do I set it up in the workbook?
Davie

"Roger Govier" wrote:

Hi Davie

You also need Chip's Function, loaded in the workbook.
There is a downloadable example at Chip's site
http://www.cpearson.com/Zips/modColorFunctions.zip
--
Regards
Roger Govier

"davethewelder" wrote in
message
...
Hi, I have tried to count the colours on a spreadsheet. I have
copied
Pearson Consulting functions for counting colorindex, which I have
managed
to
get working when at another company, but when I put the formula
=SUMPRODUCT(--(ColorIndex(A1:A100,TRUE)=3)) in I get the #NAME?
Error
message.

I have also tried the formula Ossie mac posted but I also get the
#NAME?
error. I am using 2003.

Am I missing something?

Davie



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 62
Default Counting by colour

Roger, this worked for me. Thanks for your help. It was Bob Philips site,
XLDynamic.com that has the colourindex function. I will read chip's
information more carefully.

Thanks again,

Davie


"Roger Govier" wrote:

Hi

If you look at Chip's information, there is no function of the name you have
been using.
=countcolor($F$1:$F$14,3)
correctly returned a value of 5 for me
--
Regards
Roger Govier

"davethewelder" wrote in message
...
Roger, I have opened the file and the module has been created as stated
but I
a still getting the "#NAME?" returned when I try any formulae.

Davie

"Roger Govier" wrote:

H

Within the VB Project ExplorerFileImportselect
modColorFunctions.basOK
A new Module will get created within Project Explorer, with the code
visible.

--
Regards
Roger Govier

"davethewelder" wrote in
message
...
Roger, I downloaded the file from the link and extracted it. I have a
file
with a .bas extension and I cannot open it or import it into the VB
editor.
How do I set it up in the workbook?
Davie

"Roger Govier" wrote:

Hi Davie

You also need Chip's Function, loaded in the workbook.
There is a downloadable example at Chip's site
http://www.cpearson.com/Zips/modColorFunctions.zip
--
Regards
Roger Govier

"davethewelder" wrote in
message
...
Hi, I have tried to count the colours on a spreadsheet. I have
copied
Pearson Consulting functions for counting colorindex, which I have
managed
to
get working when at another company, but when I put the formula
=SUMPRODUCT(--(ColorIndex(A1:A100,TRUE)=3)) in I get the #NAME?
Error
message.

I have also tried the formula Ossie mac posted but I also get the
#NAME?
error. I am using 2003.

Am I missing something?

Davie




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
Counting cells according to their colour ALawes Excel Discussion (Misc queries) 5 January 22nd 09 08:20 PM
counting cell that are fomated a particular fill colour Andrew@rushington[_2_] Excel Discussion (Misc queries) 8 December 7th 07 10:40 PM
Counting colour fills Jonah Excel Discussion (Misc queries) 2 December 21st 06 01:11 AM
Counting and colour coding ranges of occurances ConfusedinCalgary New Users to Excel 4 July 19th 06 12:38 AM
Counting colour formatted cells Hood Excel Worksheet Functions 2 June 23rd 06 03:14 PM


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