+ Reply to Thread
Results 1 to 4 of 4

CountIF with multiple sheets

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    North Carolina, United States
    MS-Off Ver
    Excel 2007
    Posts
    56

    CountIF with multiple sheets

    Is there a way to create a countif formula across multiple sheets? Hypothetically, I want to count each "B" in cell N6 for Sheet 1 through Sheet 50. Can this be written as a CountIF formula?

    Thanks for any help!

  2. #2
    Forum Guru Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    11,644

    Re: CountIF with multiple sheets

    SUMIF does not accept 3D references but you can use SUMPRODUCT like described here.
    SUMPRODUCT also works on closed wbks

  3. #3
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 2016
    Posts
    4,906

    Re: CountIF with multiple sheets

    I don't believe so... are you checking every sheet in the workbook, or are there only specific ones?
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 2016
    Posts
    4,906

    Re: CountIF with multiple sheets

    As Pepe said there's a trick with indirect and sumproduct. If you can make a list on a hidden sheet that has all the sheet names you need to check then you could replicate this formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    hidden is my hidden sheet, and the list was in A1 to A3, you'd want to modify that to where your list would be, say A1:A50 or something...

+ 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] COUNTIF across multiple sheets
    By lvl-48 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-29-2013, 03:57 PM
  2. Countif, Multiple Criteria, Multiple Sheets, Excel 2003
    By shyammankoo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-07-2013, 06:50 AM
  3. COUNTIF multiple sheets
    By Schalk in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-19-2011, 06:33 AM
  4. countif across multiple sheets.......
    By welchs101 in forum Excel General
    Replies: 1
    Last Post: 10-05-2010, 03:12 PM
  5. COUNTIF on Multiple sheets
    By wjsok85 in forum Excel General
    Replies: 5
    Last Post: 03-08-2009, 10:37 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