Nest SumIf

  • Thread starter Thread starter nybaseball22
  • Start date Start date
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
 
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
 
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 with criteria "<>" & "=" 4
Sumif and Specified Ranges 2
subtotal with sumif nested 1
SUMIF 5
SUMIF / IF 3
Counting blanks as zeros 1
Combining sumIF statements with other functions? 2
Sumif Function 1

Back
Top