Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
chg chg is offline
external usenet poster
 
Posts: 15
Default Sumif Deviation is positive


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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
chg chg is offline
external usenet poster
 
Posts: 15
Default Sumif Deviation is positive

Kind of figured it out myself:

={SUM(IF((C1:C100-B1:B100)0,C1:C100-B1:B100))}

Thx for reading anyway
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard deviation Svi Excel Discussion (Misc queries) 5 October 15th 07 10:13 AM
Standard Deviation Stan Banner Excel Worksheet Functions 1 March 12th 06 12:54 AM
Sumif using dates and positive negative values Eqa Excel Discussion (Misc queries) 1 November 9th 05 09:08 AM
standard deviation Chris Excel Discussion (Misc queries) 1 October 13th 05 04:52 AM
SUMIF positive values only from database gmac Excel Worksheet Functions 4 June 29th 05 09:51 AM


All times are GMT +1. The time now is 08:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"