+ Reply to Thread
Results 1 to 5 of 5

Sumif with two criterias

  1. #1
    gibz
    Guest

    Sumif with two criterias

    I have mutiple sheets of information for which i want to sum values in column
    p if columns c & d meet specified criteria.

    The formula i have at present is

    =(SUMPRODUCT(SUMIF(INDIRECT("'"&$AE$11:$AE$26&"'!$d$9:$d$65536"),$A11,INDIRECT("'"&$AE$11:$AE$26&"'!p$9:p$65536"))))

    This works for one set of criteria but i don't know how to incorprate the
    second.

    Can any one help/
    --
    gibz

  2. #2
    Barb Reinhardt
    Guest

    RE: Sumif with two criterias

    What are your criteria for columns C and D and I can assist.

    "gibz" wrote:

    > I have mutiple sheets of information for which i want to sum values in column
    > p if columns c & d meet specified criteria.
    >
    > The formula i have at present is
    >
    > =(SUMPRODUCT(SUMIF(INDIRECT("'"&$AE$11:$AE$26&"'!$d$9:$d$65536"),$A11,INDIRECT("'"&$AE$11:$AE$26&"'!p$9:p$65536"))))
    >
    > This works for one set of criteria but i don't know how to incorprate the
    > second.
    >
    > Can any one help/
    > --
    > gibz


  3. #3
    Don Guillett
    Guest

    Re: Sumif with two criterias

    perhaps a simpler version
    =sumproduct((c2:c22="joe")*(d2:d22=35)*p2:p22)

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "gibz" <[email protected]> wrote in message
    news:[email protected]...
    >I have mutiple sheets of information for which i want to sum values in
    >column
    > p if columns c & d meet specified criteria.
    >
    > The formula i have at present is
    >
    > =(SUMPRODUCT(SUMIF(INDIRECT("'"&$AE$11:$AE$26&"'!$d$9:$d$65536"),$A11,INDIRECT("'"&$AE$11:$AE$26&"'!p$9:p$65536"))))
    >
    > This works for one set of criteria but i don't know how to incorprate the
    > second.
    >
    > Can any one help/
    > --
    > gibz




  4. #4
    gibz
    Guest

    RE: Sumif with two criterias

    Hi,

    Column c is a number 2,3,4 etc and column d is text (i.e TP010)

    Don, your formula works fine on a single sheet but i have approx 35 sheet
    hence why the sheets are named in a specifed range.

    Thanks for your help.
    --
    gibz


    "Barb Reinhardt" wrote:

    > What are your criteria for columns C and D and I can assist.
    >
    > "gibz" wrote:
    >
    > > I have mutiple sheets of information for which i want to sum values in column
    > > p if columns c & d meet specified criteria.
    > >
    > > The formula i have at present is
    > >
    > > =(SUMPRODUCT(SUMIF(INDIRECT("'"&$AE$11:$AE$26&"'!$d$9:$d$65536"),$A11,INDIRECT("'"&$AE$11:$AE$26&"'!p$9:p$65536"))))
    > >
    > > This works for one set of criteria but i don't know how to incorprate the
    > > second.
    > >
    > > Can any one help/
    > > --
    > > gibz


  5. #5
    gibz
    Guest

    RE: Sumif with two criterias

    Hi,

    Column c is a number 2,3,4 etc and column d is text (i.e TP010)

    Don, your formula works fine on a single sheet but i have approx 35 sheet
    hence why the sheets are named in a specifed range.

    Thanks for your help.
    --
    gibz


    "Barb Reinhardt" wrote:

    > What are your criteria for columns C and D and I can assist.
    >
    > "gibz" wrote:
    >
    > > I have mutiple sheets of information for which i want to sum values in column
    > > p if columns c & d meet specified criteria.
    > >
    > > The formula i have at present is
    > >
    > > =(SUMPRODUCT(SUMIF(INDIRECT("'"&$AE$11:$AE$26&"'!$d$9:$d$65536"),$A11,INDIRECT("'"&$AE$11:$AE$26&"'!p$9:p$65536"))))
    > >
    > > This works for one set of criteria but i don't know how to incorprate the
    > > second.
    > >
    > > Can any one help/
    > > --
    > > gibz


+ 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