Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Cell Count

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bombayterror - 21 Jan 2006 21:17 GMT
I have a spead sheet with 25 rows and 90 columns. These rows have been
Conditionaly formated in such a way that there are 4 distince groups.

For example
Row 1 has numbers ranging from 1 to 400
My conditional format was that
if the cell value was between 1 to 100 -- Fill the cell with the color
blue
If the cell value was between 101 to 200 -- Fill the cell with the
color yellow
If the cell value was between 201 to 300 -- Fill the cell with the
color green
If the cell value was between 301 to 400 -- Don't fill the cell with
any color

The result game me what I wanted

now Is there any way in excel where the program can give me a count of
the blue cells in a row, yellow cells in a row and green cells in a
row?

I don't want to sit and manually count them because I am sure I will
make silly mistakes like double counting a cell or forgeting to count 1
of them.

thanks

Signature

bombayterror

daddylonglegs - 21 Jan 2006 21:27 GMT
You can’t actually count the coloured cells using formulas – but you can
count using the same conditions as you used for the conditional
formatting, e.g. for row 2, assuming your columns start at A.

=COUNTIF(A2:DL2,">0")-COUNTIF(A2:DL2,">100")

then

=COUNTIF(A2:DL2,">100")-COUNTIF(A2:DL2,">200")

etc.

Signature

daddylonglegs

Bob Phillips - 21 Jan 2006 21:33 GMT
CF cells are difficult, but it can be done. See
http://xldynamic.com/source/xld.CFConditions.html

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

> I have a spead sheet with 25 rows and 90 columns. These rows have been
> Conditionaly formated in such a way that there are 4 distince groups.
[quoted text clipped - 28 lines]
> bombayterror's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=22855
> View this thread: http://www.excelforum.com/showthread.php?threadid=503701
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.