+ Reply to Thread
Results 1 to 10 of 10

Summing expenses between worksheets

  1. #1
    Registered User
    Join Date
    10-25-2018
    Location
    Prairie Village, Kansas
    MS-Off Ver
    MS Excel for Mac, Version 16.16.3
    Posts
    5

    Summing expenses between worksheets

    My spreadsheet is called “Monthly Expenses.”

    The first worksheet (tab) is Expense Summary. Expense categories are listed in Column A. Columns B through M are the months. Each cell contains the total monthly expenses for each household expense category.

    The second worksheet is Expense Journal. The relevant columns are, in order, Date, Category, Amount. I enter each expense in the journal every month. I then sum each amount in the appropriate category for each month and then manually enter that amount in the corresponding cell in the Expense Summary.

    I’m not sure if it’s important to know this, but the dates in the Journal are written in Excel date format, but the category names are just written as text.

    I would like to write a formula in each cell in the Expense Summary wherein the amounts I enter in an ongoing basis in the Expense Journal are automatically summed in the correct cell in the Summary.

    I would prefer not to use a pivot table to do this.

    Any help is much appreciated!

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Summing expenses between worksheets

    Welcome to the forum.

    This should be possible with SUMIFS or similar, but it will be much easier if you could attach a sample workbook.
    Make sure there is enough data to demonstrate your need but not so much that the file is too big (if you have 10,000 rows of data, you don't need to leave them all in, for example). Include before and after sheets in the workbook if needed to show the process you're trying to complete or automate. Make sure you include the answers you want to get - put examples in, with notes if necessary to explain details.
    Remember to remove any confidential information or, if a cell needs data in it to work, overwrite it with made-up data.
    The paperclip icon doesn't work at the moment, so click on Go Advanced under the reply box and then scroll down to Manage Attachments to attach a file.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    10-25-2018
    Location
    Prairie Village, Kansas
    MS-Off Ver
    MS Excel for Mac, Version 16.16.3
    Posts
    5

    Re: Summing expenses between worksheets

    Thank you, Aardigspook. I am attaching a sample workbook. I hope it's clear. I have included some explanatory text in a text box on the "After" Expense Summary worksheet.

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Summing expenses between worksheets

    You can use a pivot table as in the attached to create your summary.

  5. #5
    Registered User
    Join Date
    10-25-2018
    Location
    Prairie Village, Kansas
    MS-Off Ver
    MS Excel for Mac, Version 16.16.3
    Posts
    5

    Re: Summing expenses between worksheets

    Thanks, kersplash.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,444

    Re: Summing expenses between worksheets

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    10-25-2018
    Location
    Prairie Village, Kansas
    MS-Off Ver
    MS Excel for Mac, Version 16.16.3
    Posts
    5

    Re: Summing expenses between worksheets

    Thanks, AliGW. As I said in my original post, I'd prefer to use a formula and not a pivot table, as suggested by kersplash. I am waiting for a reply from Aardigspook, or anyone else who can help, after they have reviewed the sample spreadsheet I had uploaded.

  8. #8
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Summing expenses between worksheets

    Here are a few options.

    For all options
    I've used a range of 2:300 for your expenses data in the formulae below (e.g. 'Expense Journal'!$C$2:$C$300). You should change this to as large a number as you think you'll need - the formula won't slow down appreciably even if you make it 2:10000.
    Alternatively you could change the data to an Excel Table, which 'self-expands'. How to do that is easy to find with a quick web-search, if you don't know already.

    Option 1
    This doesn't change anything in your expenses summary except putting formulae in. Put this in B2 and drag down/across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Option 2
    1. First, put this in B1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This makes B1 the 1st of Jan of the year in A1 - it relies on the last four characters in A1 being the year.

    2. Then put this in C1 and drag along to M1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This gives a date for each month in subsequent cells along the row.

    3. Format B1:M1 with custom format mmm.
    (You could do this before steps 1 & 2 if you want.)

    4. Now put this in B2, drag down and across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The slight advantage of this method over Option 1 is that it's comparing dates with dates instead of dates with text - but other than that, it's the same and probably not worth the hassle.

    Option 3
    1. Do the same as for Option 2 in cells B1 and C1:M1, including formatting as mmm.
    2. Now put this in B2, drag down and across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The advantage of this is that you can continue your Expenses Journal into subsequent years without having to change the range of the formula. If you copy the sheet then the only thing you'll need to change for 2019 is cell A1. Alternatively you could copy the table to below the 2018 table; you'd then have two things to change: the cell with the year and the two references to B$1, which would have to be changed to the correct row.


    I've attached a file with all three options working. There is a fourth option of adding helper columns to the original data to calculate the month/year there, which would make the formulae shorter, but wouldn't add any extra functionality to them. They would make it easier to construct a pivot table, but you said you didn't want to use that.

    Hope that helps - and isn't too confusing!

  9. #9
    Registered User
    Join Date
    10-25-2018
    Location
    Prairie Village, Kansas
    MS-Off Ver
    MS Excel for Mac, Version 16.16.3
    Posts
    5

    Re: Summing expenses between worksheets

    Thank you so much, Aardigspook. This is brilliant! And thanks for all the work you put into this, or at least it looks like a lot of work to me. So glad I found excelforum.

  10. #10
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Summing expenses between worksheets

    You're welcome. Glad we could be of help and thanks for marking the thread as Solved. We look forward to seeing you again.

+ 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 between worksheets
    By pongmeister in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-18-2016, 04:36 PM
  2. Replies: 2
    Last Post: 07-01-2014, 02:11 PM
  3. [SOLVED] Summing across many worksheets
    By John Blissett in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-13-2013, 02:12 AM
  4. Summing across worksheets
    By JJanssen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2008, 06:04 PM
  5. Summing expenses based on month & Vlookup
    By antonc in forum Excel General
    Replies: 8
    Last Post: 06-05-2008, 03:41 AM
  6. Summing across several worksheets
    By Al in forum Excel General
    Replies: 5
    Last Post: 03-16-2006, 09:10 AM
  7. Summing Expenses Accumulated to a Specified Month
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-28-2005, 11:11 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