#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
skat
 
Posts: n/a
Default ColorIndex

Where can I find the ColorIndex codes?
--
skat

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
skat
 
Posts: n/a
Default ColorIndex

I am trying to use this statement in a cell:
=SUMPRODUCT(--(ColorIndex(A1:A3)=3),A1:A3), the cell returns #Name. The
only cells in use are A1 containing 24, A2 containing 16 and A3 containing
the above formula. Cell A1 background is colored red. What is wrong? I
would expect the sum to be 24.
--
skat


"Ron de Bruin" wrote:

See
http://www.mvps.org/dmcritchie/excel/colors.htm


--
Regards Ron De Bruin
http://www.rondebruin.nl



"skat" wrote in message ...
Where can I find the ColorIndex codes?
--
skat

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default ColorIndex

You have to install the colorindex, it a Use Defined Function (UDF)

http://www.mvps.org/dmcritchie/excel/install.htm

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"skat" wrote in message
...
I am trying to use this statement in a cell:
=SUMPRODUCT(--(ColorIndex(A1:A3)=3),A1:A3), the cell returns #Name. The
only cells in use are A1 containing 24, A2 containing 16 and A3 containing
the above formula. Cell A1 background is colored red. What is wrong? I
would expect the sum to be 24.
--
skat


"Ron de Bruin" wrote:

See
http://www.mvps.org/dmcritchie/excel/colors.htm


--
Regards Ron De Bruin
http://www.rondebruin.nl



"skat" wrote in message
...
Where can I find the ColorIndex codes?
--
skat

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the
"I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and
then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron de Bruin
 
Posts: n/a
Default ColorIndex

See
http://www.mvps.org/dmcritchie/excel/colors.htm


--
Regards Ron De Bruin
http://www.rondebruin.nl



"skat" wrote in message ...
Where can I find the ColorIndex codes?
--
skat

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
skat
 
Posts: n/a
Default ColorIndex

I'm using Excel 2007. It already contains a function called SumProduct but
it doesn't accept (--(colorindex(A1:A2)=3),A1:A3). Could you please give me
the code that I have to enter in a macro for colorindex? How can I use the
Excel 2007 SumProduct function to selectively sum only the cells with a red
background?
skat


"Peo Sjoblom" wrote:

You have to install the colorindex, it a Use Defined Function (UDF)

http://www.mvps.org/dmcritchie/excel/install.htm

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"skat" wrote in message
...
I am trying to use this statement in a cell:
=SUMPRODUCT(--(ColorIndex(A1:A3)=3),A1:A3), the cell returns #Name. The
only cells in use are A1 containing 24, A2 containing 16 and A3 containing
the above formula. Cell A1 background is colored red. What is wrong? I
would expect the sum to be 24.
--
skat


"Ron de Bruin" wrote:

See
http://www.mvps.org/dmcritchie/excel/colors.htm


--
Regards Ron De Bruin
http://www.rondebruin.nl



"skat" wrote in message
...
Where can I find the ColorIndex codes?
--
skat

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the
"I
Agree" button in the message pane. If you do not see the button, follow
this
link to open the suggestion in the Microsoft Web-based Newsreader and
then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default ColorIndex

In 2007 you can actually apply autofilter using color, then use subtotal to
sum

=SUBTOTAL(9,A2:A50)



http://www.cpearson.com/excel/colors.htm

look for "Summing the values of cells with a specific color"
copy from Function SumByColor until and including End Function

however since 2007 has that built in I would suggest the filter way

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"skat" wrote in message
...
I'm using Excel 2007. It already contains a function called SumProduct
but
it doesn't accept (--(colorindex(A1:A2)=3),A1:A3). Could you please give
me
the code that I have to enter in a macro for colorindex? How can I use
the
Excel 2007 SumProduct function to selectively sum only the cells with a
red
background?
skat


"Peo Sjoblom" wrote:

You have to install the colorindex, it a Use Defined Function (UDF)

http://www.mvps.org/dmcritchie/excel/install.htm

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"skat" wrote in message
...
I am trying to use this statement in a cell:
=SUMPRODUCT(--(ColorIndex(A1:A3)=3),A1:A3), the cell returns #Name.
The
only cells in use are A1 containing 24, A2 containing 16 and A3
containing
the above formula. Cell A1 background is colored red. What is wrong?
I
would expect the sum to be 24.
--
skat


"Ron de Bruin" wrote:

See
http://www.mvps.org/dmcritchie/excel/colors.htm


--
Regards Ron De Bruin
http://www.rondebruin.nl



"skat" wrote in message
...
Where can I find the ColorIndex codes?
--
skat

----------------
This post is a suggestion for Microsoft, and Microsoft responds to
the
suggestions with the most votes. To vote for this suggestion, click
the
"I
Agree" button in the message pane. If you do not see the button,
follow
this
link to open the suggestion in the Microsoft Web-based Newsreader
and
then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions








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
Trying to change ColorIndex for series settings SiriS Charts and Charting in Excel 3 March 14th 06 01:54 PM
VBA ColorIndex Formatting [email protected] Excel Discussion (Misc queries) 5 February 20th 06 03:38 PM
colorIndex listing for Chart with autoformat settings Jean Ruch Charts and Charting in Excel 2 October 14th 05 08:55 AM
Public Function to Return ColorIndex Fries Excel Discussion (Misc queries) 2 July 28th 05 09:23 AM
colorindex Nell Fahey Excel Discussion (Misc queries) 3 April 28th 05 07:06 PM


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