Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default help with sum if formula

need to sum a column based on 2 criteria:
this returns zero

=SUM(IF(AND(A3:A183="GR",I3:I183<0),I3:I183))

--


Gary



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default help with sum if formula

=SUMPRODUCT(--(A3:A138="GR"),--(I3:I183<0),I3:I183)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
need to sum a column based on 2 criteria:
this returns zero

=SUM(IF(AND(A3:A183="GR",I3:I183<0),I3:I183))

--


Gary





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default help with sum if formula

thanks, bob

--


Gary


"Bob Phillips" wrote in message
...
=SUMPRODUCT(--(A3:A138="GR"),--(I3:I183<0),I3:I183)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
need to sum a column based on 2 criteria:
this returns zero

=SUM(IF(AND(A3:A183="GR",I3:I183<0),I3:I183))

--


Gary







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
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 12:07 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"