Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bikergsx
 
Posts: n/a
Default Sumproduct checking between two dates


Hello,

I appear to be having a little difficulty with sumproduct.

A1 = 01/06/2006 (dd/mm/yyyy format)
A2 = 01/07/2006
B1 = 01/06/2006
B2 = 01/07/2006
C1 = 10
C2 = 20

The formula I'm using is :

=SUMPRODUCT(--(B1:B2=--A1),--(B1:B2<--A2),C1:C2)

This results in a value of '0'. I was expecting a value of '10'.

Any advice, please?

Many thanks.

Best regards from the UK,

Rob.


--
bikergsx
------------------------------------------------------------------------
bikergsx's Profile: http://www.excelforum.com/member.php...o&userid=28834
View this thread: http://www.excelforum.com/showthread...hreadid=545773

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default Sumproduct checking between two dates

Hi
=SUMPRODUCT(--(B1:B2=A1),--(B1:B2<A2),C1:C2)


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"bikergsx" wrote in
message ...

Hello,

I appear to be having a little difficulty with sumproduct.

A1 = 01/06/2006 (dd/mm/yyyy format)
A2 = 01/07/2006
B1 = 01/06/2006
B2 = 01/07/2006
C1 = 10
C2 = 20

The formula I'm using is :

=SUMPRODUCT(--(B1:B2=--A1),--(B1:B2<--A2),C1:C2)

This results in a value of '0'. I was expecting a value of '10'.

Any advice, please?

Many thanks.

Best regards from the UK,

Rob.


--
bikergsx
------------------------------------------------------------------------
bikergsx's Profile:
http://www.excelforum.com/member.php...o&userid=28834
View this thread: http://www.excelforum.com/showthread...hreadid=545773



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bikergsx
 
Posts: n/a
Default Sumproduct checking between two dates


Many thanks for your quick reply.

Works wonderfully. Thanks.


--
bikergsx
------------------------------------------------------------------------
bikergsx's Profile: http://www.excelforum.com/member.php...o&userid=28834
View this thread: http://www.excelforum.com/showthread...hreadid=545773

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
Receive #VALUE! when I mix text with dates using SUMPRODUCT Rick Excel Worksheet Functions 6 March 29th 06 10:15 PM
sumproduct between two dates chased Excel Worksheet Functions 4 July 8th 05 05:24 PM
Sumproduct and list of dates Ajay Excel Discussion (Misc queries) 4 May 18th 05 09:55 AM
SUMPRODUCT ON DATES RagDyeR Excel Worksheet Functions 3 January 13th 05 05:21 PM
sumproduct between dates Dominique Feteau Excel Worksheet Functions 8 December 5th 04 10:56 PM


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