Excel 2007 Nested Sumif's

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I followed the instructions below and they work. But now, I have to wait 5
seconds after each new workbook entry before the cursor even moves. For some
reason, this is a memory hog. Is there something I can do about this? The
functionality is great, but it takes too long.

TKS_Mark said:
I want to sum columns of data only if two neighboring columns match two
separate criteria. For instance, I'm in worksheet, "wksht1" at column C.
I named column A "ActCdeSum". In another worksheet, I have three named
columns, "Area10", "ActCdeG10", and "_CstG10".

I want to sum the contents of "_CstG10" only if x "ActCdeG10" matches
"ActCdeSum" and "Area10" is has the text GB.
.....

So you want multiple cell ActCdeG10 to match item-by-item against multiple
cell ActCdeSum? If so, you can't use SUMIFS. You'd need to use SUMPRODUCT.

=SUMPRODUCT((ActCdeG10=ActCdeSum)*(Area10="GB"),_CstG10)

Again, you'd be better off asking these kinds of application-specific
questions in application-specific newsgroups.
 
to speed it up you might use a helper column with an if statement to see if
the the critereia is met for that row, and use a sumif() based on the helper
column.

sumproduct() is a very useful tool, but can be a memory and time hog, if
you have large arrays.
 

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

Nesting SUMIF within SUMPRODUCT 10
sumif with multiple sums 3
SumIf AND 6
Nested sumif/sumproduct 3
subtotal with sumif nested 1
SUMIFs across multiple sheets 7
nested sumif? 2
SUMIFS question 3

Back
Top