Sum a range of values depending on which month it is. (SUMIF?)

Darkzler

New Member
Joined
Sep 25, 2015
Messages
26
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

Got a new issue which I can't really get to work.

I have the following:

Dates in column A
Repaired items in column C
Damaged items in column D

I want a table that summarizes repaired and damaged items depending on which month it has been added.

For examples, ten entries in january, then I want a cell that contains the total of januaries damaged and repaired items.

I tried using SUMIF and an IF statement but failed. Anyone who can assist me?


DateBrokenRepairedDamaged
2015-10-01
162
2015-10-02273
2015-10-03394
2015-11-01485
2015-11-04515

<tbody>
</tbody>











Results in:

MonthTot RepairedTot Damaged
October
November

<tbody>
</tbody>
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

Excel 2010
ABCD
1DateBrokenRepairedDamaged
201/10/2015162
302/10/2015273
403/10/2015394
501/11/2015485
604/11/2015515
7
8
9
10
11
12
13
14
15MonthRepairedDamaged
16October229
17November910
Sheet1
Cell Formulas
RangeFormula
B16=SUMIFS(INDEX($B$2:$D$6,,MATCH(B$15,$B$1:$D$1,0)),$A$2:$A$6,">="&$A16,$A$2:$A$6,"<="&EOMONTH($A16,0))


The months in the Summary Table are actually the first day of the month formatted as "MMMM" e.g. 01/10/15 = October

Or use a pivot table.

Row Labes = "Date"
Values = "Broken column" & "Repaired column"

Group the dates my Month and year.


Excel 2010
ABCD
2
3Row LabelsSum of RepairedSum of Damaged
42015
5Oct229
6Nov910
7Grand Total3119
Sheet4
 
Upvote 0

Forum statistics

Threads
1,216,115
Messages
6,128,919
Members
449,478
Latest member
Davenil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top