+ Reply to Thread
Results 1 to 17 of 17

Summing month to date of values in multiple columns

  1. #1
    Registered User
    Join Date
    01-22-2013
    Location
    Bungoma, Kenya
    MS-Off Ver
    Excel 2010
    Posts
    24

    Summing month to date of values in multiple columns

    Hi all,

    I am trying to sum up the month to date of values in cells.

    I need to find a way to lookup current month date and sum values in multiple columns from the start of the fiscal(business cycle) year to current month of the year.

    So if the current month is July then the year to date value is the sum of values in say column b to column h from January to July 2013.

    The past year to date will be January to July 2013.

    I have attached an example to give a bit more of a guide.

    Any ideas?
    Attached Files Attached Files

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Summing month to date of values in multiple columns

    B3 down confirm Control+Shift+enter:
    =SUM(IF('Current year'!$B$1:$H$1<=$A$1,IF('Current year'!$A$2:$A$17=$A3,'Current year'!$B$2:$H$17)))
    D3 down confirm Control+Shift+enter:
    =SUM(IF('past year'!$B$1:$H$1<=$A$2,IF('past year'!$A$2:$A$17=$A3,'past year'!$B$2:$H$17)))
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Summing month to date of values in multiple columns

    Hi,
    welcome to the forum.

    Plz see the attachment for your desired result. In analysis sheet only change the month as desired in a1, rest will be calculated automatically.
    Attached Files Attached Files
    Rgd
    RT
    If my answer(s) helped you, please add me reputation by click on *

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Summing month to date of values in multiple columns

    In Row 3

    Current year:
    =SUM(INDEX('Current year'!$B$2:$B$17,MATCH($A3,'Current year'!$A$2:$A$17,0),0):INDEX('Current year'!$B$2:$H$17,MATCH($A3,'Current year'!$A$2:$A$17,0),MATCH($A$1,'Current year'!$B$1:$H$1,0)))

    Past year:
    =SUM(INDEX('past year'!$B$2:$B$17,MATCH($A3,'past year'!$A$2:$A$17,0),0):INDEX('past year'!$B$2:$H$17,MATCH($A3,'past year'!$A$2:$A$17,0),MATCH($A$2,'past year'!$B$1:$H$1,0)))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    01-22-2013
    Location
    Bungoma, Kenya
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Summing month to date of values in multiple columns

    Hey Rob,

    I have tried your formula but I am getting wrong summations.

    let me add that the past year data is in a different tab ( monthly trial balance) so it needs to look up the relevant rows and expenses.

  6. #6
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Summing month to date of values in multiple columns

    @Ace_EL

    Great formula BUT there's a problem when working on February because 'past year' cell C1 shows 29/02/2012, whereas Analysis A2 is revealing 28/02/2012 (UK formatting) so when MATCH($A$2,'past year'!$B$1:$H$1,0) is looking for an exact match it is not there! Changing to MATCH($A$2,'past year'!$B$1:$H$1,1) helps but not sure how this effects the rest of the formula?

    Cheers,

  7. #7
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Here and there
    MS-Off Ver
    Excel 2010
    Posts
    376

    Re: Summing month to date of values in multiple columns

    @Ace_EL

    Sorry I should have picked this up but changing the MATCH as stated actually causes it to find Jan-2012 - so my suggested change was rubbish!! It appears your formula works fine if Past Year, Feb 2012 is changed to 28/02/2012 and not read 29/02/2012 - trust that is understandable!

  8. #8
    Registered User
    Join Date
    01-22-2013
    Location
    Bungoma, Kenya
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Summing month to date of values in multiple columns

    Hey people,

    the formula is not adding up the correct sum of months in the rows.
    I have a monthly trial balance ( past year) and it needs to look up the corresponding expense/revenue in column A before summing up the correct year to date value .
    Say "bank charges" or "insurance", could it locate insurance in the past year "monthly trial balance" tab- Column A and sum up the year to date value?

  9. #9
    Registered User
    Join Date
    01-22-2013
    Location
    Bungoma, Kenya
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Summing month to date of values in multiple columns

    Hey people,

    the formula is not adding up the correct sum of months in the rows.
    I have a monthly trial balance ( past year) and it needs to look up the corresponding expense/revenue in column A before summing up the correct year to date value .
    Say "bank charges" or "insurance", could it locate insurance in the past year "monthly trial balance" tab- Column A and sum up the year to date value?

  10. #10
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Summing month to date of values in multiple columns

    You have been given few solutions.
    If they still do not work ,can you state your expected outcome?

  11. #11
    Registered User
    Join Date
    01-22-2013
    Location
    Bungoma, Kenya
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Summing month to date of values in multiple columns

    Hey Robert,

    say the past year monthly trial balance I have posted also contains balance sheet accounts.

    I would need the formulae to look up the right accounts against the analysis tab and add up the correct year to date value
    Attached Files Attached Files

  12. #12
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Summing month to date of values in multiple columns

    I would repeat:
    Please enter the required outcome;
    The only diference I see is are the bold cells..

  13. #13
    Registered User
    Join Date
    01-22-2013
    Location
    Bungoma, Kenya
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Summing month to date of values in multiple columns

    Hey Rob,

    I have resubmitted the worksheet and indicated what it is not calculating correctly and my desired output. The problem is that the formula is adding up the asset accounts sequentially instead of looking up the correct accounts in the analysis ( column A).
    I have highlighted the incorrect year to date values caused by this. I apologize for not stating the problem precisely.
    Attached Files Attached Files

  14. #14
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Summing month to date of values in multiple columns

    mgmt%20anlysis(1).xlsx

    Please see blue column.
    Is this what you after?

  15. #15
    Registered User
    Join Date
    01-22-2013
    Location
    Bungoma, Kenya
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Summing month to date of values in multiple columns

    Hey Rob!

    Am at a loss for words!This is it! Great! Thank you for the time and tech help.

  16. #16
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Summing month to date of values in multiple columns

    You are welcome.

  17. #17
    Forum Contributor rajeshturaha's Avatar
    Join Date
    08-22-2012
    Location
    Assam, India
    MS-Off Ver
    Excel 2003, 2007
    Posts
    236

    Re: Summing month to date of values in multiple columns

    Replacing formula in Col c

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and in Col D

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Might give you your desired result

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Summing cumulative daily values for each month then resetting next month
    By JaredZ in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-21-2012, 06:04 AM
  2. Summing multiple values if various columns conform
    By Andy4Fingers in forum Excel General
    Replies: 3
    Last Post: 07-23-2009, 07:55 AM
  3. Summing Various columns for month end
    By GKC Man in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-02-2007, 09:44 PM
  4. Summing Values In Current Month Only
    By qflyer in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 09-06-2005, 12:05 PM
  5. Summing Corresponding Values in Multiple Columns
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-28-2005, 11:06 AM

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