ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   help with sum if formula (https://www.excelbanter.com/excel-programming/352132-help-sum-if-formula.html)

Gary Keramidas

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




Bob Phillips[_6_]

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






Gary Keramidas

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









All times are GMT +1. The time now is 11:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com