Nest SumIf

N

nybaseball22

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
 
N

nybaseball22

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
 
S

ShaneDevenshire

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Sumif and Specified Ranges 2
SUMIF with criteria "<>" & "=" 4
Sumif Function 1
SUMIF 5
sumif functions 4
Counting blanks as zeros 1
subtotal with sumif nested 1
Column Average Given 2 Criteria 4

Top