#1   Report Post  
Posted to microsoft.public.excel.misc
L. Howard Kittle
 
Posts: n/a
Default Sumproduct arrays

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


  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Sumproduct arrays

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



"L. Howard Kittle" wrote:

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


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
John James
 
Posts: n/a
Default Sumproduct arrays


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,


--
John James
------------------------------------------------------------------------
John James's Profile: http://www.excelforum.com/member.php...o&userid=32690
View this thread: http://www.excelforum.com/showthread...hreadid=531727

  #4   Report Post  
Posted to microsoft.public.excel.misc
L. Howard Kittle
 
Posts: n/a
Default Sumproduct arrays

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

"L. Howard Kittle" wrote in message
. ..
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



  #5   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Sumproduct arrays

Or maybe you used different sized ranges????

"L. Howard Kittle" wrote:

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

"L. Howard Kittle" wrote in message
. ..
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


--

Dave Peterson
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
Problem with SUMPRODUCT and Arrays [email protected] Excel Worksheet Functions 2 January 13th 06 09:55 PM
sumproduct, arrays affecting speed Dave Breitenbach Excel Worksheet Functions 4 December 1st 05 11:16 PM
If condition is true return sumproduct of two arrays Felipe Excel Worksheet Functions 0 October 14th 05 05:26 AM
If condition is true return sumproduct of two arrays Duke Carey Excel Worksheet Functions 0 October 14th 05 05:24 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 06:39 PM.

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"