Adding up Values using dates from this year and Previous Year

kev24

Board Regular
Joined
Oct 22, 2010
Messages
106
have come across an issue with attempting to get excel to compare monthly figures from this time last year to now. I have a list of data ranging from Jan-10 to dec this year. Each date has a value for end of month data. what I want to do is add the values from Jan-11 up to what ever month we are at, and in a separate Colum add the values for the same period in 2010.

My set up looks like below for Sheet 1...


D E
Date Items
Jan-10 36
Feb-10 43
Mar-10 60

dates and data ranging through to December 2011.

IN columns B and C in sheet 1 I have used the TEXT formula to name the dates and year.

My summary page is where the data is to go, so for this year I have =SUMIF('Sheet 1'!$C$4:$C$40,Summary!$C$6,'Sheet 1'!$E$4:$E$40), which works fine for 2011 figures, but I cannot get the figures to add up for the same period last year..:confused:

I have tried Vlookup and sumproduct, but to no avail.

any help is much appreciated.

Thanks
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top