#1   Report Post  
Ket
 
Posts: n/a
Default SUMPRODUCT???

Hello,

I have looked through the threads and believe what I require is the
SUMPRODUCT function.

I have a spreadsheet with column A containing dates in the format
dd/mm/yyyy and column B containing values.

What formula should I use in column C that will add up all deals
between two dates?

Eg between 01/01/2004 and 15/01/2005 ?

TIA for your help.

Ket
London
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

something like this:
=SUMPRODUCT(--(A2:A100=DATE(2004,1,1)),--(A2:A100<=DATE(2005,1,15)),B2:B100
)

NB! You can't use references like 'A:A' with SUMPRODUCT - the ranges must be
exactly defined, and all of same dimension.


Arvi Laanemets

"Ket" wrote in message
...
Hello,

I have looked through the threads and believe what I require is the
SUMPRODUCT function.

I have a spreadsheet with column A containing dates in the format
dd/mm/yyyy and column B containing values.

What formula should I use in column C that will add up all deals
between two dates?

Eg between 01/01/2004 and 15/01/2005 ?

TIA for your help.

Ket
London



  #3   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

Sumproduct is not actually required for this.


=Sumif(A:A,"=01/01/2004",B:B) - Sumif(A:A,"15/01/2005",B:B)

--
Regards,
Tom Ogilvy



"Ket" wrote in message
...
Hello,

I have looked through the threads and believe what I require is the
SUMPRODUCT function.

I have a spreadsheet with column A containing dates in the format
dd/mm/yyyy and column B containing values.

What formula should I use in column C that will add up all deals
between two dates?

Eg between 01/01/2004 and 15/01/2005 ?

TIA for your help.

Ket
London



  #4   Report Post  
Myrna Larson
 
Posts: n/a
Default

You can use two SUMIF formulas:


=SUMIF(A1:A100,"="&DATE(2004,1,1),C1:C100)-SUMIF(A1:A100,""&DATE(2005,1,15),C1:C100)


On Mon, 21 Feb 2005 17:48:52 +0000, Ket wrote:

Hello,

I have looked through the threads and believe what I require is the
SUMPRODUCT function.

I have a spreadsheet with column A containing dates in the format
dd/mm/yyyy and column B containing values.

What formula should I use in column C that will add up all deals
between two dates?

Eg between 01/01/2004 and 15/01/2005 ?

TIA for your help.

Ket
London


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
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Another Sumproduct & #N/A problem Dave Davis Excel Worksheet Functions 3 January 10th 05 03:59 PM
Sumproduct ... Empty Cells vs Spaces? Ken Excel Discussion (Misc queries) 9 December 17th 04 08:03 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 04:09 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"