hi,
I have a two column A and B at Sheet1. Col A is a Date wise column and Col B is of the Values. I need formula for getting sum monthwise in sheet2. i.e the sum of jan, feb, mar etc
Thanks
Syed Haider Ali
hi,
I have a two column A and B at Sheet1. Col A is a Date wise column and Col B is of the Values. I need formula for getting sum monthwise in sheet2. i.e the sum of jan, feb, mar etc
Thanks
Syed Haider Ali
Last edited by Syed Haider Ali; 06-10-2009 at 08:58 AM.
Two obvious choices:
1 - Use a Pivot Table (grouping Dates by Month (&Year))
2 - Use SUMIF function
In either case - post a sample file if you need more help as it helps us ascertain your desired layout of results.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Good morning Syed Haider Ali
Use this formula to get one monthly total at a time :
=SUMPRODUCT(--(MONTH(A1:A100)=8),(B1:B100))
This formula will return August's total (ie month 8)
Or you could use a helper column, with a formula like this is column C :
=TEXT(A34,"mmm")
The use Data > Subtotals and subtotal by column C, adding column B
Or you could use a pivot table (Data > Pivot table & pivot chart reports).
HTH
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
I have attached the sheet, where in sheet "bank_balance" shows a daily markup of the bank, At sheet "Summary" I would like to get automatic sum of markup from sheet "bank_Balance" col H.
Thanks
Syed Haider Ali
Please see the solution, I add one column in the end of sheet2, and if possible, you can set two columns in the end of sheet, one is for month, the other for year.
Hope this can help.
Thanks all of guys
It is solved with your cooperation. But how can it be handle by using sumproduct formula as described by Mr.Dominicb
Syed Haider Ali
I am looking to do the same thing and the formula works for every month except January. Am I doing something wrong? My formula is:
=SUMPRODUCT(--(MONTH('2009 Tickets'!$B$11:$B$5000)=1),('2009 Tickets'!C$11:C$5000))
Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks