+ Reply to Thread
Results 1 to 10 of 10

Count Cells on different sheets

  1. #1
    Forum Contributor
    Join Date
    09-24-2009
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    129

    Count Cells on different sheets

    I need to count cells on 3 different worksheets within 1 workbook which contain certain criteria. is it possible to do this with a countif formula?
    Last edited by keith6292; 10-21-2009 at 04:53 PM.

  2. #2
    Valued Forum Contributor jj72uk's Avatar
    Join Date
    03-22-2008
    Location
    Essex, England
    MS-Off Ver
    Work - Office 2000, Home - Office 2007E
    Posts
    360

    Re: Count Cells on different sheets

    Yes...

    =COUNTIF(Sheet2!A1:A13, "*")

    Where * is what you are to count and the range has SHEET NAME! before hand..

  3. #3
    Forum Contributor
    Join Date
    12-02-2008
    Location
    India
    Posts
    118

    Re: Count Cells on different sheets

    Hey!

    Maybe something like this:

    =SUM(COUNTIF(A1:A17,">10"),COUNTIF(Sheet2!A1:A15,">10"))

    Hope it gives u some start...

    Regards
    Mohit

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Count Cells on different sheets

    As Mohit has illustrated you will need to combine three COUNTIF functions, if you have a limited & fixed number of sheets to deal with then this should be the approach you adopt... unfortunately you can not conduct 3D COUNTIF, ie COUNTIF(Sheet1:Sheet3!A1:A10,">0") won't work.... "clever" formulae in this instance are volatile & expensive, simplicity is best.

  5. #5
    Forum Contributor
    Join Date
    09-24-2009
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    129

    Re: Count Cells on different sheets

    I Cant seem to figure it out. here is an example of what i wanna do. Look at FIWP sheet.

    EXAMPLE.xls

  6. #6
    Forum Contributor
    Join Date
    12-02-2008
    Location
    India
    Posts
    118

    Re: Count Cells on different sheets

    Umm..
    I didnt get ur requirement exactly but if ur looking to just count B3 in FIWP columns in sheet 250,260,270 then it should be something like this...

    =Sum(Countif(250!C6:C2500,$B3),Countif(260!C6:C2500,$B3),Countif(270!C6:C2500,$B3))

    Regards
    Mohit

  7. #7
    Valued Forum Contributor jj72uk's Avatar
    Join Date
    03-22-2008
    Location
    Essex, England
    MS-Off Ver
    Work - Office 2000, Home - Office 2007E
    Posts
    360

    Re: Count Cells on different sheets

    How about

    =COUNTIF('250'!C:C,B3)+COUNTIF('260'!C:C,B3)+COUNTIF('270'!C:C,B3)

  8. #8
    Registered User
    Join Date
    07-30-2016
    Location
    India
    MS-Off Ver
    2007
    Posts
    1

    Re: Count Cells on different sheets

    1. You write sheet names in A20 to A27 cells
    2. F2:F5 are the fields in every sheet to be counted
    3. C2 is the criteria


    =SUMPRODUCT(COUNTIF(INDIRECT(""&A20:A27&"!F2:F5"),C2))


    Now if you need to count 1 cell in every sheet and keep total in main sheet
    for each entry then use

    =SUMPRODUCT(COUNTIF(INDIRECT(""&BA$201:BA$231&"!"&CELL("address",O5)),"y"))
    Now
    - BA201 to BA231 is where you have put sheet names
    - O5 is the cell in every sheet you want to count if result is y (y is not case sensitive)
    - Used &CELL("address",O5)so that when you drag it down then it will check for O6 and like wise

    Note : If you simply put O5 and expect it to change then it will not change

  9. #9
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: Count Cells on different sheets

    gamit,

    You responded to a post 7 years old.

  10. #10
    Registered User
    Join Date
    05-22-2017
    Location
    India
    MS-Off Ver
    2016
    Posts
    1

    Re: Count Cells on different sheets

    Still more usefull than all other solutions here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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