+ Reply to Thread
Results 1 to 8 of 8

Formula help with multiple tabs

  1. #1
    Registered User
    Join Date
    10-09-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Formula help with multiple tabs

    Hi. New to forum. My spreadsheet has multiple tabs for different departments, say Departments 1-4. On a seperate tab I'll call "Summary" I want to be able to sum revenue from departments I select. In other words, if I want to see only department 1, then I could choose department 1 (say from a drop down box) and see the result. If I'd rather see how Departments 1 and 3 combine, then I want to be able to select departments 1 and 3 and see the result (multiple drop down boxes?). I want to select departments in any combination to see their results. So my questions are:

    1) How do I set up the selection criteria? Multiple drop down boxes with Departments 1-4?
    2) What formula do I use to sum the cells from different sheets based on my selection criteria?

    I've attached a sample workbook to (hopefully) illustrate. Thanks in advance!!
    Scott
    Attached Files Attached Files

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Formula help with multiple tabs

    Would this be usefull?
    Added an autofilter to the summary table along with some formulas to collect the data from the other sheets.
    Attached Files Attached Files
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Registered User
    Join Date
    10-09-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Formula help with multiple tabs

    Thanks. Unfortunately, the Total (row 15) doesnt' change when you select/deselect departments. The filter displays/hides the departments I want, but again, the total still sums all rows, regardless if they're hidden(selected) in the filter. Other thoughts?

  4. #4
    Registered User
    Join Date
    10-09-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Formula help with multiple tabs

    Also, I want to be able to pull more than one metric (Revenue in my simple sample worksheet). For instance, I'll want to pull Revenue, Expenses, Net Income for the departments I select. I'm not sure using the filter as suggested would permit me do to so, unless I have multiple filters for each metric (not!).

  5. #5
    Registered User
    Join Date
    10-03-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003
    Posts
    67

    Re: Formula help with multiple tabs

    Hi, It looks like them row should be expanded wider to show the full number.

  6. #6
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Formula help with multiple tabs

    Changed the formula to only sum the visible rows.
    Must think about your other requirements.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-09-2013
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Formula help with multiple tabs

    Yes, the subtotal function with the filter works great for pulling one metric. Thanks! What I really need is to be able to select which department I want one time, then have it pull and sum several metrics (e.g. revenue, expenses, net income). I've uploaded the sample.xls with these updates. Thanks for your help!
    Attached Files Attached Files

  8. #8
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Formula help with multiple tabs

    Here's a possible solution. Not very fancy, but functional. Of course the looks can be improved, but soon enough you would need to introduce some vba. Not sure you should want that.
    Attached Files Attached Files

+ 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. Need Help Creating VLOOKUP Formula for Multiple Tabs
    By katybailey in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-08-2013, 03:04 PM
  2. Help with a formula referencing multiple tabs
    By CIP in forum Excel General
    Replies: 3
    Last Post: 09-08-2009, 10:11 AM
  3. Array formula help across multiple tabs
    By Fatnslow in forum Excel General
    Replies: 6
    Last Post: 04-06-2009, 01:34 AM
  4. Recursive Formula for Multiple Tabs
    By zeph2323 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-27-2008, 10:48 AM
  5. Dragging a formula referencing multiple tabs
    By gvb in forum Excel General
    Replies: 0
    Last Post: 03-05-2008, 02:21 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