> I noticed that all of the dates are either June or December.
>
[quoted text clipped - 52 lines]
>
> - Show quoted text -
If you have monthly data and your column headers are like this:
B1:M1 = Jan, Feb, Mar, Apr .... Dec
Then change the formula to:
=SUMPRODUCT(--(MONTH(rngDate)=COLUMNS($B2:B2)),--(YEAR(rngDate)=$A2),rngValues)

Signature
Biff
Microsoft Excel MVP
On Mar 3, 9:02 am, "T. Valko" <biffinp...@comcast.net> wrote:
> I noticed that all of the dates are either June or December.
>
[quoted text clipped - 52 lines]
>
> - Show quoted text -
Hello Thank you It is working perfectly
Only one question if I have monthly data ? can I adapt the formula
and I can use dynamic Range ?
thank you again :D
Ina
inarobis@gmail.com - 03 Mar 2008 09:01 GMT
> If you have monthly data and your column headers are like this:
>
[quoted text clipped - 77 lines]
>
> - Show quoted text -
Thank you so much :D It is working very well
T. Valko - 03 Mar 2008 19:38 GMT
You're welcome. Thanks for the feedback!

Signature
Biff
Microsoft Excel MVP
On Mar 3, 9:57 am, "T. Valko" <biffinp...@comcast.net> wrote:
> If you have monthly data and your column headers are like this:
>
[quoted text clipped - 76 lines]
>
> - Show quoted text -
Thank you so much :D It is working very well