sumproduct problem

N

nada

hi all,
i entered in B2 =if(LEN A2=0,"",A2) so if A2 is blank B2 will appear blank
but for example if i tried to enter in another cell the following:
sumproduct((C1:C7<>"")*B1:B7) it returns error value as it sees B2 not blank,
can anyone help me?
 
D

Dave Peterson

Maybe a small variation that avoids text in column B:

=sumproduct(--(C1:C7<>""),B1:B7)
 
B

Bob Phillips

=SUMIF(C1:C7,"<>",B1:B7)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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