+ Reply to Thread
Results 1 to 2 of 2

Summing values in named ranges based on dates, multiple sheets!

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    1

    Summing values in named ranges based on dates, multiple sheets!

    Hi guys, first post! I'll try to make it simple:

    I have 3 sheets; Sheet1, Sheet2, and Sheet3.

    Each sheet contains what is basically a bank account register. The named fields, on each sheet, are:

    Sheet1Dates (dates), Sheet1Cat (category), Sheet1In (money in), Sheet1Out (money out).

    On my 4th sheet, I would like to make a budget. For money spent, it should sum all the money spent in a certain category, for a certain month, for all accounts.

    I am able to do this currently, but it's messy. On my budget sheet, I can sum Sheet1, Sheet2, and Sheet3 separately, by month and category, like this:

    =SUMIFS(Sheet1Out,Sheet1Cat,$E17,Sheet1date,">=3/1/13",Sheet1Date,"<=3/31/13")

    In the above formula, $E17 is the name of the category. This works fine, but I have to sum each account, then take a total to get the final sum for that category across all accounts for that month.


    Is there a way to just use one column to sum all the sheets? Here is what I tried, but it returned #VALUE:

    =SUMIFS((Sheet1Out,Sheet2Out,Sheet3Out),(Sheet1Cat,Sheet2Cat,Sheet3Cat),$E17,(Sheet1Date,Sheet2Date,Sheet3Date),">=3/1/13",(Sheet1Date,Sheet2Date,Sheet3Date),"<=3/31/13")


    Any thoughts?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Summing values in named ranges based on dates, multiple sheets!

    hi and welcome to the forum

    i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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