+ Reply to Thread
Results 1 to 10 of 10

Monthly sum

  1. #1
    Forum Contributor
    Join Date
    04-09-2005
    Location
    Multan. Pakistan
    Posts
    129

    Question Monthly sum

    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.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Monthly sum

    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.

  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Monthly sum

    Good morning Syed Haider Ali
    Quote Originally Posted by Syed Haider Ali View Post
    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
    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.

  4. #4
    Forum Contributor
    Join Date
    04-09-2005
    Location
    Multan. Pakistan
    Posts
    129

    Question Re: Monthly sum

    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
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    11-24-2008
    Location
    Delhi
    Posts
    104

    Re: Monthly sum

    Quote Originally Posted by Syed Haider Ali View Post
    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
    Try this

    and Revert Back for Clarification
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-09-2009
    Location
    UAE
    MS-Off Ver
    Excel 2013
    Posts
    20

    Re: Monthly sum

    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.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    11-24-2008
    Location
    Delhi
    Posts
    104

    Re: Monthly sum

    Quote Originally Posted by hardeep.kanwar View Post
    Try this

    and Revert Back for Clarification
    Sorry May This
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    04-09-2005
    Location
    Multan. Pakistan
    Posts
    129

    Re: Monthly sum

    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

  9. #9
    Registered User
    Join Date
    10-21-2005
    Posts
    18

    Re: Monthly sum

    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))

  10. #10
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Monthly sum

    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1