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.
 
Hi, Thank you for yr reply.
As per yr post, you've mention that :
1-Jan-13 (perhaps custom formatted as: Jan-13)
But because of the requirement, I need the date to be include as part of the data too instead of consist of only month and year. ��
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try this.

Jan1
Feb2
Mar3
Apr4
May5
Jun6
Jul7
Aug8
Sep9
Oct10
Nov11
Dec12

<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>

=SUMPRODUCT(--($A$2:$A$8=E2),--(MONTH($B$2:$B$8)
=VLOOKUP(F2,$K$1:$L$12,2,0)),$C$2:$C$8)
 
Upvote 0
Upvote 0
Yes, the table shown exacts what I need.
do i have to include the date shown in F1 or i can actually just indicate the month, such as jan, feb, etc thought my data given in coloum b is with date-month-year
?
 
Last edited:
Upvote 0
i need look up on monthly basis.
example
in jan, beta total amount
delta total amount
in feb, beta total amount
delta total amount
etc..
 
Upvote 0
can the formular works on different worksheet? as i try to input into another worrksheet, but the total amount given is 0.
 
Upvote 0
i need look up on monthly basis.
example
in jan, beta total amount
delta total amount
in feb, beta total amount
delta total amount
etc..

MonthNo. Rep.BetaDeltaGroupDATEAmount
Jan1110Beta01.Jan.2013$4.00
Feb244Beta01.Feb.2013$4.00
Mar300Beta02.Jan.2013$3.00
Apr400Delta03.May.2013$4.00
May504Delta11.Jun.2013$5.00
Jun605Beta01.Jan.2013$4.00
Jul700Delta01.Feb.2013$4.00
Aug800
Sep900
Oct1000
Nov1100
Dec1200

<colgroup><col span="6"><col><col></colgroup><tbody>
</tbody>

MY DATA IS STARTING FROM A1:

IN CELL WHICH HAS ANSWER 11(ONE CELL BELOW BETA) I HAVE FORMULA=SUMPRODUCT(--($F$2:$F$8=$C$1),--(MONTH($G$2:$G$8)=$B2),$H$2:$H$8)
IN CELL WHICH HAS ANSWER 0(ONE CELL BELOW DELTA)=SUMPRODUCT(--($F$2:$F$8=$D$1),--(MONTH($G$2:$G$8)=$B2),$H$2:$H$8)

BOTH FORMULA COPIED DOWN.
 
Upvote 0

Forum statistics

Threads
1,217,391
Messages
6,136,323
Members
450,005
Latest member
BigPaws

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