ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Nest SumIf (https://www.excelbanter.com/excel-worksheet-functions/171901-nest-sumif.html)

[email protected]

Nest SumIf
 
Hello. I am trying to use a formula that will sum a colum if the
criteria in one column equals a cell and the criteria in another
column equals another cell.

Example:

=SUMIF($A$11:$A$10000,$A$1,SUMIF($B$11:$B$10000,A3 ,$O$10000))

This funtion does not work, but it gives an idea of what I need to
do. Any idea how to make this happen?

Thanks

[email protected]

Nest SumIf
 
Sorry, I missed an element of the final string of the formula. It
would read like below:

=SUMIF($A$11:$A$10000,$A$1,SUMIF($B$11:$B$10000,A3 ,$O$11:$O$10000))

Thanks again

ShaneDevenshire

Nest SumIf
 
Hi,

Depending on exactly what you are trying to do you probably can't do a
multi-condition SUMIF unless you are using Excel 2007, in which case look at
the SUMIFS function.

In 2003 and earlier we would use an array SUM or SUMPRODUCT function to do
this:

=SUMPRODUCT(($A$11:$A$10000=$A$1)*($B$11:$B$10000= A3)*($O$11:$O$10000))

There are other variations of this, but this is a start.
--
Cheers,
Shane Devenshire


" wrote:

Sorry, I missed an element of the final string of the formula. It
would read like below:

=SUMIF($A$11:$A$10000,$A$1,SUMIF($B$11:$B$10000,A3 ,$O$11:$O$10000))

Thanks again


[email protected]

Nest SumIf
 
Thank you


All times are GMT +1. The time now is 07:33 AM.

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