+ Reply to Thread
Results 1 to 4 of 4

Detect an instance across worksheets

  1. #1
    Registered User
    Join Date
    03-19-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    34

    Detect an instance across worksheets

    I have 75 worksheets. The worksheets are listed in a column named "TABS" on a hidden sheet. For each worksheet, cell E10 could have a "y" or a "y1" or a "y2". How do I count the number of instances between 75 worksheets? This is what I've be trying, no luck!


    =SUMPRODUCT(COUNTIF(INDIRECT("'"&TABS&"'!E10"),"=y1"))

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Detect an instance across worksheets

    Although you don't need the equal sign, "y1", your formula is syntactically correct.

    What result are you getting?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    03-19-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    34

    Re: Detect an instance across worksheets

    Solved! Thanks

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Detect an instance across worksheets

    Good deal. Thanks for the feedback!

+ 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. Locating 2nd to Nth Instance bwtween 2 worksheets
    By kirbychos in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-26-2015, 08:10 PM
  2. Replies: 3
    Last Post: 07-15-2014, 09:50 AM
  3. Replies: 8
    Last Post: 04-25-2012, 01:05 PM
  4. Detect if InputBox password already entered in same instance
    By RedWing in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-17-2011, 01:54 PM
  5. How to detect data ranges, and move data between worksheets
    By oOarthurOo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2009, 02:56 PM
  6. [SOLVED] How do I detect hidden worksheets or hidden data on a worksheet?
    By Alice in forum Excel General
    Replies: 3
    Last Post: 08-08-2006, 08:10 AM
  7. How to find a running Excel instance and access the worksheets in it.
    By Gary Luo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2006, 01:10 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