Matching numbers witin a series

G

Guest

A3 and A4 contain from and to dates.

B1 and B2 contain Year one start & Finish (eg 1/1/05 and 31/12/05)
Subsequent Colums contain subsequent years.

I need help in trying to establish how many days within the dates specified
in A3 and A4 are also contained within the periods specified in each column.

I am using Microsoft Office XP.
 
B

Biff

Hi!

If I understand correctly:

=SUMPRODUCT(--(ROW(INDIRECT(B1&":"&B2))>=$A3),--(ROW(INDIRECT(B1&":"&B2))<=$A4))

Copy across as needed.

Biff
 
G

Guest

Thanks Biff.

Your response was exactly what I needed.

I don't understand it, but it does exactly what I want.

Many thanks.
 
B

Biff

You're welcome. Thanks for the feedback!

Biff

Bismark said:
Thanks Biff.

Your response was exactly what I needed.

I don't understand it, but it does exactly what I want.

Many thanks.
 

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

Top