+ Reply to Thread
Results 1 to 5 of 5

Sumproduct arrays

  1. #1
    L. Howard Kittle
    Guest

    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. #2
    Dave Peterson
    Guest

    Re: 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. #3
    Forum Contributor
    Join Date
    03-21-2006
    Posts
    205
    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,

  4. #4
    L. Howard Kittle
    Guest

    Re: 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" <[email protected]> wrote in message
    news:[email protected]...
    > 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. #5
    Dave Peterson
    Guest

    Re: 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" <[email protected]> wrote in message
    > news:[email protected]...
    > > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1