Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Countif cell has shading


I have a simple worksheet with rows where column A is a person's name
and then columns B through AC are different statistics. I shade
certain cells manually based on a criteria. Once those cells are
shaded, I want in column AD for there to be a countif statement that
counts the number of cells shaded on that row. It seems easy enough
but I can't figure out how to do it! If anybody could provide any
example I would greatly appreciate it.

Thanks!


--
ChrisF79
------------------------------------------------------------------------
ChrisF79's Profile: http://www.excelforum.com/member.php...o&userid=27549
View this thread: http://www.excelforum.com/showthread...hreadid=470743

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Countif cell has shading

It sounds like you're shading cells using format|conditional formatting.

If that's true, then the easiest way would be to use the same kind of formulas
in cells (column AD?).

Determining the color of cells based on conditional formatting is not for the
faint of heart.

If you want to look for yourself, review the code from Chip Pearson's site:
http://www.cpearson.com/excel/CFColors.htm

ChrisF79 wrote:

I have a simple worksheet with rows where column A is a person's name
and then columns B through AC are different statistics. I shade
certain cells manually based on a criteria. Once those cells are
shaded, I want in column AD for there to be a countif statement that
counts the number of cells shaded on that row. It seems easy enough
but I can't figure out how to do it! If anybody could provide any
example I would greatly appreciate it.

Thanks!

--
ChrisF79
------------------------------------------------------------------------
ChrisF79's Profile: http://www.excelforum.com/member.php...o&userid=27549
View this thread: http://www.excelforum.com/showthread...hreadid=470743


--

Dave Peterson
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
is it possible to sort the data by cell shading or cell color? L.T. Excel Discussion (Misc queries) 3 July 17th 06 08:24 PM
Conditional Cell Shading (based on the shading of other cells) Tubby Excel Worksheet Functions 2 June 20th 06 10:03 PM
Cell Shading blatham Excel Discussion (Misc queries) 1 January 15th 06 03:12 PM
shading a rowwhen a time is entered but no shading when 0 is enter fomula problems Excel Worksheet Functions 7 October 23rd 05 08:44 PM
change cell shading whenever contents different from previous cell zooeyhallne Excel Discussion (Misc queries) 3 June 6th 05 09:59 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"