+ Reply to Thread
Results 1 to 2 of 2

Only Add Values If Tab is Visible

  1. #1
    Registered User
    Join Date
    12-07-2012
    Location
    london england
    MS-Off Ver
    Excel 2010
    Posts
    21

    Only Add Values If Tab is Visible

    Hi everyone!

    im after a little help with a formula

    The current formula I use which works is as follows

    =IFERROR(SUMPRODUCT(SUMIF(INDIRECT("'"&$Q$14:$Q$19&"'!$d$27:$d$300"),G737,INDIRECT("'"&$Q$14:$Q$19&"'!$E$27:$E$300"))),"")

    Im in directing tab references which are numbers, it calculates all items across all pages that reference the indirect of G737

    I want to hide tabs which I deep hide, but the formulas is still adding the values of items that are deep hidden.

    I need to be able to add a subtotal 109 so it only adds the values if the sheet is visible.

    Can anyone help with this please?

    Much appreciated all!!

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Only Add Values If Tab is Visible

    I am not aware of any formula which will allow hidden sheets to be excluded from a calculation. You will need VBA to do this and you "deep hide" your sheets using VBA anyway (?)
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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] Sumif (only visible values)
    By Median in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-24-2018, 01:16 PM
  2. [SOLVED] Copy only visible values.
    By sanju2323 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-24-2015, 01:17 AM
  3. [SOLVED] Populate PivotTable with PivotField Values; ONLY Visible Values
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2014, 12:41 PM
  4. [SOLVED] how to keep these values visible
    By zazzz in forum Excel General
    Replies: 6
    Last Post: 06-26-2014, 08:16 PM
  5. Compare one value to visible column values
    By akira1985 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-09-2013, 01:36 AM
  6. [SOLVED] Copy/Pasting Values from visible cells (using autofilter) to visible cells
    By evakotsi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2012, 07:49 AM
  7. Copy Visible cells and paste values only to visible target cells
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2010, 04:09 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