+ Reply to Thread
Results 1 to 4 of 4

Counting occurrences without named sheets

  1. #1
    Registered User
    Join Date
    09-30-2018
    Location
    Texas
    MS-Off Ver
    2017
    Posts
    2

    Counting occurrences without named sheets

    I have a workbook that will have one static sheet and then sheets will get added and subtracted as times goes on; currently there are 3 of these.

    I'm trying to have it count the number of times it finds A2 across all sheets, range B14-D14.

    Currently, I have:
    =SUMPRODUCT(COUNTIF(INDIRECT("'"&sheets&"'!"B14:D14),A2))

    This doesn't work well, as I will have to keep manually adding and subtracting names to a sheet range.

    Is there a way it can just scan all sheets in the workbook (minus the one it is on) for B14-D14?

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Counting occurrences without named sheets

    i'd do it with helper cells and consolidation
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-30-2018
    Location
    Texas
    MS-Off Ver
    2017
    Posts
    2

    Re: Counting occurrences without named sheets

    I made a sheet "l" and "r" and put them on both ends of the range of sheets.

    I tried

    =SUM('l:r'!B14)

    It gave #NAME.

    B14 has number values in them.

    Is there not an easy way it can scan a specific cell across all sheets and sum it?

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Counting occurrences without named sheets

    Hello GroupThink and Welcome to Excel Forum.
    I might help if you could upload the workbook that you reference in post #3 so that we can attempt to determine why the formula didn't work.
    To upload a sample workbook (not a picture or pasted copy) click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window. Make sure there is enough data to demonstrate your need.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Count occurrences that contain one or more named range values
    By RelativeRisk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2018, 03:22 PM
  2. [SOLVED] Counting occurrences
    By coach.32 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-10-2018, 08:34 PM
  3. Counting occurrences not values.. Counting blocks of words in columns
    By Flydd in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 03-01-2016, 06:42 PM
  4. Counting Occurrences
    By RiaanDeysel in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-28-2015, 11:52 AM
  5. [SOLVED] counting occurrences
    By kri54sub in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-11-2013, 01:01 PM
  6. Counting occurrences
    By HaydenB in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-30-2010, 04:26 PM
  7. Counting occurrences over range of sheets
    By DailyRich in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2006, 06:55 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