View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Flu Flu is offline
external usenet poster
 
Posts: 5
Default Combine Sumif and Subtotal

Try to combine a sumif in a subtotal row.
But got #VALUE! instead.
Can someone advise what's wrong with this formular?

=SUMPRODUCT((ISNUMBER(MATCH($E$5:$E$10,$E$8,0))),( SUBTOTAL(9,F$5:F$10)))

or can I use a simpler one
=sumif($E$5:$E$10,$E$8,(subtotal(9,F5:F10)))