+ Reply to Thread
Results 1 to 6 of 6

Thread: Embedding a Sumif in a sumif

  1. #1
    C.Pflugrath
    Guest

    Embedding a Sumif in a sumif

    Attempted to embed a sumif into a sumif. Formula
    =sumif(Gift,1,sumif(PerPay,"<>0",Children)) returns message "The formula you
    types contains an error."

    Need to sum the range "Children" based on criteria in both the "Gift" and
    "PerPay" colums. Suggentions? Alternatives?

    .. . . Cheers & Thank You
    C.Pflugrath

  2. #2
    Duke Carey
    Guest

    RE: Embedding a Sumif in a sumif

    maybe..

    =SUMPRODUCT(--(gift=1),--(perpay<>0),children)


    "C.Pflugrath" wrote:

    > Attempted to embed a sumif into a sumif. Formula
    > =sumif(Gift,1,sumif(PerPay,"<>0",Children)) returns message "The formula you
    > types contains an error."
    >
    > Need to sum the range "Children" based on criteria in both the "Gift" and
    > "PerPay" colums. Suggentions? Alternatives?
    >
    > . . . Cheers & Thank You
    > C.Pflugrath


  3. #3
    Bernie Deitrick
    Guest

    Re: Embedding a Sumif in a sumif

    C,

    =SUMPRODUCT((Gift=1)*(PerPay<>0)*Children)

    HTH,
    Bernie
    MS Excel MVP


    "C.Pflugrath" <CPflugrath@discussions.microsoft.com> wrote in message
    news:D2C26FB4-CB55-450F-B23C-C4ED28A5765A@microsoft.com...
    > Attempted to embed a sumif into a sumif. Formula
    > =sumif(Gift,1,sumif(PerPay,"<>0",Children)) returns message "The formula you
    > types contains an error."
    >
    > Need to sum the range "Children" based on criteria in both the "Gift" and
    > "PerPay" colums. Suggentions? Alternatives?
    >
    > . . . Cheers & Thank You
    > C.Pflugrath




  4. #4
    Peo Sjoblom
    Guest

    Re: Embedding a Sumif in a sumif

    =SUMPRODUCT(--(Gift=1),--(PerPay<>0),Children)

    --
    Regards,

    Peo Sjoblom

    (No private emails please)


    "C.Pflugrath" <CPflugrath@discussions.microsoft.com> wrote in message
    news:D2C26FB4-CB55-450F-B23C-C4ED28A5765A@microsoft.com...
    > Attempted to embed a sumif into a sumif. Formula
    > =sumif(Gift,1,sumif(PerPay,"<>0",Children)) returns message "The formula
    > you
    > types contains an error."
    >
    > Need to sum the range "Children" based on criteria in both the "Gift" and
    > "PerPay" colums. Suggentions? Alternatives?
    >
    > . . . Cheers & Thank You
    > C.Pflugrath



  5. #5
    Roger Govier
    Guest

    Re: Embedding a Sumif in a sumif

    One way
    =SUMPRODUCT(--(Gift=1),--(PerPay<>0),Children)
    This assumes the ranges are of equal size.

    --
    Regards

    Roger Govier


    "C.Pflugrath" <CPflugrath@discussions.microsoft.com> wrote in message
    news:D2C26FB4-CB55-450F-B23C-C4ED28A5765A@microsoft.com...
    > Attempted to embed a sumif into a sumif. Formula
    > =sumif(Gift,1,sumif(PerPay,"<>0",Children)) returns message "The formula
    > you
    > types contains an error."
    >
    > Need to sum the range "Children" based on criteria in both the "Gift" and
    > "PerPay" colums. Suggentions? Alternatives?
    >
    > . . . Cheers & Thank You
    > C.Pflugrath




  6. #6
    C.Pflugrath
    Guest

    RE: Embedding a Sumif in a sumif

    Fabolous! Thank You!
    --
    .. . . Cheers
    C.Pflugrath


    "Duke Carey" wrote:

    > maybe..
    >
    > =SUMPRODUCT(--(gift=1),--(perpay<>0),children)
    >
    >
    > "C.Pflugrath" wrote:
    >
    > > Attempted to embed a sumif into a sumif. Formula
    > > =sumif(Gift,1,sumif(PerPay,"<>0",Children)) returns message "The formula you
    > > types contains an error."
    > >
    > > Need to sum the range "Children" based on criteria in both the "Gift" and
    > > "PerPay" colums. Suggentions? Alternatives?
    > >
    > > . . . Cheers & Thank You
    > > C.Pflugrath


+ 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.2.0