+ Reply to Thread
Results 1 to 6 of 6

Monthly total values for date-sorted data

  1. #1
    Registered User
    Join Date
    06-17-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    3

    Question Monthly total values for date-sorted data

    Hi all,

    My excel sheet contains a set of date-marked expenditures. It's all one running list - no starting a new column for each month or anything like that.

    I'd like to include a separate column/sheet showing total expenditure for each month. I've tried multiple formulae, along the lines of "Sum the B cells but only those for which the corresponding A cell is in the right value range". Or in programming terms, "for i from 1 to infinity, if x < A(i) < y, add B(i) to sum." Would very much appreciate help on getting this done in Excel. Since other formulae on the sheet are independent of item ordering (don't require the data to be sorted chronologically), a plus would be if the solution can be, as well.

    A separate thing I'd like to do (which I'm guessing has a similar solution) is to include grand (running) totals by expenditure type. A separate column of (non-numerical) expenditure codes is next to the data.

    Many thanks in advance.

  2. #2
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Monthly total values for date-sorted data

    Have a sample workbook?

  3. #3
    Registered User
    Join Date
    06-17-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    3

    Re: Monthly total values for date-sorted data

    sample expenditures.xlsx

    Sure thing, here is the same workbook with names and items removed. Note how the D column includes only the items for which the date has already passed, despite dates being in a random order for person 1.
    I'd like to sort by month and by category for each person in the first summary page.

  4. #4
    Valued Forum Contributor
    Join Date
    11-02-2012
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    564

    Re: Monthly total values for date-sorted data

    See attached.
    Attached Files Attached Files

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,904

    Re: Monthly total values for date-sorted data

    see the attached file with indirect
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-17-2014
    Location
    London
    MS-Off Ver
    2013
    Posts
    3

    Re: Monthly total values for date-sorted data

    Thank you very much both of you!! Will have a look at your solutions and post again if I have any questions

+ 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. Replies: 1
    Last Post: 03-08-2013, 04:18 PM
  2. Replies: 5
    Last Post: 03-07-2013, 11:38 AM
  3. Attributing Monthly Total to Date Ranges
    By MikeMc79 in forum Excel General
    Replies: 3
    Last Post: 02-06-2012, 01:33 AM
  4. Summing values from different dates for monthly total
    By HP RodNuclear in forum Excel General
    Replies: 1
    Last Post: 01-21-2011, 11:32 AM
  5. running total by date (not sorted by date though...)
    By rainxking in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-15-2006, 09:01 PM

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