Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Nesting SUMIFS in SUBTOTAL or Nesting SUBTOTAL in SUMIFS

$
0
0

Hi,

I have a table of data like this

CountLocationCategory
0Local1Cat1
1Local3Cat1
2Local1Cat2
4Local1Cat1
0Local1Cat2
1Local2Cat1
2Local2Cat1
3Local1Cat2
4Local1Cat1

I would like to be able to use one of the formulas below to exclude from the totals rows that get filtered out, but I can't get either formula to wok (colum letters are A,B,C ):

  • =SUBTOTAL(109,SUMIFS(A2:A10,B2:B10,"Local2",C2:C20,"Cat1"))
  • =SUMIFS(SUBTOTAL(109,A2:A10),B2:B10,"Local2",C2:C10,"Cat1")

Can this be done in onteof these ways?  If not, how can it be done?

Any help you can give will be appreciated.

Thanks,



Viewing all articles
Browse latest Browse all 11829

Trending Articles