Excel SUMIF Problem

Humb13St3ps
Humb13St3ps used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2013
Commented:
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
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
Naresh PatelFinancial Adviser

Commented:
EE Surfing. just posed  comment to see latest development on this question.

Thanks
Naresh PatelFinancial Adviser

Commented:
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
Martin LissOlder than dirt
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial