Count value monthly

Yvonne Ng

Board Regular
Joined
Nov 5, 2013
Messages
67
Hi,
how do I calculate a Colomn of values in Coloumn B with respected of individual month (dd-mm--yy) in column A?


please advise.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Use =SUMIFS( formula with 2 conditions. One condition >= the first day of the required month and second condition < = the last day of the month.
 
Upvote 0
Maybe something like this?


Excel 2010
ABCDE
1DateSalesMay
21/3/201320521Sum of Sales58317
31/7/20136463
42/22/201316652
53/11/201321588
63/13/20139201
73/15/20137457
83/21/201315166
95/5/201321740
105/9/20139176
115/13/20137171
125/26/201320230
136/2/20139461
146/2/201310196
156/4/201315352
166/12/201324278
176/12/20139973
186/14/201311304
197/7/20135900
207/8/20136104
217/8/201319098
227/21/20136676
238/10/201310070
248/18/201321689
258/28/20139536
269/4/201313254
279/25/20139163
289/28/201323310
299/30/20137033
3010/7/201318173
3110/9/201324654
3210/13/20139278
3310/17/201317161
3410/26/20138314
SUMIF
Cell Formulas
RangeFormula
E2=SUMPRODUCT(--(TEXT(A2:A34,"mmmm")=E1),B2:B34)
 
Upvote 0
incase you use dates

=SUMPRODUCT(--($A$2:$A$34>=DATE(2013,5,1)),--($A$2:$A$34<=DATE(2013,5,31)),($B$2:$B$34))
 
Upvote 0
Hi,

Allow me to re-phase my question, I've this table shown as follows :
Group </SPAN>DATE</SPAN>Amount</SPAN>
Beta</SPAN>1-Jan-13</SPAN> $ 4.00 </SPAN>
Beta</SPAN>1-Feb-13</SPAN> $ 4.00 </SPAN>
Beta</SPAN>2-Jan-13</SPAN> $ 3.00 </SPAN>
Delta </SPAN>3-May-13</SPAN> $ 4.00 </SPAN>
Delta </SPAN>11-Jun-13</SPAN> $ 5.00 </SPAN>
Beta</SPAN>1-Jan-13</SPAN> $ 4.00 </SPAN>
Delta </SPAN>1-Feb-13</SPAN> $ 4.00 </SPAN>

<TBODY>
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>


I need a formular to shown the total amount in Jan cumulated under Beta group, and similiar to Delta group.

Please assist
 
Upvote 0
Try this.

=SUMPRODUCT(--($A$2:$A$8=E2),--(MONTH($B$2:$B$8)=F2),$C$2:$C$8)
A2:A8 is Group and similar other columns
E2 is either Beta or Delta as your input
In F2 enter 1 to 12 instead of jan to dec. then it will work.
 
Upvote 0
Hi,

Allow me to re-phase my question, I've this table shown as follows :
Group </SPAN>
DATE</SPAN>
Amount</SPAN>
Beta</SPAN>
1-Jan-13</SPAN>
$ 4.00 </SPAN>
Beta</SPAN>
1-Feb-13</SPAN>
$ 4.00 </SPAN>
Beta</SPAN>
2-Jan-13</SPAN>
$ 3.00 </SPAN>
Delta </SPAN>
3-May-13</SPAN>
$ 4.00 </SPAN>
Delta </SPAN>
11-Jun-13</SPAN>
$ 5.00 </SPAN>
Beta</SPAN>
1-Jan-13</SPAN>
$ 4.00 </SPAN>
Delta </SPAN>
1-Feb-13</SPAN>
$ 4.00 </SPAN>

<TBODY>
</TBODY>


I need a formular to shown the total amount in Jan cumulated under Beta group, and similiar to Delta group.

Please assist

Let A:C house the table.

E2: Beta
E3: Delta

F1: 1-Jan-13 (perhaps custom formatted as: Jan-13)

F2, copied down:

=SUMPRODUCT($C$2:$C$8,--($A$2:$A$8=$E2),--($B$2:$B$8-DAY($B$2:$B$8)+1=F$1-DAY(F$1)+1))
 
Upvote 0
Hi, date require as part of the input, thus the format if date has to be base on dd-mm-yy. And month is customize with character .
Please assist.


Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,981
Messages
6,122,566
Members
449,089
Latest member
Motoracer88

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