Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
C.Pflugrath
 
Posts: n/a
Default 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   Report Post  
Duke Carey
 
Posts: n/a
Default

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   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

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

--
Regards,

Peo Sjoblom

(No private emails please)


"C.Pflugrath" wrote in message
...
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   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

C,

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

HTH,
Bernie
MS Excel MVP


"C.Pflugrath" wrote in message
...
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   Report Post  
Roger Govier
 
Posts: n/a
Default

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

--
Regards

Roger Govier


"C.Pflugrath" wrote in message
...
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   Report Post  
C.Pflugrath
 
Posts: n/a
Default

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM
Dynamic sumif function Jimbola Excel Worksheet Functions 5 May 4th 05 01:10 AM
SUMIF Not vanjohnson Excel Discussion (Misc queries) 1 March 4th 05 08:42 PM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 03:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"