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 / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

How to determine color of a cell?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KW - 23 Oct 2006 18:47 GMT
I have a column of numbers that if the cell is a color and another cell is
"Y" then sum the color cells.
Below is my example and below that is an equation I tried, but it did not
work because the ColorIndex(), appears to not traverse through the Array it
only returned the first cell color.
I am a rookie at this, so please excuse the poor example.

Question: Is there a way to get the "Color Index" for each cell in a row and
add the row as I go?
Thanks in advance for any help.

Example:
Row 1: Column A is Y for space charge, Column C is $10 is highlighted RED
Row 2: Column A is Y for space charge, Column C is $20 is not highlighted
Row 3: Column A is N for space charge, Column C is $40 is highlighted RED
Row 4: Column A is N for space charge, Column C is $10 is not highlighted

= SUMIF(and(a1:a4="N",C1:C4=indexcolor(44)),c1:c4,0)
Jim Thomlinson - 23 Oct 2006 19:23 GMT
Check out this link...

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

HTH...

Jim Thomlinson

> I have a column of numbers that if the cell is a color and another cell is
> "Y" then sum the color cells.
[quoted text clipped - 14 lines]
>
> = SUMIF(and(a1:a4="N",C1:C4=indexcolor(44)),c1:c4,0)
KW - 24 Oct 2006 19:23 GMT
Jim,

Thanks for the information, took me a bit to figure out how to use the
information, but once I did it hit the spot. THANKS

> Check out this link...
>
[quoted text clipped - 18 lines]
> >
> > = SUMIF(and(a1:a4="N",C1:C4=indexcolor(44)),c1:c4,0)
 
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.