ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   SUMIF statement with AND statement (https://www.excelbanter.com/excel-discussion-misc-queries/194784-sumif-statement-statement.html)

Eric D

SUMIF statement with AND statement
 
Can anyone tell me how to use a SUMIF statement with a AND statement?

I need it to sum e3 when d3="in repay" except for when c3="consolidation"
--
Eric

Pete_UK

SUMIF statement with AND statement
 
Try it this way:

=SUMPRODUCT((D3:D100="in repay")*(C3:C100<"consolidation)*(E3:E100))

Adjust ranges to suit, but you can't use full-column ranges in
versions before XL2007.

Hope this helps.

Pete

On Jul 14, 6:58*pm, Eric D wrote:
Can anyone tell me how to use a SUMIF statement with a AND statement?

I need it to sum e3 when d3="in repay" except for when c3="consolidation"
--
Eric



Eric D

SUMIF statement with AND statement
 
thanks pete, this works great
--
Eric


"Eric D" wrote:

Can anyone tell me how to use a SUMIF statement with a AND statement?

I need it to sum e3 when d3="in repay" except for when c3="consolidation"
--
Eric



All times are GMT +1. The time now is 08:00 AM.

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