Solved

Excel SUMIF Problem

Posted on 2014-03-01
6
110 Views
Last Modified: 2014-11-03
I have 3 Columns that I am needing to use in this formula. Column A provides the date, Column B provides the Bank Name and Account Number, and Column C provides the amount. What I need is a SUMIF function that will provide a total in one cell (Example D4) that will only sum the cells in Column C if the date in Column A is in January 2014 and the for only one specific bank and account number as listed in column B.

For example D4 would provide the total of all the amounts in the cells in Column C, that have the adjacent cells in the same row that shows a date within the month of January in Column A, AND for only the bank name and account "First National Bank - 123456789" as listed in Column B.
0
Comment
Question by:Humb13St3ps
6 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 250 total points
ID: 39897339
If you are using Excel 2007 or later you can use SUMIFS for multiple conditions, e.g. for summing column C for a specific month and account you can use this formula in G2

=SUMIFS(C:C,B:B,E2,A:A,">="&F2,A:A,"<"&EOMONTH(F2,0)+1)

where E2 contains a specific bank name and account and F2 contains the 1st of the relevant month, in your example E2 should be First National Bank - 123456789 and F2 should be 1/1/2014

You can add different account/date combinations in columns E and F and copy the formula down to sum for those without having to alter the formula

regards, barry
0
 
LVL 5

Assisted Solution

by:Lawrence Barnes
Lawrence Barnes earned 250 total points
ID: 39897721
I've posted an example using SUMIFS if you have a later version of Excel.  If you have an older version the .xls has the solution using SUMPRODUCT.  In both I followed your example and gave totals for Jan and Feb.
LVBarnes
SumsExample.xlsx
SumsExample.xls
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39900067
EE Surfing. just posed  comment to see latest development on this question.

Thanks
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39943005
Waiting  very long for to accept answer. Here is the some-kind of different approach of solution which i had found in EE only.


See attached Thanks
Sumifs.xlsx
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40419031
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

856 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