Sumproduct checking between two dates

B

bikergsx

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Transposing Array 4
Sumproduct syntax when using AND, OR 3
Work Hours 1
How do I... 5
text to date..! 3
DATE COMPUTATIONS 1
calculate total hours/minutes from two time cells 7
Compare dates (re-stated) 1

Top