Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TT TT is offline
external usenet poster
 
Posts: 32
Default Summing differences with multpile criteria


I want to sum the difference between each row in 2 columns of data for each
case where row(i) in column A 0 and row(i) in column B is less than column A


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Summing differences with multpile criteria

So which column should be subtracted from which column?

A-B or B-A

Try one of these:

A-B:

=SUMPRODUCT(--(A1:A100),--(B1:B10<A1:A10),A1:A10-B1:B10)

B-A:

=SUMPRODUCT(--(A1:A100),--(B1:B10<A1:A10),B1:B10-A1:A10)


--
Biff
Microsoft Excel MVP


"TT" wrote in message
...

I want to sum the difference between each row in 2 columns of data for
each
case where row(i) in column A 0 and row(i) in column B is less than
column A




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
Summing Across Worksheets with criteria Brian Excel Discussion (Misc queries) 1 June 10th 08 03:49 PM
Edit multpile hyperlinks Erika Excel Discussion (Misc queries) 2 November 15th 07 04:06 PM
complex criteria summing karl41 Excel Discussion (Misc queries) 4 August 14th 06 04:30 PM
Summing based on criteria jspizman Excel Worksheet Functions 1 July 20th 06 04:48 PM
Need Help: Summing Multiple Criteria japorms Excel Worksheet Functions 6 April 28th 06 08:41 PM


All times are GMT +1. The time now is 10:27 PM.

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

About Us

"It's about Microsoft Excel"