Sumif interior.colorindex condition

G

Guest

I tried to use sumif to sum up values of cells in a row below cells
highlighted with interior colorfilled:

sumif(range1, interior.colorindex=3,range2)

range 1 - row with highlighted cells
interior fill color - red
range 2 - cells in row below containing values to be summed up

the formula returned 0 value.

Anyone who can shed some light?
 
G

Guest

Hi Bob,

i've tryed to use colorindex fuction, (course I copy your VBA to my
workbook), but it's returned #NOME?

My excel is in brazilian portuguese, but I think it is not a problem to run
the fuction, do you have any Idea about this error message?

Regards from Brazil
Marcelo



"Bob Phillips" escreveu:
 
B

Bob Phillips

In Portuguese you should use SOMARPRODUTO not SUMPRODUCT. I don't know it is
exactly the same in Brazilian Portuguese.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
G

Guest

yes, is that SOMARPRODUTO, but, I just try to use the function COLORINDEX(A1)
for eg, and it's returns #nome.

regards



"Bob Phillips" escreveu:
 
B

Bob Phillips

It is difficult to say Marcelo as I don't have a foreign language Excel to
try it with (must get one one day).

Can you mail me the workbook?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
G

Guest

Bob

I think, I was doing something wrong...because know its work..

Thanks for your help

Marcelo


"Bob Phillips" escreveu:
 
B

Bob Phillips

Well it's a result no matter how achieved <vbg>

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top