how do I sum year to date tables

G

Guest

I want to sum revenue's depending on the datespecified in a Cell (for example
A1= march-07). I have the full year plan on a separate sheet. I want to be
able to specify the month and the answer come back with the sum of the month
up to that date. I have a separate sheet with the plan for the year "year
plan". the first row is the date jan-07 feb 07 mar-07..ect) the second row is
the revenue figures for that month plan.
 
G

Guest

Hi,

Hard to say without more details but something like this perhaps:

=SUMPRODUCT((MONTH(B1:B100)>=1)*(MONTH(B1:B100)<=MONTH(A1)),C1:C100)

this will sum the values in column C if the date in column B is from Jan up
to the month of the date in A1.

HTH
Jean-Guy
 
G

Guest

i am not so familiar with your question yet i'll try to help...

=SUMPRODUCT(--(MONTH(sheet2!A1:L1)<=MONTH(A1)),sheet2!A2:L2)

e.g.
sheet2!A1:L1 : JAN-07 to DEC-07
sheet2!A2:L2 : REVENUES PER MONTH

just maybe

regards
 
G

Guest

Works perfect.

Thanks for this.

Tom


pinmaster said:
Hi,

Hard to say without more details but something like this perhaps:

=SUMPRODUCT((MONTH(B1:B100)>=1)*(MONTH(B1:B100)<=MONTH(A1)),C1:C100)

this will sum the values in column C if the date in column B is from Jan up
to the month of the date in A1.

HTH
Jean-Guy
 
G

Guest

Thanks for the help,
It answered my question perfectly.
regards and have a good day,

Tom
 

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