?
Solved

SumIF for multiple criteria to include date falls in particular month

Posted on 2016-07-16
5
Medium Priority
?
111 Views
Last Modified: 2016-07-17
I trying to create a formula that reference a range and fall in a specific month and gives the sum.  For example, if Range code = EDD and falls in January return sum of all occurrences.

The  range containing the reason codes and dates are on a different tab.  The formula needs to reference the reason code in the table against the corresresponding reason code in the tab contain the log reasons and date
Table

Reason     Jan    Feb     Mar
EDD
0
Comment
Question by:cfhasan1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 7

Expert Comment

by:tomfarrar
ID: 41714701
Providing the spreadsheet would be helpful.  The sumifs function might give you what you need.

http://www.excelfunctions.net/Excel-Sumifs-Function.html
1
 
LVL 7

Expert Comment

by:tomfarrar
ID: 41714735
A pivot table is also a great tool for doing what you are asking.  Assuming the data looks like what I have provided as an example.  See spreadsheet.
EE.xlsx
0
 
LVL 7

Accepted Solution

by:
tomfarrar earned 2000 total points
ID: 41714794
Or if your date is mm/dd/yr, then you can use the grouping function in the pivot table like the attached example.  An advantage of the pivot table is if your source data is defined as a table (Ctrl/T keystroke) then it will expand or detract as the number of rows change if, for instance, the data was changed every month.
EE.xlsx
0
 

Author Closing Comment

by:cfhasan1
ID: 41715695
Great!  This provides me with exactly what I was looking.
0
 
LVL 7

Expert Comment

by:tomfarrar
ID: 41715975
Glad to help..
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

771 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