Sumproduct arrays

L

L. Howard Kittle

Hello Excel Users and Experts,

With:

Sumproduct((array1=condition1)*(array2=condition2)*(array3))

Can array1 be column A, array2 be column C and array3 be column B? Or does
2 have to be to the right of 1 and 3 to the right of 2?

I could have swore I returned an array3 that was between 1 and 2 once upon a
time, but today I "swore" because I could not make that work. Moved the
array3 info to the right of 1 and 2, bingo, success.

Thanks folks.
Regards,
Howard
 
D

Dave Peterson

They can be any columns--well, you can't use the whole column--but the order
isn't important.
 
J

John James

As Dave says, the order is irrelevant.

But I'm curious with your statement
"Can array1 be column A ...". As far as I'm aware the arrays can't be
entire columns, only a parts of columns. Can you post the formula if
using the entire column works?
Thanks,
 
L

L. Howard Kittle

Well, I regrouped with Dave and John's advice. It works as advertised... I
must of had my columns values screwed up or perhaps the lookup values...???

Rats!!! I'm smarter than this but went duhhhhh...here.

Thanks Dave and John... will report back with the next brain cramp. <bg>

Thanks again.

Regards,
Howard
 
D

Dave Peterson

Or maybe you used different sized ranges????

L. Howard Kittle said:
Well, I regrouped with Dave and John's advice. It works as advertised... I
must of had my columns values screwed up or perhaps the lookup values...???

Rats!!! I'm smarter than this but went duhhhhh...here.

Thanks Dave and John... will report back with the next brain cramp. <bg>

Thanks again.

Regards,
Howard
 

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