?
Solved

Sum by month

Posted on 2011-03-14
7
Medium Priority
?
226 Views
Last Modified: 2012-05-11
I am trying to sum by month based on the attached spreadsheet.  I have tried searching for an answer to this, and when I use what I think is the correct array formula, I get a #Value error.

Thanks,

Michael expert-exchange-datesum-example.xlsx
0
Comment
Question by:Michael Paxton
  • 3
  • 2
  • 2
7 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 35129907
Which column? Can you clarify more please.
0
 

Author Comment

by:Michael Paxton
ID: 35129917
Sorry, I am trying to sum Column F.
0
 

Author Comment

by:Michael Paxton
ID: 35129963
I have been getting an error using this formula

=SUMPRODUCT((MONTH($A$2:$A$225)=MONTH(I1)*($B$2:$F$225)))
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35130015
Based on your workbook you would need:
=SUMPRODUCT((MONTH($A$2:$A$225)=MONTH(H2))*($F$2:$F$225))
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 2000 total points
ID: 35130030
Safer to check the year too though, unless you will only have one year's data:
=SUMPRODUCT(--(MONTH($A$2:$A$225)=MONTH(H3)),--(YEAR($A$2:$A$225)=YEAR(H3)),$F$2:$F$225)

Note: you could also use a pivot table for a simple summary.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35130042
Not sure if you have correct columns in that formula:
Column I is empty.
$B$2:$F$225 this is a wide range.
Could you show a sample of what you expect the formula to do? I am not sure I got you correctly.
0
 

Author Closing Comment

by:Michael Paxton
ID: 35130050
Spot on formula!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question