+ Reply to Thread
Results 1 to 67 of 67

Sumproduct Help

  1. #1
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I've spent a lot of time looking at this trying to understand, and I'm sure
    I still don't fully :-).

    I don't see where D7 comes into play to ensure that you count by supplier
    for instance.

    Here is my stab at it. I think (hope!) that it is close, but I expect that
    we are not quite there yet, so please feedback.

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    59)*(D260=$D$7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > My apologies Bob, I miss your reply. I tired your formula and it does

    return
    > a value but it is not calculating correctly. My spreadsheet is laid out

    as
    > follows( The fields have been changed for clarity, and to protect the
    > innocent LOL). Suppliers are listed in row 7, and there may be more than

    one
    > column with the same Supplier.
    > then 10 sales divisions below. Each division has room to enter 6
    > transactions per supplier with 4 cells in the column making up the
    > transaction. Col A is a helper column that contains the division number

    in
    > each of the 24 rows for that division.
    >
    > d7 Supplier
    >
    > b13 Div1 C13 Sold to
    > C14 Product
    > C15 Date
    > C16 Qty
    >
    > c13:c14 repeats 5 more times and then Div2 starts.
    >
    > What I am trying to accomplish with the formula.....
    > Below the grid for entries is a supplier summary by division.
    >
    > C260=Div D260= Supplier1 e260 Supplier2
    > C261=1
    > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > Div1
    >
    >
    > I hope I havent added further confusion. Im sure there is another

    solution,
    > I was trying to modify an existing formula that only looked at one column,
    > and wasnt sure how to get the other columns in.
    > Thanks!
    >
    >
    > "Bob Phillips" wrote:
    >
    > > I gave you an alternative.
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > The helper column didnt work. Are there any other approches that I

    might
    > > use
    > > > in order to use a different range? D595=d7:IV7
    > > >
    > > > "JE McGimpsey" wrote:
    > > >
    > > > > All your ranges must be the same size.
    > > > >
    > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > >
    > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > >
    > > > > In article <[email protected]>,
    > > > > Rob <[email protected]> wrote:
    > > > >
    > > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > ec
    > > > > > 'd"),D565:D588).
    > > > > >
    > > > > > I have disected the fromula and applied each criteria to the range

    and
    > > get
    > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    contains
    > > text and
    > > > > > numeric entries, but all of the matching entries (The ones that

    should
    > > add)
    > > > > > are numeric.
    > > > > > What am I missing?
    > > > >

    > >
    > >
    > >




  2. #2
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I am struggling to visualise your data. Can you post a sample workbook
    somewhere?

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > bob thanks for your time....
    > Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and

    i
    > am trying to summarize Supplier1 in column D, then how does your formula

    pick
    > up the other 2 columns? Thats what my reference do d7 was supposed to do.
    > Thanks again
    >
    >
    > "Bob Phillips" wrote:
    >
    > > Rob,
    > >
    > > I've spent a lot of time looking at this trying to understand, and I'm

    sure
    > > I still don't fully :-).
    > >
    > > I don't see where D7 comes into play to ensure that you count by

    supplier
    > > for instance.
    > >
    > > Here is my stab at it. I think (hope!) that it is close, but I expect

    that
    > > we are not quite there yet, so please feedback.
    > >
    > >

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > > 59)*(D260=$D$7)
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > My apologies Bob, I miss your reply. I tired your formula and it does

    > > return
    > > > a value but it is not calculating correctly. My spreadsheet is laid

    out
    > > as
    > > > follows( The fields have been changed for clarity, and to protect the
    > > > innocent LOL). Suppliers are listed in row 7, and there may be more

    than
    > > one
    > > > column with the same Supplier.
    > > > then 10 sales divisions below. Each division has room to enter 6
    > > > transactions per supplier with 4 cells in the column making up the
    > > > transaction. Col A is a helper column that contains the division

    number
    > > in
    > > > each of the 24 rows for that division.
    > > >
    > > > d7 Supplier
    > > >
    > > > b13 Div1 C13 Sold to
    > > > C14 Product
    > > > C15 Date
    > > > C16 Qty
    > > >
    > > > c13:c14 repeats 5 more times and then Div2 starts.
    > > >
    > > > What I am trying to accomplish with the formula.....
    > > > Below the grid for entries is a supplier summary by division.
    > > >
    > > > C260=Div D260= Supplier1 e260 Supplier2
    > > > C261=1
    > > > D261 is where the formula goes that will total the "Qty" for Supplier1

    for
    > > > Div1
    > > >
    > > >
    > > > I hope I havent added further confusion. Im sure there is another

    > > solution,
    > > > I was trying to modify an existing formula that only looked at one

    column,
    > > > and wasnt sure how to get the other columns in.
    > > > Thanks!
    > > >
    > > >
    > > > "Bob Phillips" wrote:
    > > >
    > > > > I gave you an alternative.
    > > > >
    > > > > --
    > > > >
    > > > > HTH
    > > > >
    > > > > RP
    > > > > (remove nothere from the email address if mailing direct)
    > > > >
    > > > >
    > > > > "Rob" <[email protected]> wrote in message
    > > > > news:[email protected]...
    > > > > > The helper column didnt work. Are there any other approches that

    I
    > > might
    > > > > use
    > > > > > in order to use a different range? D595=d7:IV7
    > > > > >
    > > > > > "JE McGimpsey" wrote:
    > > > > >
    > > > > > > All your ranges must be the same size.
    > > > > > >
    > > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > > >
    > > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > > >
    > > > > > > In article <[email protected]>,
    > > > > > > Rob <[email protected]> wrote:
    > > > > > >
    > > > > > > >
    > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > > ec
    > > > > > > > 'd"),D565:D588).
    > > > > > > >
    > > > > > > > I have disected the fromula and applied each criteria to the

    range
    > > and
    > > > > get
    > > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > > contains
    > > > > text and
    > > > > > > > numeric entries, but all of the matching entries (The ones

    that
    > > should
    > > > > add)
    > > > > > > > are numeric.
    > > > > > > > What am I missing?
    > > > > > >
    > > > >
    > > > >
    > > > >

    > >
    > >
    > >




  3. #3
    Rob
    Guest

    Re: Sumproduct Help

    The helper column didnt work. Are there any other approches that I might use
    in order to use a different range? D595=d7:IV7

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  4. #4
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    You don't need a helper column

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(RIGHT(C565:C588,5)="Rec'd"),D565:
    D588)*(D595=D7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > I thikn I can add a helper column. Thanks!
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  5. #5
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    What exactlyt are you trying to do?

    D565:D588 = 24 rows x 1 column
    D7:IV7 (where did the ":IV7" come from?) = 1 row x 253 columns

    It doesn't help much to say "the helper column didnt work" if you don't
    explain what it was supposed to do, or how you tried to use it...



    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > The helper column didnt work. Are there any other approches that I might use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)=
    > > > "Rec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and
    > > > get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains text
    > > > and
    > > > numeric entries, but all of the matching entries (The ones that should
    > > > add)
    > > > are numeric.
    > > > What am I missing?

    > >


  6. #6
    Rob
    Guest

    Re: Sumproduct Help

    bob thanks for your time....
    Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and i
    am trying to summarize Supplier1 in column D, then how does your formula pick
    up the other 2 columns? Thats what my reference do d7 was supposed to do.
    Thanks again


    "Bob Phillips" wrote:

    > Rob,
    >
    > I've spent a lot of time looking at this trying to understand, and I'm sure
    > I still don't fully :-).
    >
    > I don't see where D7 comes into play to ensure that you count by supplier
    > for instance.
    >
    > Here is my stab at it. I think (hope!) that it is close, but I expect that
    > we are not quite there yet, so please feedback.
    >
    > =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > 59)*(D260=$D$7)
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > My apologies Bob, I miss your reply. I tired your formula and it does

    > return
    > > a value but it is not calculating correctly. My spreadsheet is laid out

    > as
    > > follows( The fields have been changed for clarity, and to protect the
    > > innocent LOL). Suppliers are listed in row 7, and there may be more than

    > one
    > > column with the same Supplier.
    > > then 10 sales divisions below. Each division has room to enter 6
    > > transactions per supplier with 4 cells in the column making up the
    > > transaction. Col A is a helper column that contains the division number

    > in
    > > each of the 24 rows for that division.
    > >
    > > d7 Supplier
    > >
    > > b13 Div1 C13 Sold to
    > > C14 Product
    > > C15 Date
    > > C16 Qty
    > >
    > > c13:c14 repeats 5 more times and then Div2 starts.
    > >
    > > What I am trying to accomplish with the formula.....
    > > Below the grid for entries is a supplier summary by division.
    > >
    > > C260=Div D260= Supplier1 e260 Supplier2
    > > C261=1
    > > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > > Div1
    > >
    > >
    > > I hope I havent added further confusion. Im sure there is another

    > solution,
    > > I was trying to modify an existing formula that only looked at one column,
    > > and wasnt sure how to get the other columns in.
    > > Thanks!
    > >
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > I gave you an alternative.
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "Rob" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > The helper column didnt work. Are there any other approches that I

    > might
    > > > use
    > > > > in order to use a different range? D595=d7:IV7
    > > > >
    > > > > "JE McGimpsey" wrote:
    > > > >
    > > > > > All your ranges must be the same size.
    > > > > >
    > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > >
    > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > >
    > > > > > In article <[email protected]>,
    > > > > > Rob <[email protected]> wrote:
    > > > > >
    > > > > > >
    > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > ec
    > > > > > > 'd"),D565:D588).
    > > > > > >
    > > > > > > I have disected the fromula and applied each criteria to the range

    > and
    > > > get
    > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > contains
    > > > text and
    > > > > > > numeric entries, but all of the matching entries (The ones that

    > should
    > > > add)
    > > > > > > are numeric.
    > > > > > > What am I missing?
    > > > > >
    > > >
    > > >
    > > >

    >
    >
    >


  7. #7
    William Horton
    Guest

    RE: Sumproduct Help

    Try the below formula.

    =SUMPRODUCT((MOD(ROW(D565:D588),4)=3)*(D595=D7)*(RIGHT(C565:C588,5)="Rec'd")*(D565:D588))

    Hope this does what you wanted.

    Thanks,
    Bill Horton

    "Rob" wrote:

    > Hi
    > I cannot get this to work:
    >
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?
    > Thanks!
    >


  8. #8
    Rob
    Guest

    Re: Sumproduct Help

    I thikn I can add a helper column. Thanks!

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  9. #9
    Bob Phillips
    Guest

    Re: Sumproduct Help

    I gave you an alternative.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > The helper column didnt work. Are there any other approches that I might

    use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  10. #10
    Rob
    Guest

    Re: Sumproduct Help

    My apologies Bob, I miss your reply. I tired your formula and it does return
    a value but it is not calculating correctly. My spreadsheet is laid out as
    follows( The fields have been changed for clarity, and to protect the
    innocent LOL). Suppliers are listed in row 7, and there may be more than one
    column with the same Supplier.
    then 10 sales divisions below. Each division has room to enter 6
    transactions per supplier with 4 cells in the column making up the
    transaction. Col A is a helper column that contains the division number in
    each of the 24 rows for that division.

    d7 Supplier

    b13 Div1 C13 Sold to
    C14 Product
    C15 Date
    C16 Qty

    c13:c14 repeats 5 more times and then Div2 starts.

    What I am trying to accomplish with the formula.....
    Below the grid for entries is a supplier summary by division.

    C260=Div D260= Supplier1 e260 Supplier2
    C261=1
    D261 is where the formula goes that will total the "Qty" for Supplier1 for
    Div1


    I hope I havent added further confusion. Im sure there is another solution,
    I was trying to modify an existing formula that only looked at one column,
    and wasnt sure how to get the other columns in.
    Thanks!


    "Bob Phillips" wrote:

    > I gave you an alternative.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > The helper column didnt work. Are there any other approches that I might

    > use
    > > in order to use a different range? D595=d7:IV7
    > >
    > > "JE McGimpsey" wrote:
    > >
    > > > All your ranges must be the same size.
    > > >
    > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > >
    > > > In article <[email protected]>,
    > > > Rob <[email protected]> wrote:
    > > >
    > > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > ec
    > > > > 'd"),D565:D588).
    > > > >
    > > > > I have disected the fromula and applied each criteria to the range and

    > get
    > > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    > text and
    > > > > numeric entries, but all of the matching entries (The ones that should

    > add)
    > > > > are numeric.
    > > > > What am I missing?
    > > >

    >
    >
    >


  11. #11
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    All your ranges must be the same size.

    Perhaps you could move --(D595=D7) out of the SUMPRODUCT:

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)

    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > 'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?


  12. #12
    Bob Phillips
    Guest

    Re: Sumproduct Help

    I gave you an alternative.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > The helper column didnt work. Are there any other approches that I might

    use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  13. #13
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I've spent a lot of time looking at this trying to understand, and I'm sure
    I still don't fully :-).

    I don't see where D7 comes into play to ensure that you count by supplier
    for instance.

    Here is my stab at it. I think (hope!) that it is close, but I expect that
    we are not quite there yet, so please feedback.

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    59)*(D260=$D$7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > My apologies Bob, I miss your reply. I tired your formula and it does

    return
    > a value but it is not calculating correctly. My spreadsheet is laid out

    as
    > follows( The fields have been changed for clarity, and to protect the
    > innocent LOL). Suppliers are listed in row 7, and there may be more than

    one
    > column with the same Supplier.
    > then 10 sales divisions below. Each division has room to enter 6
    > transactions per supplier with 4 cells in the column making up the
    > transaction. Col A is a helper column that contains the division number

    in
    > each of the 24 rows for that division.
    >
    > d7 Supplier
    >
    > b13 Div1 C13 Sold to
    > C14 Product
    > C15 Date
    > C16 Qty
    >
    > c13:c14 repeats 5 more times and then Div2 starts.
    >
    > What I am trying to accomplish with the formula.....
    > Below the grid for entries is a supplier summary by division.
    >
    > C260=Div D260= Supplier1 e260 Supplier2
    > C261=1
    > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > Div1
    >
    >
    > I hope I havent added further confusion. Im sure there is another

    solution,
    > I was trying to modify an existing formula that only looked at one column,
    > and wasnt sure how to get the other columns in.
    > Thanks!
    >
    >
    > "Bob Phillips" wrote:
    >
    > > I gave you an alternative.
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > The helper column didnt work. Are there any other approches that I

    might
    > > use
    > > > in order to use a different range? D595=d7:IV7
    > > >
    > > > "JE McGimpsey" wrote:
    > > >
    > > > > All your ranges must be the same size.
    > > > >
    > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > >
    > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > >
    > > > > In article <[email protected]>,
    > > > > Rob <[email protected]> wrote:
    > > > >
    > > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > ec
    > > > > > 'd"),D565:D588).
    > > > > >
    > > > > > I have disected the fromula and applied each criteria to the range

    and
    > > get
    > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    contains
    > > text and
    > > > > > numeric entries, but all of the matching entries (The ones that

    should
    > > add)
    > > > > > are numeric.
    > > > > > What am I missing?
    > > > >

    > >
    > >
    > >




  14. #14
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    What exactlyt are you trying to do?

    D565:D588 = 24 rows x 1 column
    D7:IV7 (where did the ":IV7" come from?) = 1 row x 253 columns

    It doesn't help much to say "the helper column didnt work" if you don't
    explain what it was supposed to do, or how you tried to use it...



    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > The helper column didnt work. Are there any other approches that I might use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)=
    > > > "Rec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and
    > > > get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains text
    > > > and
    > > > numeric entries, but all of the matching entries (The ones that should
    > > > add)
    > > > are numeric.
    > > > What am I missing?

    > >


  15. #15
    Rob
    Guest

    Re: Sumproduct Help

    The helper column didnt work. Are there any other approches that I might use
    in order to use a different range? D595=d7:IV7

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  16. #16
    Rob
    Guest

    Re: Sumproduct Help

    My apologies Bob, I miss your reply. I tired your formula and it does return
    a value but it is not calculating correctly. My spreadsheet is laid out as
    follows( The fields have been changed for clarity, and to protect the
    innocent LOL). Suppliers are listed in row 7, and there may be more than one
    column with the same Supplier.
    then 10 sales divisions below. Each division has room to enter 6
    transactions per supplier with 4 cells in the column making up the
    transaction. Col A is a helper column that contains the division number in
    each of the 24 rows for that division.

    d7 Supplier

    b13 Div1 C13 Sold to
    C14 Product
    C15 Date
    C16 Qty

    c13:c14 repeats 5 more times and then Div2 starts.

    What I am trying to accomplish with the formula.....
    Below the grid for entries is a supplier summary by division.

    C260=Div D260= Supplier1 e260 Supplier2
    C261=1
    D261 is where the formula goes that will total the "Qty" for Supplier1 for
    Div1


    I hope I havent added further confusion. Im sure there is another solution,
    I was trying to modify an existing formula that only looked at one column,
    and wasnt sure how to get the other columns in.
    Thanks!


    "Bob Phillips" wrote:

    > I gave you an alternative.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > The helper column didnt work. Are there any other approches that I might

    > use
    > > in order to use a different range? D595=d7:IV7
    > >
    > > "JE McGimpsey" wrote:
    > >
    > > > All your ranges must be the same size.
    > > >
    > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > >
    > > > In article <[email protected]>,
    > > > Rob <[email protected]> wrote:
    > > >
    > > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > ec
    > > > > 'd"),D565:D588).
    > > > >
    > > > > I have disected the fromula and applied each criteria to the range and

    > get
    > > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    > text and
    > > > > numeric entries, but all of the matching entries (The ones that should

    > add)
    > > > > are numeric.
    > > > > What am I missing?
    > > >

    >
    >
    >


  17. #17
    Rob
    Guest

    Re: Sumproduct Help

    bob thanks for your time....
    Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and i
    am trying to summarize Supplier1 in column D, then how does your formula pick
    up the other 2 columns? Thats what my reference do d7 was supposed to do.
    Thanks again


    "Bob Phillips" wrote:

    > Rob,
    >
    > I've spent a lot of time looking at this trying to understand, and I'm sure
    > I still don't fully :-).
    >
    > I don't see where D7 comes into play to ensure that you count by supplier
    > for instance.
    >
    > Here is my stab at it. I think (hope!) that it is close, but I expect that
    > we are not quite there yet, so please feedback.
    >
    > =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > 59)*(D260=$D$7)
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > My apologies Bob, I miss your reply. I tired your formula and it does

    > return
    > > a value but it is not calculating correctly. My spreadsheet is laid out

    > as
    > > follows( The fields have been changed for clarity, and to protect the
    > > innocent LOL). Suppliers are listed in row 7, and there may be more than

    > one
    > > column with the same Supplier.
    > > then 10 sales divisions below. Each division has room to enter 6
    > > transactions per supplier with 4 cells in the column making up the
    > > transaction. Col A is a helper column that contains the division number

    > in
    > > each of the 24 rows for that division.
    > >
    > > d7 Supplier
    > >
    > > b13 Div1 C13 Sold to
    > > C14 Product
    > > C15 Date
    > > C16 Qty
    > >
    > > c13:c14 repeats 5 more times and then Div2 starts.
    > >
    > > What I am trying to accomplish with the formula.....
    > > Below the grid for entries is a supplier summary by division.
    > >
    > > C260=Div D260= Supplier1 e260 Supplier2
    > > C261=1
    > > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > > Div1
    > >
    > >
    > > I hope I havent added further confusion. Im sure there is another

    > solution,
    > > I was trying to modify an existing formula that only looked at one column,
    > > and wasnt sure how to get the other columns in.
    > > Thanks!
    > >
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > I gave you an alternative.
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "Rob" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > The helper column didnt work. Are there any other approches that I

    > might
    > > > use
    > > > > in order to use a different range? D595=d7:IV7
    > > > >
    > > > > "JE McGimpsey" wrote:
    > > > >
    > > > > > All your ranges must be the same size.
    > > > > >
    > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > >
    > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > >
    > > > > > In article <[email protected]>,
    > > > > > Rob <[email protected]> wrote:
    > > > > >
    > > > > > >
    > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > ec
    > > > > > > 'd"),D565:D588).
    > > > > > >
    > > > > > > I have disected the fromula and applied each criteria to the range

    > and
    > > > get
    > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > contains
    > > > text and
    > > > > > > numeric entries, but all of the matching entries (The ones that

    > should
    > > > add)
    > > > > > > are numeric.
    > > > > > > What am I missing?
    > > > > >
    > > >
    > > >
    > > >

    >
    >
    >


  18. #18
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I am struggling to visualise your data. Can you post a sample workbook
    somewhere?

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > bob thanks for your time....
    > Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and

    i
    > am trying to summarize Supplier1 in column D, then how does your formula

    pick
    > up the other 2 columns? Thats what my reference do d7 was supposed to do.
    > Thanks again
    >
    >
    > "Bob Phillips" wrote:
    >
    > > Rob,
    > >
    > > I've spent a lot of time looking at this trying to understand, and I'm

    sure
    > > I still don't fully :-).
    > >
    > > I don't see where D7 comes into play to ensure that you count by

    supplier
    > > for instance.
    > >
    > > Here is my stab at it. I think (hope!) that it is close, but I expect

    that
    > > we are not quite there yet, so please feedback.
    > >
    > >

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > > 59)*(D260=$D$7)
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > My apologies Bob, I miss your reply. I tired your formula and it does

    > > return
    > > > a value but it is not calculating correctly. My spreadsheet is laid

    out
    > > as
    > > > follows( The fields have been changed for clarity, and to protect the
    > > > innocent LOL). Suppliers are listed in row 7, and there may be more

    than
    > > one
    > > > column with the same Supplier.
    > > > then 10 sales divisions below. Each division has room to enter 6
    > > > transactions per supplier with 4 cells in the column making up the
    > > > transaction. Col A is a helper column that contains the division

    number
    > > in
    > > > each of the 24 rows for that division.
    > > >
    > > > d7 Supplier
    > > >
    > > > b13 Div1 C13 Sold to
    > > > C14 Product
    > > > C15 Date
    > > > C16 Qty
    > > >
    > > > c13:c14 repeats 5 more times and then Div2 starts.
    > > >
    > > > What I am trying to accomplish with the formula.....
    > > > Below the grid for entries is a supplier summary by division.
    > > >
    > > > C260=Div D260= Supplier1 e260 Supplier2
    > > > C261=1
    > > > D261 is where the formula goes that will total the "Qty" for Supplier1

    for
    > > > Div1
    > > >
    > > >
    > > > I hope I havent added further confusion. Im sure there is another

    > > solution,
    > > > I was trying to modify an existing formula that only looked at one

    column,
    > > > and wasnt sure how to get the other columns in.
    > > > Thanks!
    > > >
    > > >
    > > > "Bob Phillips" wrote:
    > > >
    > > > > I gave you an alternative.
    > > > >
    > > > > --
    > > > >
    > > > > HTH
    > > > >
    > > > > RP
    > > > > (remove nothere from the email address if mailing direct)
    > > > >
    > > > >
    > > > > "Rob" <[email protected]> wrote in message
    > > > > news:[email protected]...
    > > > > > The helper column didnt work. Are there any other approches that

    I
    > > might
    > > > > use
    > > > > > in order to use a different range? D595=d7:IV7
    > > > > >
    > > > > > "JE McGimpsey" wrote:
    > > > > >
    > > > > > > All your ranges must be the same size.
    > > > > > >
    > > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > > >
    > > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > > >
    > > > > > > In article <[email protected]>,
    > > > > > > Rob <[email protected]> wrote:
    > > > > > >
    > > > > > > >
    > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > > ec
    > > > > > > > 'd"),D565:D588).
    > > > > > > >
    > > > > > > > I have disected the fromula and applied each criteria to the

    range
    > > and
    > > > > get
    > > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > > contains
    > > > > text and
    > > > > > > > numeric entries, but all of the matching entries (The ones

    that
    > > should
    > > > > add)
    > > > > > > > are numeric.
    > > > > > > > What am I missing?
    > > > > > >
    > > > >
    > > > >
    > > > >

    > >
    > >
    > >




  19. #19
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    You don't need a helper column

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(RIGHT(C565:C588,5)="Rec'd"),D565:
    D588)*(D595=D7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > I thikn I can add a helper column. Thanks!
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  20. #20
    William Horton
    Guest

    RE: Sumproduct Help

    Try the below formula.

    =SUMPRODUCT((MOD(ROW(D565:D588),4)=3)*(D595=D7)*(RIGHT(C565:C588,5)="Rec'd")*(D565:D588))

    Hope this does what you wanted.

    Thanks,
    Bill Horton

    "Rob" wrote:

    > Hi
    > I cannot get this to work:
    >
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?
    > Thanks!
    >


  21. #21
    Rob
    Guest

    Re: Sumproduct Help

    I thikn I can add a helper column. Thanks!

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  22. #22
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    All your ranges must be the same size.

    Perhaps you could move --(D595=D7) out of the SUMPRODUCT:

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)

    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > 'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?


  23. #23
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I am struggling to visualise your data. Can you post a sample workbook
    somewhere?

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > bob thanks for your time....
    > Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and

    i
    > am trying to summarize Supplier1 in column D, then how does your formula

    pick
    > up the other 2 columns? Thats what my reference do d7 was supposed to do.
    > Thanks again
    >
    >
    > "Bob Phillips" wrote:
    >
    > > Rob,
    > >
    > > I've spent a lot of time looking at this trying to understand, and I'm

    sure
    > > I still don't fully :-).
    > >
    > > I don't see where D7 comes into play to ensure that you count by

    supplier
    > > for instance.
    > >
    > > Here is my stab at it. I think (hope!) that it is close, but I expect

    that
    > > we are not quite there yet, so please feedback.
    > >
    > >

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > > 59)*(D260=$D$7)
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > My apologies Bob, I miss your reply. I tired your formula and it does

    > > return
    > > > a value but it is not calculating correctly. My spreadsheet is laid

    out
    > > as
    > > > follows( The fields have been changed for clarity, and to protect the
    > > > innocent LOL). Suppliers are listed in row 7, and there may be more

    than
    > > one
    > > > column with the same Supplier.
    > > > then 10 sales divisions below. Each division has room to enter 6
    > > > transactions per supplier with 4 cells in the column making up the
    > > > transaction. Col A is a helper column that contains the division

    number
    > > in
    > > > each of the 24 rows for that division.
    > > >
    > > > d7 Supplier
    > > >
    > > > b13 Div1 C13 Sold to
    > > > C14 Product
    > > > C15 Date
    > > > C16 Qty
    > > >
    > > > c13:c14 repeats 5 more times and then Div2 starts.
    > > >
    > > > What I am trying to accomplish with the formula.....
    > > > Below the grid for entries is a supplier summary by division.
    > > >
    > > > C260=Div D260= Supplier1 e260 Supplier2
    > > > C261=1
    > > > D261 is where the formula goes that will total the "Qty" for Supplier1

    for
    > > > Div1
    > > >
    > > >
    > > > I hope I havent added further confusion. Im sure there is another

    > > solution,
    > > > I was trying to modify an existing formula that only looked at one

    column,
    > > > and wasnt sure how to get the other columns in.
    > > > Thanks!
    > > >
    > > >
    > > > "Bob Phillips" wrote:
    > > >
    > > > > I gave you an alternative.
    > > > >
    > > > > --
    > > > >
    > > > > HTH
    > > > >
    > > > > RP
    > > > > (remove nothere from the email address if mailing direct)
    > > > >
    > > > >
    > > > > "Rob" <[email protected]> wrote in message
    > > > > news:[email protected]...
    > > > > > The helper column didnt work. Are there any other approches that

    I
    > > might
    > > > > use
    > > > > > in order to use a different range? D595=d7:IV7
    > > > > >
    > > > > > "JE McGimpsey" wrote:
    > > > > >
    > > > > > > All your ranges must be the same size.
    > > > > > >
    > > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > > >
    > > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > > >
    > > > > > > In article <[email protected]>,
    > > > > > > Rob <[email protected]> wrote:
    > > > > > >
    > > > > > > >
    > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > > ec
    > > > > > > > 'd"),D565:D588).
    > > > > > > >
    > > > > > > > I have disected the fromula and applied each criteria to the

    range
    > > and
    > > > > get
    > > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > > contains
    > > > > text and
    > > > > > > > numeric entries, but all of the matching entries (The ones

    that
    > > should
    > > > > add)
    > > > > > > > are numeric.
    > > > > > > > What am I missing?
    > > > > > >
    > > > >
    > > > >
    > > > >

    > >
    > >
    > >




  24. #24
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    You don't need a helper column

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(RIGHT(C565:C588,5)="Rec'd"),D565:
    D588)*(D595=D7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > I thikn I can add a helper column. Thanks!
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  25. #25
    William Horton
    Guest

    RE: Sumproduct Help

    Try the below formula.

    =SUMPRODUCT((MOD(ROW(D565:D588),4)=3)*(D595=D7)*(RIGHT(C565:C588,5)="Rec'd")*(D565:D588))

    Hope this does what you wanted.

    Thanks,
    Bill Horton

    "Rob" wrote:

    > Hi
    > I cannot get this to work:
    >
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?
    > Thanks!
    >


  26. #26
    Rob
    Guest

    Re: Sumproduct Help

    I thikn I can add a helper column. Thanks!

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  27. #27
    Rob
    Guest

    Re: Sumproduct Help

    The helper column didnt work. Are there any other approches that I might use
    in order to use a different range? D595=d7:IV7

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  28. #28
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    All your ranges must be the same size.

    Perhaps you could move --(D595=D7) out of the SUMPRODUCT:

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)

    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > 'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?


  29. #29
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    What exactlyt are you trying to do?

    D565:D588 = 24 rows x 1 column
    D7:IV7 (where did the ":IV7" come from?) = 1 row x 253 columns

    It doesn't help much to say "the helper column didnt work" if you don't
    explain what it was supposed to do, or how you tried to use it...



    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > The helper column didnt work. Are there any other approches that I might use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)=
    > > > "Rec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and
    > > > get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains text
    > > > and
    > > > numeric entries, but all of the matching entries (The ones that should
    > > > add)
    > > > are numeric.
    > > > What am I missing?

    > >


  30. #30
    Bob Phillips
    Guest

    Re: Sumproduct Help

    I gave you an alternative.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > The helper column didnt work. Are there any other approches that I might

    use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  31. #31
    Rob
    Guest

    Re: Sumproduct Help

    My apologies Bob, I miss your reply. I tired your formula and it does return
    a value but it is not calculating correctly. My spreadsheet is laid out as
    follows( The fields have been changed for clarity, and to protect the
    innocent LOL). Suppliers are listed in row 7, and there may be more than one
    column with the same Supplier.
    then 10 sales divisions below. Each division has room to enter 6
    transactions per supplier with 4 cells in the column making up the
    transaction. Col A is a helper column that contains the division number in
    each of the 24 rows for that division.

    d7 Supplier

    b13 Div1 C13 Sold to
    C14 Product
    C15 Date
    C16 Qty

    c13:c14 repeats 5 more times and then Div2 starts.

    What I am trying to accomplish with the formula.....
    Below the grid for entries is a supplier summary by division.

    C260=Div D260= Supplier1 e260 Supplier2
    C261=1
    D261 is where the formula goes that will total the "Qty" for Supplier1 for
    Div1


    I hope I havent added further confusion. Im sure there is another solution,
    I was trying to modify an existing formula that only looked at one column,
    and wasnt sure how to get the other columns in.
    Thanks!


    "Bob Phillips" wrote:

    > I gave you an alternative.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > The helper column didnt work. Are there any other approches that I might

    > use
    > > in order to use a different range? D595=d7:IV7
    > >
    > > "JE McGimpsey" wrote:
    > >
    > > > All your ranges must be the same size.
    > > >
    > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > >
    > > > In article <[email protected]>,
    > > > Rob <[email protected]> wrote:
    > > >
    > > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > ec
    > > > > 'd"),D565:D588).
    > > > >
    > > > > I have disected the fromula and applied each criteria to the range and

    > get
    > > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    > text and
    > > > > numeric entries, but all of the matching entries (The ones that should

    > add)
    > > > > are numeric.
    > > > > What am I missing?
    > > >

    >
    >
    >


  32. #32
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I've spent a lot of time looking at this trying to understand, and I'm sure
    I still don't fully :-).

    I don't see where D7 comes into play to ensure that you count by supplier
    for instance.

    Here is my stab at it. I think (hope!) that it is close, but I expect that
    we are not quite there yet, so please feedback.

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    59)*(D260=$D$7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > My apologies Bob, I miss your reply. I tired your formula and it does

    return
    > a value but it is not calculating correctly. My spreadsheet is laid out

    as
    > follows( The fields have been changed for clarity, and to protect the
    > innocent LOL). Suppliers are listed in row 7, and there may be more than

    one
    > column with the same Supplier.
    > then 10 sales divisions below. Each division has room to enter 6
    > transactions per supplier with 4 cells in the column making up the
    > transaction. Col A is a helper column that contains the division number

    in
    > each of the 24 rows for that division.
    >
    > d7 Supplier
    >
    > b13 Div1 C13 Sold to
    > C14 Product
    > C15 Date
    > C16 Qty
    >
    > c13:c14 repeats 5 more times and then Div2 starts.
    >
    > What I am trying to accomplish with the formula.....
    > Below the grid for entries is a supplier summary by division.
    >
    > C260=Div D260= Supplier1 e260 Supplier2
    > C261=1
    > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > Div1
    >
    >
    > I hope I havent added further confusion. Im sure there is another

    solution,
    > I was trying to modify an existing formula that only looked at one column,
    > and wasnt sure how to get the other columns in.
    > Thanks!
    >
    >
    > "Bob Phillips" wrote:
    >
    > > I gave you an alternative.
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > The helper column didnt work. Are there any other approches that I

    might
    > > use
    > > > in order to use a different range? D595=d7:IV7
    > > >
    > > > "JE McGimpsey" wrote:
    > > >
    > > > > All your ranges must be the same size.
    > > > >
    > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > >
    > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > >
    > > > > In article <[email protected]>,
    > > > > Rob <[email protected]> wrote:
    > > > >
    > > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > ec
    > > > > > 'd"),D565:D588).
    > > > > >
    > > > > > I have disected the fromula and applied each criteria to the range

    and
    > > get
    > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    contains
    > > text and
    > > > > > numeric entries, but all of the matching entries (The ones that

    should
    > > add)
    > > > > > are numeric.
    > > > > > What am I missing?
    > > > >

    > >
    > >
    > >




  33. #33
    Rob
    Guest

    Re: Sumproduct Help

    bob thanks for your time....
    Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and i
    am trying to summarize Supplier1 in column D, then how does your formula pick
    up the other 2 columns? Thats what my reference do d7 was supposed to do.
    Thanks again


    "Bob Phillips" wrote:

    > Rob,
    >
    > I've spent a lot of time looking at this trying to understand, and I'm sure
    > I still don't fully :-).
    >
    > I don't see where D7 comes into play to ensure that you count by supplier
    > for instance.
    >
    > Here is my stab at it. I think (hope!) that it is close, but I expect that
    > we are not quite there yet, so please feedback.
    >
    > =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > 59)*(D260=$D$7)
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > My apologies Bob, I miss your reply. I tired your formula and it does

    > return
    > > a value but it is not calculating correctly. My spreadsheet is laid out

    > as
    > > follows( The fields have been changed for clarity, and to protect the
    > > innocent LOL). Suppliers are listed in row 7, and there may be more than

    > one
    > > column with the same Supplier.
    > > then 10 sales divisions below. Each division has room to enter 6
    > > transactions per supplier with 4 cells in the column making up the
    > > transaction. Col A is a helper column that contains the division number

    > in
    > > each of the 24 rows for that division.
    > >
    > > d7 Supplier
    > >
    > > b13 Div1 C13 Sold to
    > > C14 Product
    > > C15 Date
    > > C16 Qty
    > >
    > > c13:c14 repeats 5 more times and then Div2 starts.
    > >
    > > What I am trying to accomplish with the formula.....
    > > Below the grid for entries is a supplier summary by division.
    > >
    > > C260=Div D260= Supplier1 e260 Supplier2
    > > C261=1
    > > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > > Div1
    > >
    > >
    > > I hope I havent added further confusion. Im sure there is another

    > solution,
    > > I was trying to modify an existing formula that only looked at one column,
    > > and wasnt sure how to get the other columns in.
    > > Thanks!
    > >
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > I gave you an alternative.
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "Rob" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > The helper column didnt work. Are there any other approches that I

    > might
    > > > use
    > > > > in order to use a different range? D595=d7:IV7
    > > > >
    > > > > "JE McGimpsey" wrote:
    > > > >
    > > > > > All your ranges must be the same size.
    > > > > >
    > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > >
    > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > >
    > > > > > In article <[email protected]>,
    > > > > > Rob <[email protected]> wrote:
    > > > > >
    > > > > > >
    > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > ec
    > > > > > > 'd"),D565:D588).
    > > > > > >
    > > > > > > I have disected the fromula and applied each criteria to the range

    > and
    > > > get
    > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > contains
    > > > text and
    > > > > > > numeric entries, but all of the matching entries (The ones that

    > should
    > > > add)
    > > > > > > are numeric.
    > > > > > > What am I missing?
    > > > > >
    > > >
    > > >
    > > >

    >
    >
    >


  34. #34
    Rob
    Guest

    Re: Sumproduct Help

    My apologies Bob, I miss your reply. I tired your formula and it does return
    a value but it is not calculating correctly. My spreadsheet is laid out as
    follows( The fields have been changed for clarity, and to protect the
    innocent LOL). Suppliers are listed in row 7, and there may be more than one
    column with the same Supplier.
    then 10 sales divisions below. Each division has room to enter 6
    transactions per supplier with 4 cells in the column making up the
    transaction. Col A is a helper column that contains the division number in
    each of the 24 rows for that division.

    d7 Supplier

    b13 Div1 C13 Sold to
    C14 Product
    C15 Date
    C16 Qty

    c13:c14 repeats 5 more times and then Div2 starts.

    What I am trying to accomplish with the formula.....
    Below the grid for entries is a supplier summary by division.

    C260=Div D260= Supplier1 e260 Supplier2
    C261=1
    D261 is where the formula goes that will total the "Qty" for Supplier1 for
    Div1


    I hope I havent added further confusion. Im sure there is another solution,
    I was trying to modify an existing formula that only looked at one column,
    and wasnt sure how to get the other columns in.
    Thanks!


    "Bob Phillips" wrote:

    > I gave you an alternative.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > The helper column didnt work. Are there any other approches that I might

    > use
    > > in order to use a different range? D595=d7:IV7
    > >
    > > "JE McGimpsey" wrote:
    > >
    > > > All your ranges must be the same size.
    > > >
    > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > >
    > > > In article <[email protected]>,
    > > > Rob <[email protected]> wrote:
    > > >
    > > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > ec
    > > > > 'd"),D565:D588).
    > > > >
    > > > > I have disected the fromula and applied each criteria to the range and

    > get
    > > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    > text and
    > > > > numeric entries, but all of the matching entries (The ones that should

    > add)
    > > > > are numeric.
    > > > > What am I missing?
    > > >

    >
    >
    >


  35. #35
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I've spent a lot of time looking at this trying to understand, and I'm sure
    I still don't fully :-).

    I don't see where D7 comes into play to ensure that you count by supplier
    for instance.

    Here is my stab at it. I think (hope!) that it is close, but I expect that
    we are not quite there yet, so please feedback.

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    59)*(D260=$D$7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > My apologies Bob, I miss your reply. I tired your formula and it does

    return
    > a value but it is not calculating correctly. My spreadsheet is laid out

    as
    > follows( The fields have been changed for clarity, and to protect the
    > innocent LOL). Suppliers are listed in row 7, and there may be more than

    one
    > column with the same Supplier.
    > then 10 sales divisions below. Each division has room to enter 6
    > transactions per supplier with 4 cells in the column making up the
    > transaction. Col A is a helper column that contains the division number

    in
    > each of the 24 rows for that division.
    >
    > d7 Supplier
    >
    > b13 Div1 C13 Sold to
    > C14 Product
    > C15 Date
    > C16 Qty
    >
    > c13:c14 repeats 5 more times and then Div2 starts.
    >
    > What I am trying to accomplish with the formula.....
    > Below the grid for entries is a supplier summary by division.
    >
    > C260=Div D260= Supplier1 e260 Supplier2
    > C261=1
    > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > Div1
    >
    >
    > I hope I havent added further confusion. Im sure there is another

    solution,
    > I was trying to modify an existing formula that only looked at one column,
    > and wasnt sure how to get the other columns in.
    > Thanks!
    >
    >
    > "Bob Phillips" wrote:
    >
    > > I gave you an alternative.
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > The helper column didnt work. Are there any other approches that I

    might
    > > use
    > > > in order to use a different range? D595=d7:IV7
    > > >
    > > > "JE McGimpsey" wrote:
    > > >
    > > > > All your ranges must be the same size.
    > > > >
    > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > >
    > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > >
    > > > > In article <[email protected]>,
    > > > > Rob <[email protected]> wrote:
    > > > >
    > > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > ec
    > > > > > 'd"),D565:D588).
    > > > > >
    > > > > > I have disected the fromula and applied each criteria to the range

    and
    > > get
    > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    contains
    > > text and
    > > > > > numeric entries, but all of the matching entries (The ones that

    should
    > > add)
    > > > > > are numeric.
    > > > > > What am I missing?
    > > > >

    > >
    > >
    > >




  36. #36
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    You don't need a helper column

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(RIGHT(C565:C588,5)="Rec'd"),D565:
    D588)*(D595=D7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > I thikn I can add a helper column. Thanks!
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  37. #37
    William Horton
    Guest

    RE: Sumproduct Help

    Try the below formula.

    =SUMPRODUCT((MOD(ROW(D565:D588),4)=3)*(D595=D7)*(RIGHT(C565:C588,5)="Rec'd")*(D565:D588))

    Hope this does what you wanted.

    Thanks,
    Bill Horton

    "Rob" wrote:

    > Hi
    > I cannot get this to work:
    >
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?
    > Thanks!
    >


  38. #38
    Rob
    Guest

    Re: Sumproduct Help

    I thikn I can add a helper column. Thanks!

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  39. #39
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    All your ranges must be the same size.

    Perhaps you could move --(D595=D7) out of the SUMPRODUCT:

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)

    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > 'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?


  40. #40
    Rob
    Guest

    Re: Sumproduct Help

    bob thanks for your time....
    Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and i
    am trying to summarize Supplier1 in column D, then how does your formula pick
    up the other 2 columns? Thats what my reference do d7 was supposed to do.
    Thanks again


    "Bob Phillips" wrote:

    > Rob,
    >
    > I've spent a lot of time looking at this trying to understand, and I'm sure
    > I still don't fully :-).
    >
    > I don't see where D7 comes into play to ensure that you count by supplier
    > for instance.
    >
    > Here is my stab at it. I think (hope!) that it is close, but I expect that
    > we are not quite there yet, so please feedback.
    >
    > =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > 59)*(D260=$D$7)
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > My apologies Bob, I miss your reply. I tired your formula and it does

    > return
    > > a value but it is not calculating correctly. My spreadsheet is laid out

    > as
    > > follows( The fields have been changed for clarity, and to protect the
    > > innocent LOL). Suppliers are listed in row 7, and there may be more than

    > one
    > > column with the same Supplier.
    > > then 10 sales divisions below. Each division has room to enter 6
    > > transactions per supplier with 4 cells in the column making up the
    > > transaction. Col A is a helper column that contains the division number

    > in
    > > each of the 24 rows for that division.
    > >
    > > d7 Supplier
    > >
    > > b13 Div1 C13 Sold to
    > > C14 Product
    > > C15 Date
    > > C16 Qty
    > >
    > > c13:c14 repeats 5 more times and then Div2 starts.
    > >
    > > What I am trying to accomplish with the formula.....
    > > Below the grid for entries is a supplier summary by division.
    > >
    > > C260=Div D260= Supplier1 e260 Supplier2
    > > C261=1
    > > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > > Div1
    > >
    > >
    > > I hope I havent added further confusion. Im sure there is another

    > solution,
    > > I was trying to modify an existing formula that only looked at one column,
    > > and wasnt sure how to get the other columns in.
    > > Thanks!
    > >
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > I gave you an alternative.
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "Rob" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > The helper column didnt work. Are there any other approches that I

    > might
    > > > use
    > > > > in order to use a different range? D595=d7:IV7
    > > > >
    > > > > "JE McGimpsey" wrote:
    > > > >
    > > > > > All your ranges must be the same size.
    > > > > >
    > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > >
    > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > >
    > > > > > In article <[email protected]>,
    > > > > > Rob <[email protected]> wrote:
    > > > > >
    > > > > > >
    > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > ec
    > > > > > > 'd"),D565:D588).
    > > > > > >
    > > > > > > I have disected the fromula and applied each criteria to the range

    > and
    > > > get
    > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > contains
    > > > text and
    > > > > > > numeric entries, but all of the matching entries (The ones that

    > should
    > > > add)
    > > > > > > are numeric.
    > > > > > > What am I missing?
    > > > > >
    > > >
    > > >
    > > >

    >
    >
    >


  41. #41
    Bob Phillips
    Guest

    Re: Sumproduct Help

    I gave you an alternative.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > The helper column didnt work. Are there any other approches that I might

    use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  42. #42
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I am struggling to visualise your data. Can you post a sample workbook
    somewhere?

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > bob thanks for your time....
    > Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and

    i
    > am trying to summarize Supplier1 in column D, then how does your formula

    pick
    > up the other 2 columns? Thats what my reference do d7 was supposed to do.
    > Thanks again
    >
    >
    > "Bob Phillips" wrote:
    >
    > > Rob,
    > >
    > > I've spent a lot of time looking at this trying to understand, and I'm

    sure
    > > I still don't fully :-).
    > >
    > > I don't see where D7 comes into play to ensure that you count by

    supplier
    > > for instance.
    > >
    > > Here is my stab at it. I think (hope!) that it is close, but I expect

    that
    > > we are not quite there yet, so please feedback.
    > >
    > >

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > > 59)*(D260=$D$7)
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > My apologies Bob, I miss your reply. I tired your formula and it does

    > > return
    > > > a value but it is not calculating correctly. My spreadsheet is laid

    out
    > > as
    > > > follows( The fields have been changed for clarity, and to protect the
    > > > innocent LOL). Suppliers are listed in row 7, and there may be more

    than
    > > one
    > > > column with the same Supplier.
    > > > then 10 sales divisions below. Each division has room to enter 6
    > > > transactions per supplier with 4 cells in the column making up the
    > > > transaction. Col A is a helper column that contains the division

    number
    > > in
    > > > each of the 24 rows for that division.
    > > >
    > > > d7 Supplier
    > > >
    > > > b13 Div1 C13 Sold to
    > > > C14 Product
    > > > C15 Date
    > > > C16 Qty
    > > >
    > > > c13:c14 repeats 5 more times and then Div2 starts.
    > > >
    > > > What I am trying to accomplish with the formula.....
    > > > Below the grid for entries is a supplier summary by division.
    > > >
    > > > C260=Div D260= Supplier1 e260 Supplier2
    > > > C261=1
    > > > D261 is where the formula goes that will total the "Qty" for Supplier1

    for
    > > > Div1
    > > >
    > > >
    > > > I hope I havent added further confusion. Im sure there is another

    > > solution,
    > > > I was trying to modify an existing formula that only looked at one

    column,
    > > > and wasnt sure how to get the other columns in.
    > > > Thanks!
    > > >
    > > >
    > > > "Bob Phillips" wrote:
    > > >
    > > > > I gave you an alternative.
    > > > >
    > > > > --
    > > > >
    > > > > HTH
    > > > >
    > > > > RP
    > > > > (remove nothere from the email address if mailing direct)
    > > > >
    > > > >
    > > > > "Rob" <[email protected]> wrote in message
    > > > > news:[email protected]...
    > > > > > The helper column didnt work. Are there any other approches that

    I
    > > might
    > > > > use
    > > > > > in order to use a different range? D595=d7:IV7
    > > > > >
    > > > > > "JE McGimpsey" wrote:
    > > > > >
    > > > > > > All your ranges must be the same size.
    > > > > > >
    > > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > > >
    > > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > > >
    > > > > > > In article <[email protected]>,
    > > > > > > Rob <[email protected]> wrote:
    > > > > > >
    > > > > > > >
    > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > > ec
    > > > > > > > 'd"),D565:D588).
    > > > > > > >
    > > > > > > > I have disected the fromula and applied each criteria to the

    range
    > > and
    > > > > get
    > > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > > contains
    > > > > text and
    > > > > > > > numeric entries, but all of the matching entries (The ones

    that
    > > should
    > > > > add)
    > > > > > > > are numeric.
    > > > > > > > What am I missing?
    > > > > > >
    > > > >
    > > > >
    > > > >

    > >
    > >
    > >




  43. #43
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    What exactlyt are you trying to do?

    D565:D588 = 24 rows x 1 column
    D7:IV7 (where did the ":IV7" come from?) = 1 row x 253 columns

    It doesn't help much to say "the helper column didnt work" if you don't
    explain what it was supposed to do, or how you tried to use it...



    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > The helper column didnt work. Are there any other approches that I might use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)=
    > > > "Rec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and
    > > > get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains text
    > > > and
    > > > numeric entries, but all of the matching entries (The ones that should
    > > > add)
    > > > are numeric.
    > > > What am I missing?

    > >


  44. #44
    Rob
    Guest

    Re: Sumproduct Help

    The helper column didnt work. Are there any other approches that I might use
    in order to use a different range? D595=d7:IV7

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  45. #45
    Rob
    Guest

    Re: Sumproduct Help

    bob thanks for your time....
    Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and i
    am trying to summarize Supplier1 in column D, then how does your formula pick
    up the other 2 columns? Thats what my reference do d7 was supposed to do.
    Thanks again


    "Bob Phillips" wrote:

    > Rob,
    >
    > I've spent a lot of time looking at this trying to understand, and I'm sure
    > I still don't fully :-).
    >
    > I don't see where D7 comes into play to ensure that you count by supplier
    > for instance.
    >
    > Here is my stab at it. I think (hope!) that it is close, but I expect that
    > we are not quite there yet, so please feedback.
    >
    > =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > 59)*(D260=$D$7)
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > My apologies Bob, I miss your reply. I tired your formula and it does

    > return
    > > a value but it is not calculating correctly. My spreadsheet is laid out

    > as
    > > follows( The fields have been changed for clarity, and to protect the
    > > innocent LOL). Suppliers are listed in row 7, and there may be more than

    > one
    > > column with the same Supplier.
    > > then 10 sales divisions below. Each division has room to enter 6
    > > transactions per supplier with 4 cells in the column making up the
    > > transaction. Col A is a helper column that contains the division number

    > in
    > > each of the 24 rows for that division.
    > >
    > > d7 Supplier
    > >
    > > b13 Div1 C13 Sold to
    > > C14 Product
    > > C15 Date
    > > C16 Qty
    > >
    > > c13:c14 repeats 5 more times and then Div2 starts.
    > >
    > > What I am trying to accomplish with the formula.....
    > > Below the grid for entries is a supplier summary by division.
    > >
    > > C260=Div D260= Supplier1 e260 Supplier2
    > > C261=1
    > > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > > Div1
    > >
    > >
    > > I hope I havent added further confusion. Im sure there is another

    > solution,
    > > I was trying to modify an existing formula that only looked at one column,
    > > and wasnt sure how to get the other columns in.
    > > Thanks!
    > >
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > I gave you an alternative.
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "Rob" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > The helper column didnt work. Are there any other approches that I

    > might
    > > > use
    > > > > in order to use a different range? D595=d7:IV7
    > > > >
    > > > > "JE McGimpsey" wrote:
    > > > >
    > > > > > All your ranges must be the same size.
    > > > > >
    > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > >
    > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > >
    > > > > > In article <[email protected]>,
    > > > > > Rob <[email protected]> wrote:
    > > > > >
    > > > > > >
    > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > ec
    > > > > > > 'd"),D565:D588).
    > > > > > >
    > > > > > > I have disected the fromula and applied each criteria to the range

    > and
    > > > get
    > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > contains
    > > > text and
    > > > > > > numeric entries, but all of the matching entries (The ones that

    > should
    > > > add)
    > > > > > > are numeric.
    > > > > > > What am I missing?
    > > > > >
    > > >
    > > >
    > > >

    >
    >
    >


  46. #46
    Rob
    Guest

    Re: Sumproduct Help

    The helper column didnt work. Are there any other approches that I might use
    in order to use a different range? D595=d7:IV7

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  47. #47
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    All your ranges must be the same size.

    Perhaps you could move --(D595=D7) out of the SUMPRODUCT:

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)

    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > 'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?


  48. #48
    Rob
    Guest

    Re: Sumproduct Help

    I thikn I can add a helper column. Thanks!

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  49. #49
    William Horton
    Guest

    RE: Sumproduct Help

    Try the below formula.

    =SUMPRODUCT((MOD(ROW(D565:D588),4)=3)*(D595=D7)*(RIGHT(C565:C588,5)="Rec'd")*(D565:D588))

    Hope this does what you wanted.

    Thanks,
    Bill Horton

    "Rob" wrote:

    > Hi
    > I cannot get this to work:
    >
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?
    > Thanks!
    >


  50. #50
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I am struggling to visualise your data. Can you post a sample workbook
    somewhere?

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > bob thanks for your time....
    > Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and

    i
    > am trying to summarize Supplier1 in column D, then how does your formula

    pick
    > up the other 2 columns? Thats what my reference do d7 was supposed to do.
    > Thanks again
    >
    >
    > "Bob Phillips" wrote:
    >
    > > Rob,
    > >
    > > I've spent a lot of time looking at this trying to understand, and I'm

    sure
    > > I still don't fully :-).
    > >
    > > I don't see where D7 comes into play to ensure that you count by

    supplier
    > > for instance.
    > >
    > > Here is my stab at it. I think (hope!) that it is close, but I expect

    that
    > > we are not quite there yet, so please feedback.
    > >
    > >

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > > 59)*(D260=$D$7)
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > My apologies Bob, I miss your reply. I tired your formula and it does

    > > return
    > > > a value but it is not calculating correctly. My spreadsheet is laid

    out
    > > as
    > > > follows( The fields have been changed for clarity, and to protect the
    > > > innocent LOL). Suppliers are listed in row 7, and there may be more

    than
    > > one
    > > > column with the same Supplier.
    > > > then 10 sales divisions below. Each division has room to enter 6
    > > > transactions per supplier with 4 cells in the column making up the
    > > > transaction. Col A is a helper column that contains the division

    number
    > > in
    > > > each of the 24 rows for that division.
    > > >
    > > > d7 Supplier
    > > >
    > > > b13 Div1 C13 Sold to
    > > > C14 Product
    > > > C15 Date
    > > > C16 Qty
    > > >
    > > > c13:c14 repeats 5 more times and then Div2 starts.
    > > >
    > > > What I am trying to accomplish with the formula.....
    > > > Below the grid for entries is a supplier summary by division.
    > > >
    > > > C260=Div D260= Supplier1 e260 Supplier2
    > > > C261=1
    > > > D261 is where the formula goes that will total the "Qty" for Supplier1

    for
    > > > Div1
    > > >
    > > >
    > > > I hope I havent added further confusion. Im sure there is another

    > > solution,
    > > > I was trying to modify an existing formula that only looked at one

    column,
    > > > and wasnt sure how to get the other columns in.
    > > > Thanks!
    > > >
    > > >
    > > > "Bob Phillips" wrote:
    > > >
    > > > > I gave you an alternative.
    > > > >
    > > > > --
    > > > >
    > > > > HTH
    > > > >
    > > > > RP
    > > > > (remove nothere from the email address if mailing direct)
    > > > >
    > > > >
    > > > > "Rob" <[email protected]> wrote in message
    > > > > news:[email protected]...
    > > > > > The helper column didnt work. Are there any other approches that

    I
    > > might
    > > > > use
    > > > > > in order to use a different range? D595=d7:IV7
    > > > > >
    > > > > > "JE McGimpsey" wrote:
    > > > > >
    > > > > > > All your ranges must be the same size.
    > > > > > >
    > > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > > >
    > > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > > >
    > > > > > > In article <[email protected]>,
    > > > > > > Rob <[email protected]> wrote:
    > > > > > >
    > > > > > > >
    > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > > ec
    > > > > > > > 'd"),D565:D588).
    > > > > > > >
    > > > > > > > I have disected the fromula and applied each criteria to the

    range
    > > and
    > > > > get
    > > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > > contains
    > > > > text and
    > > > > > > > numeric entries, but all of the matching entries (The ones

    that
    > > should
    > > > > add)
    > > > > > > > are numeric.
    > > > > > > > What am I missing?
    > > > > > >
    > > > >
    > > > >
    > > > >

    > >
    > >
    > >




  51. #51
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    You don't need a helper column

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(RIGHT(C565:C588,5)="Rec'd"),D565:
    D588)*(D595=D7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > I thikn I can add a helper column. Thanks!
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  52. #52
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I've spent a lot of time looking at this trying to understand, and I'm sure
    I still don't fully :-).

    I don't see where D7 comes into play to ensure that you count by supplier
    for instance.

    Here is my stab at it. I think (hope!) that it is close, but I expect that
    we are not quite there yet, so please feedback.

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    59)*(D260=$D$7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > My apologies Bob, I miss your reply. I tired your formula and it does

    return
    > a value but it is not calculating correctly. My spreadsheet is laid out

    as
    > follows( The fields have been changed for clarity, and to protect the
    > innocent LOL). Suppliers are listed in row 7, and there may be more than

    one
    > column with the same Supplier.
    > then 10 sales divisions below. Each division has room to enter 6
    > transactions per supplier with 4 cells in the column making up the
    > transaction. Col A is a helper column that contains the division number

    in
    > each of the 24 rows for that division.
    >
    > d7 Supplier
    >
    > b13 Div1 C13 Sold to
    > C14 Product
    > C15 Date
    > C16 Qty
    >
    > c13:c14 repeats 5 more times and then Div2 starts.
    >
    > What I am trying to accomplish with the formula.....
    > Below the grid for entries is a supplier summary by division.
    >
    > C260=Div D260= Supplier1 e260 Supplier2
    > C261=1
    > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > Div1
    >
    >
    > I hope I havent added further confusion. Im sure there is another

    solution,
    > I was trying to modify an existing formula that only looked at one column,
    > and wasnt sure how to get the other columns in.
    > Thanks!
    >
    >
    > "Bob Phillips" wrote:
    >
    > > I gave you an alternative.
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > The helper column didnt work. Are there any other approches that I

    might
    > > use
    > > > in order to use a different range? D595=d7:IV7
    > > >
    > > > "JE McGimpsey" wrote:
    > > >
    > > > > All your ranges must be the same size.
    > > > >
    > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > >
    > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > >
    > > > > In article <[email protected]>,
    > > > > Rob <[email protected]> wrote:
    > > > >
    > > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > ec
    > > > > > 'd"),D565:D588).
    > > > > >
    > > > > > I have disected the fromula and applied each criteria to the range

    and
    > > get
    > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    contains
    > > text and
    > > > > > numeric entries, but all of the matching entries (The ones that

    should
    > > add)
    > > > > > are numeric.
    > > > > > What am I missing?
    > > > >

    > >
    > >
    > >




  53. #53
    Rob
    Guest

    Re: Sumproduct Help

    My apologies Bob, I miss your reply. I tired your formula and it does return
    a value but it is not calculating correctly. My spreadsheet is laid out as
    follows( The fields have been changed for clarity, and to protect the
    innocent LOL). Suppliers are listed in row 7, and there may be more than one
    column with the same Supplier.
    then 10 sales divisions below. Each division has room to enter 6
    transactions per supplier with 4 cells in the column making up the
    transaction. Col A is a helper column that contains the division number in
    each of the 24 rows for that division.

    d7 Supplier

    b13 Div1 C13 Sold to
    C14 Product
    C15 Date
    C16 Qty

    c13:c14 repeats 5 more times and then Div2 starts.

    What I am trying to accomplish with the formula.....
    Below the grid for entries is a supplier summary by division.

    C260=Div D260= Supplier1 e260 Supplier2
    C261=1
    D261 is where the formula goes that will total the "Qty" for Supplier1 for
    Div1


    I hope I havent added further confusion. Im sure there is another solution,
    I was trying to modify an existing formula that only looked at one column,
    and wasnt sure how to get the other columns in.
    Thanks!


    "Bob Phillips" wrote:

    > I gave you an alternative.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > The helper column didnt work. Are there any other approches that I might

    > use
    > > in order to use a different range? D595=d7:IV7
    > >
    > > "JE McGimpsey" wrote:
    > >
    > > > All your ranges must be the same size.
    > > >
    > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > >
    > > > In article <[email protected]>,
    > > > Rob <[email protected]> wrote:
    > > >
    > > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > ec
    > > > > 'd"),D565:D588).
    > > > >
    > > > > I have disected the fromula and applied each criteria to the range and

    > get
    > > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    > text and
    > > > > numeric entries, but all of the matching entries (The ones that should

    > add)
    > > > > are numeric.
    > > > > What am I missing?
    > > >

    >
    >
    >


  54. #54
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    What exactlyt are you trying to do?

    D565:D588 = 24 rows x 1 column
    D7:IV7 (where did the ":IV7" come from?) = 1 row x 253 columns

    It doesn't help much to say "the helper column didnt work" if you don't
    explain what it was supposed to do, or how you tried to use it...



    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > The helper column didnt work. Are there any other approches that I might use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)=
    > > > "Rec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and
    > > > get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains text
    > > > and
    > > > numeric entries, but all of the matching entries (The ones that should
    > > > add)
    > > > are numeric.
    > > > What am I missing?

    > >


  55. #55
    Bob Phillips
    Guest

    Re: Sumproduct Help

    I gave you an alternative.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > The helper column didnt work. Are there any other approches that I might

    use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  56. #56
    Rob
    Guest

    Sumproduct Help

    Hi
    I cannot get this to work:


    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec'd"),D565:D588).

    I have disected the fromula and applied each criteria to the range and get
    all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    numeric entries, but all of the matching entries (The ones that should add)
    are numeric.
    What am I missing?
    Thanks!


  57. #57
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    All your ranges must be the same size.

    Perhaps you could move --(D595=D7) out of the SUMPRODUCT:

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)

    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > 'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?


  58. #58
    Rob
    Guest

    Re: Sumproduct Help

    I thikn I can add a helper column. Thanks!

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


  59. #59
    William Horton
    Guest

    RE: Sumproduct Help

    Try the below formula.

    =SUMPRODUCT((MOD(ROW(D565:D588),4)=3)*(D595=D7)*(RIGHT(C565:C588,5)="Rec'd")*(D565:D588))

    Hope this does what you wanted.

    Thanks,
    Bill Horton

    "Rob" wrote:

    > Hi
    > I cannot get this to work:
    >
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec'd"),D565:D588).
    >
    > I have disected the fromula and applied each criteria to the range and get
    > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > numeric entries, but all of the matching entries (The ones that should add)
    > are numeric.
    > What am I missing?
    > Thanks!
    >


  60. #60
    Rob
    Guest

    Re: Sumproduct Help

    My apologies Bob, I miss your reply. I tired your formula and it does return
    a value but it is not calculating correctly. My spreadsheet is laid out as
    follows( The fields have been changed for clarity, and to protect the
    innocent LOL). Suppliers are listed in row 7, and there may be more than one
    column with the same Supplier.
    then 10 sales divisions below. Each division has room to enter 6
    transactions per supplier with 4 cells in the column making up the
    transaction. Col A is a helper column that contains the division number in
    each of the 24 rows for that division.

    d7 Supplier

    b13 Div1 C13 Sold to
    C14 Product
    C15 Date
    C16 Qty

    c13:c14 repeats 5 more times and then Div2 starts.

    What I am trying to accomplish with the formula.....
    Below the grid for entries is a supplier summary by division.

    C260=Div D260= Supplier1 e260 Supplier2
    C261=1
    D261 is where the formula goes that will total the "Qty" for Supplier1 for
    Div1


    I hope I havent added further confusion. Im sure there is another solution,
    I was trying to modify an existing formula that only looked at one column,
    and wasnt sure how to get the other columns in.
    Thanks!


    "Bob Phillips" wrote:

    > I gave you an alternative.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > The helper column didnt work. Are there any other approches that I might

    > use
    > > in order to use a different range? D595=d7:IV7
    > >
    > > "JE McGimpsey" wrote:
    > >
    > > > All your ranges must be the same size.
    > > >
    > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > >
    > > > In article <[email protected]>,
    > > > Rob <[email protected]> wrote:
    > > >
    > > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > ec
    > > > > 'd"),D565:D588).
    > > > >
    > > > > I have disected the fromula and applied each criteria to the range and

    > get
    > > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    > text and
    > > > > numeric entries, but all of the matching entries (The ones that should

    > add)
    > > > > are numeric.
    > > > > What am I missing?
    > > >

    >
    >
    >


  61. #61
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    You don't need a helper column

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(RIGHT(C565:C588,5)="Rec'd"),D565:
    D588)*(D595=D7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > I thikn I can add a helper column. Thanks!
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  62. #62
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I've spent a lot of time looking at this trying to understand, and I'm sure
    I still don't fully :-).

    I don't see where D7 comes into play to ensure that you count by supplier
    for instance.

    Here is my stab at it. I think (hope!) that it is close, but I expect that
    we are not quite there yet, so please feedback.

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    59)*(D260=$D$7)

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > My apologies Bob, I miss your reply. I tired your formula and it does

    return
    > a value but it is not calculating correctly. My spreadsheet is laid out

    as
    > follows( The fields have been changed for clarity, and to protect the
    > innocent LOL). Suppliers are listed in row 7, and there may be more than

    one
    > column with the same Supplier.
    > then 10 sales divisions below. Each division has room to enter 6
    > transactions per supplier with 4 cells in the column making up the
    > transaction. Col A is a helper column that contains the division number

    in
    > each of the 24 rows for that division.
    >
    > d7 Supplier
    >
    > b13 Div1 C13 Sold to
    > C14 Product
    > C15 Date
    > C16 Qty
    >
    > c13:c14 repeats 5 more times and then Div2 starts.
    >
    > What I am trying to accomplish with the formula.....
    > Below the grid for entries is a supplier summary by division.
    >
    > C260=Div D260= Supplier1 e260 Supplier2
    > C261=1
    > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > Div1
    >
    >
    > I hope I havent added further confusion. Im sure there is another

    solution,
    > I was trying to modify an existing formula that only looked at one column,
    > and wasnt sure how to get the other columns in.
    > Thanks!
    >
    >
    > "Bob Phillips" wrote:
    >
    > > I gave you an alternative.
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > The helper column didnt work. Are there any other approches that I

    might
    > > use
    > > > in order to use a different range? D595=d7:IV7
    > > >
    > > > "JE McGimpsey" wrote:
    > > >
    > > > > All your ranges must be the same size.
    > > > >
    > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > >
    > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > >
    > > > > In article <[email protected]>,
    > > > > Rob <[email protected]> wrote:
    > > > >
    > > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > ec
    > > > > > 'd"),D565:D588).
    > > > > >
    > > > > > I have disected the fromula and applied each criteria to the range

    and
    > > get
    > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    contains
    > > text and
    > > > > > numeric entries, but all of the matching entries (The ones that

    should
    > > add)
    > > > > > are numeric.
    > > > > > What am I missing?
    > > > >

    > >
    > >
    > >




  63. #63
    Bob Phillips
    Guest

    Re: Sumproduct Help

    I gave you an alternative.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > The helper column didnt work. Are there any other approches that I might

    use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    ec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and

    get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains

    text and
    > > > numeric entries, but all of the matching entries (The ones that should

    add)
    > > > are numeric.
    > > > What am I missing?

    > >




  64. #64
    Rob
    Guest

    Re: Sumproduct Help

    bob thanks for your time....
    Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and i
    am trying to summarize Supplier1 in column D, then how does your formula pick
    up the other 2 columns? Thats what my reference do d7 was supposed to do.
    Thanks again


    "Bob Phillips" wrote:

    > Rob,
    >
    > I've spent a lot of time looking at this trying to understand, and I'm sure
    > I still don't fully :-).
    >
    > I don't see where D7 comes into play to ensure that you count by supplier
    > for instance.
    >
    > Here is my stab at it. I think (hope!) that it is close, but I expect that
    > we are not quite there yet, so please feedback.
    >
    > =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > 59)*(D260=$D$7)
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Rob" <[email protected]> wrote in message
    > news:[email protected]...
    > > My apologies Bob, I miss your reply. I tired your formula and it does

    > return
    > > a value but it is not calculating correctly. My spreadsheet is laid out

    > as
    > > follows( The fields have been changed for clarity, and to protect the
    > > innocent LOL). Suppliers are listed in row 7, and there may be more than

    > one
    > > column with the same Supplier.
    > > then 10 sales divisions below. Each division has room to enter 6
    > > transactions per supplier with 4 cells in the column making up the
    > > transaction. Col A is a helper column that contains the division number

    > in
    > > each of the 24 rows for that division.
    > >
    > > d7 Supplier
    > >
    > > b13 Div1 C13 Sold to
    > > C14 Product
    > > C15 Date
    > > C16 Qty
    > >
    > > c13:c14 repeats 5 more times and then Div2 starts.
    > >
    > > What I am trying to accomplish with the formula.....
    > > Below the grid for entries is a supplier summary by division.
    > >
    > > C260=Div D260= Supplier1 e260 Supplier2
    > > C261=1
    > > D261 is where the formula goes that will total the "Qty" for Supplier1 for
    > > Div1
    > >
    > >
    > > I hope I havent added further confusion. Im sure there is another

    > solution,
    > > I was trying to modify an existing formula that only looked at one column,
    > > and wasnt sure how to get the other columns in.
    > > Thanks!
    > >
    > >
    > > "Bob Phillips" wrote:
    > >
    > > > I gave you an alternative.
    > > >
    > > > --
    > > >
    > > > HTH
    > > >
    > > > RP
    > > > (remove nothere from the email address if mailing direct)
    > > >
    > > >
    > > > "Rob" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > The helper column didnt work. Are there any other approches that I

    > might
    > > > use
    > > > > in order to use a different range? D595=d7:IV7
    > > > >
    > > > > "JE McGimpsey" wrote:
    > > > >
    > > > > > All your ranges must be the same size.
    > > > > >
    > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > >
    > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > >
    > > > > > In article <[email protected]>,
    > > > > > Rob <[email protected]> wrote:
    > > > > >
    > > > > > >
    > > >

    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > ec
    > > > > > > 'd"),D565:D588).
    > > > > > >
    > > > > > > I have disected the fromula and applied each criteria to the range

    > and
    > > > get
    > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > contains
    > > > text and
    > > > > > > numeric entries, but all of the matching entries (The ones that

    > should
    > > > add)
    > > > > > > are numeric.
    > > > > > > What am I missing?
    > > > > >
    > > >
    > > >
    > > >

    >
    >
    >


  65. #65
    JE McGimpsey
    Guest

    Re: Sumproduct Help

    What exactlyt are you trying to do?

    D565:D588 = 24 rows x 1 column
    D7:IV7 (where did the ":IV7" come from?) = 1 row x 253 columns

    It doesn't help much to say "the helper column didnt work" if you don't
    explain what it was supposed to do, or how you tried to use it...



    In article <[email protected]>,
    Rob <[email protected]> wrote:

    > The helper column didnt work. Are there any other approches that I might use
    > in order to use a different range? D595=d7:IV7
    >
    > "JE McGimpsey" wrote:
    >
    > > All your ranges must be the same size.
    > >
    > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > >
    > > In article <[email protected]>,
    > > Rob <[email protected]> wrote:
    > >
    > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)=
    > > > "Rec
    > > > 'd"),D565:D588).
    > > >
    > > > I have disected the fromula and applied each criteria to the range and
    > > > get
    > > > all 1' and 0's. Yet I still get a #value!. The sum range contains text
    > > > and
    > > > numeric entries, but all of the matching entries (The ones that should
    > > > add)
    > > > are numeric.
    > > > What am I missing?

    > >


  66. #66
    Bob Phillips
    Guest

    Re: Sumproduct Help

    Rob,

    I am struggling to visualise your data. Can you post a sample workbook
    somewhere?

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Rob" <[email protected]> wrote in message
    news:[email protected]...
    > bob thanks for your time....
    > Maybe I am missing something. If I have Supplier1 in 3 columns (D:F), and

    i
    > am trying to summarize Supplier1 in column D, then how does your formula

    pick
    > up the other 2 columns? Thats what my reference do d7 was supposed to do.
    > Thanks again
    >
    >
    > "Bob Phillips" wrote:
    >
    > > Rob,
    > >
    > > I've spent a lot of time looking at this trying to understand, and I'm

    sure
    > > I still don't fully :-).
    > >
    > > I don't see where D7 comes into play to ensure that you count by

    supplier
    > > for instance.
    > >
    > > Here is my stab at it. I think (hope!) that it is close, but I expect

    that
    > > we are not quite there yet, so please feedback.
    > >
    > >

    =SUMPRODUCT(--($B$13:$B$256=$C261),--(MOD(ROW($C$16:$C$259),4)=0),$C$16:$C$2
    > > 59)*(D260=$D$7)
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Rob" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > My apologies Bob, I miss your reply. I tired your formula and it does

    > > return
    > > > a value but it is not calculating correctly. My spreadsheet is laid

    out
    > > as
    > > > follows( The fields have been changed for clarity, and to protect the
    > > > innocent LOL). Suppliers are listed in row 7, and there may be more

    than
    > > one
    > > > column with the same Supplier.
    > > > then 10 sales divisions below. Each division has room to enter 6
    > > > transactions per supplier with 4 cells in the column making up the
    > > > transaction. Col A is a helper column that contains the division

    number
    > > in
    > > > each of the 24 rows for that division.
    > > >
    > > > d7 Supplier
    > > >
    > > > b13 Div1 C13 Sold to
    > > > C14 Product
    > > > C15 Date
    > > > C16 Qty
    > > >
    > > > c13:c14 repeats 5 more times and then Div2 starts.
    > > >
    > > > What I am trying to accomplish with the formula.....
    > > > Below the grid for entries is a supplier summary by division.
    > > >
    > > > C260=Div D260= Supplier1 e260 Supplier2
    > > > C261=1
    > > > D261 is where the formula goes that will total the "Qty" for Supplier1

    for
    > > > Div1
    > > >
    > > >
    > > > I hope I havent added further confusion. Im sure there is another

    > > solution,
    > > > I was trying to modify an existing formula that only looked at one

    column,
    > > > and wasnt sure how to get the other columns in.
    > > > Thanks!
    > > >
    > > >
    > > > "Bob Phillips" wrote:
    > > >
    > > > > I gave you an alternative.
    > > > >
    > > > > --
    > > > >
    > > > > HTH
    > > > >
    > > > > RP
    > > > > (remove nothere from the email address if mailing direct)
    > > > >
    > > > >
    > > > > "Rob" <[email protected]> wrote in message
    > > > > news:[email protected]...
    > > > > > The helper column didnt work. Are there any other approches that

    I
    > > might
    > > > > use
    > > > > > in order to use a different range? D595=d7:IV7
    > > > > >
    > > > > > "JE McGimpsey" wrote:
    > > > > >
    > > > > > > All your ranges must be the same size.
    > > > > > >
    > > > > > > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    > > > > > >
    > > > > > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > > > > > > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    > > > > > >
    > > > > > > In article <[email protected]>,
    > > > > > > Rob <[email protected]> wrote:
    > > > > > >
    > > > > > > >
    > > > >

    > >

    =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="R
    > > > > ec
    > > > > > > > 'd"),D565:D588).
    > > > > > > >
    > > > > > > > I have disected the fromula and applied each criteria to the

    range
    > > and
    > > > > get
    > > > > > > > all 1' and 0's. Yet I still get a #value!. The sum range

    > > contains
    > > > > text and
    > > > > > > > numeric entries, but all of the matching entries (The ones

    that
    > > should
    > > > > add)
    > > > > > > > are numeric.
    > > > > > > > What am I missing?
    > > > > > >
    > > > >
    > > > >
    > > > >

    > >
    > >
    > >




  67. #67
    Rob
    Guest

    Re: Sumproduct Help

    The helper column didnt work. Are there any other approches that I might use
    in order to use a different range? D595=d7:IV7

    "JE McGimpsey" wrote:

    > All your ranges must be the same size.
    >
    > Perhaps you could move --(D595=D7) out of the SUMPRODUCT:
    >
    > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),
    > --(RIGHT(C565:C588,5)="Rec'd"), D565:D588) * (D595=D7)
    >
    > In article <[email protected]>,
    > Rob <[email protected]> wrote:
    >
    > > =SUMPRODUCT(--(MOD(ROW(D565:D588),4)=3),--(D595=D7),--(RIGHT(C565:C588,5)="Rec
    > > 'd"),D565:D588).
    > >
    > > I have disected the fromula and applied each criteria to the range and get
    > > all 1' and 0's. Yet I still get a #value!. The sum range contains text and
    > > numeric entries, but all of the matching entries (The ones that should add)
    > > are numeric.
    > > What am I missing?

    >


+ 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