Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ile
 
Posts: n/a
Default count coloured cells

Hi
How can I count cells which are formatted in colour? I have tried the
countif function, but it does not work. I cannot use the conditional
formatting, because the cell values contain only text, which is not
repeating. So I have to manually colour the cells.

Please advise.

ile
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gary''s Student
 
Posts: n/a
Default count coloured cells

See:

http://www.cpearson.com/excel/colors.htm
--
Gary's Student


"ile" wrote:

Hi
How can I count cells which are formatted in colour? I have tried the
countif function, but it does not work. I cannot use the conditional
formatting, because the cell values contain only text, which is not
repeating. So I have to manually colour the cells.

Please advise.

ile

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ile
 
Posts: n/a
Default count coloured cells

Thanks for the help. Unfortunately I'm not that familiar with VB coding. I
copied the code to VB editor, but it didn't work. What am I doing wrong?

Any solutions?

ile

"Gary''s Student" wrote:

See:

http://www.cpearson.com/excel/colors.htm
--
Gary's Student


"ile" wrote:

Hi
How can I count cells which are formatted in colour? I have tried the
countif function, but it does not work. I cannot use the conditional
formatting, because the cell values contain only text, which is not
repeating. So I have to manually colour the cells.

Please advise.

ile

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Chip Pearson
 
Posts: n/a
Default count coloured cells

In the VBA Editor, go to the Insert menu and choose Module. Paste
the code in that module.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"ile" wrote in message
...
Thanks for the help. Unfortunately I'm not that familiar with
VB coding. I
copied the code to VB editor, but it didn't work. What am I
doing wrong?

Any solutions?

ile

"Gary''s Student" wrote:

See:

http://www.cpearson.com/excel/colors.htm
--
Gary's Student


"ile" wrote:

Hi
How can I count cells which are formatted in colour? I have
tried the
countif function, but it does not work. I cannot use the
conditional
formatting, because the cell values contain only text, which
is not
repeating. So I have to manually colour the cells.

Please advise.

ile



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ile
 
Posts: n/a
Default count coloured cells

Thanks Chip. I managed to get the 'colorindex' function to work, but the
'countbycolor' gives an error message. I guess the problem is with the
syntax. I've tried many variations to it, but still can't get it to work.

This means a trip to library and reading VBA basics... :-)

Many thanks for the help.

ile

"Chip Pearson" wrote:

In the VBA Editor, go to the Insert menu and choose Module. Paste
the code in that module.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"ile" wrote in message
...
Thanks for the help. Unfortunately I'm not that familiar with
VB coding. I
copied the code to VB editor, but it didn't work. What am I
doing wrong?

Any solutions?

ile

"Gary''s Student" wrote:

See:

http://www.cpearson.com/excel/colors.htm
--
Gary's Student


"ile" wrote:

Hi
How can I count cells which are formatted in colour? I have
tried the
countif function, but it does not work. I cannot use the
conditional
formatting, because the cell values contain only text, which
is not
repeating. So I have to manually colour the cells.

Please advise.

ile




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
Count if cells have multiple data telewats Excel Worksheet Functions 2 January 20th 06 10:30 PM
count colored cells? DKY Excel Worksheet Functions 21 January 19th 06 09:47 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Count cells in one range based on parameters in another range dave roth Excel Worksheet Functions 2 March 29th 05 05:33 PM
Can I count how many grey-filled cells are in a row ? AnthonyG Excel Worksheet Functions 1 February 4th 05 10:08 AM


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