Calculation by Months

akber.431

New Member
Joined
Jun 1, 2011
Messages
42
Hi,

I have the receipt voucher details like Date,RV#,Amount,

i just to want to calculate the sum of Month, with the sum if or any other can anyone guide me how i can do that.

for eg,
01-04-2011 00001 12000
02-04-2011 00002 15000
03-04-2011 00003 17000
04-05-2011 00004 12000
05-05-2011 00005 10000
01-06-2011 00007 12000


formula Required for the following months

April(Collected AMount)
May(Collected AMount)
June(Collected AMount)
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Let E2 house 1-Apr-11, formatted as mmmm to display April.

If on Excel 2007 or later...

=SUMIFS(C2:C7,A2:A7,">="&E2,A2:A7,"<="&EOMONTH(E2,0))

Otherwise:

=SUMIF(A2:A7,">="&E2,C2:C7)-SUMIF(A2:A7,">"&EDATE(E2,1))

The latter requires that the Analysis Toolpak add-in must be active on versions prior to 2007.
 
Upvote 0
Sorry,
its not working the and what is E2

E2 is the cell which hold the month criterion in the form of a month/year date, expressed as a first day date:

E2: 1-Apr-11
E3: 1-May-11

etc.

You are expected to enter the formula in F2 and copy it down.
 
Upvote 0
Here is another approach, it seems to be working :)


Excel Workbook
ABCDEF
19DateRV#AmountMonth of interestTotal for the month
201/4/201100000112000Jan39000
211/31/201100000215000Mar17000
223/4/201100000317000Apr12000
234/5/201100000412000May10000
245/5/201100000510000
251/6/201100000712000
Sheet6
 
Upvote 0
Do not know if your response is toward my solution or not but in general :

if you are referring to {...} . this a symbol or indication for ARRAY type formula.
instead of confirming the formula with enter, you need to confirm it with Ctrl Shift Enter at the same time.
 
Upvote 0
Thanks dear,


but i when i select the month its coming repeat along with cell
for eg.

May 118513
May 118513
May 118513
May 118513
May 118513
May 118513
May 118513
May 118513
May 118513
May 118513
May 118513
May 118513
i just want to keep one cell for each month
 
Upvote 0
Hope this clear things up a bit...


Excel Workbook
ABCDEFG
1DateRV#AmountMonth of interestTotal for the month
21/4/201100000112000JAN39000
31/31/201100000215000Feb0No data for Feb
43/4/201100000317000Mar55149
54/5/201100000412000Apr51144
65/5/201100000510000May36860
71/6/201100000712000Jun13341
88/30/201100000714218Jul12893
912/9/201100000714767Aug14218
105/21/201100000714844Sep0No data for Sep
114/6/201100000712078Oct26036
1211/3/201100000714790Nov14790
1312/24/201100000713191Dec68473
144/28/201100000713242Jan39000
1510/6/201100000712505Feb0No data for Feb
163/11/201100000712074Mar55149
1712/17/201100000712785
185/28/201100000712016Or use data validation:
197/19/201100000712893and copy the validation down
206/3/201100000713341MonthTotal for the month
2110/3/201100000713531Feb0
2212/29/201100000713068Mar55149
234/1/201100000713824May36860
243/29/201100000712923Aug14218
2512/24/201100000714662
263/18/201100000713152
Sheet11
#VALUE!
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,315
Members
452,634
Latest member
cpostell

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