View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_] Ashish Mathur[_2_] is offline
external usenet poster
 
Posts: 1,766
Default Sumif Deviation is positive

Hi,

Try this

=sumproduct((C1:C100-B1:B100)*(C1:C100-B1:B1000))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"chg" wrote in message
...

I'd like to calculate the sum of all postive deviations of two time
series.
Is there a way to do this without additional calculations in seperate
column?
I tried this, but it doesn't seem to work

=sumif(C1:C100-B1:B100,"0")

Any suggestions?

Thy very much