Hi,
I have a problem adding values that belongs to same month and year.
Here's the case:
Sheet 1:
Column A: Random Dates
Column B: Random values ($)
Sheet 2:
I would like to sum the values belonging to each month of every year to consolidate the entire $ values. So, 5/1/2009 and 5/25/2009 would add. 5/1/2009 and 5/25/2010 won't add. In that matter, I would like to be able to add more than 50 values (as much as I want) for one month...
PS: my worksheet contains more than 1000 different values with a period of 5 years.
Thanks all!
=Sumproduct((Year(A1:A1000)=2009)*(Month(A1:A1000)=5)*(B1:B1000)) will work for May 2009. Note that you can't use full column references with Sumproduct in Excel versions before 2007.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks