+ Reply to Thread
Results 1 to 4 of 4

Count formula not count hidden cells in table

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Count formula not count hidden cells in table

    Hello,

    I have a table which I often use the filter.
    I have a COUNTIF formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    counting the amount of time a specific word is listed in the table. Lets say theres currently 5 "Apples" listed so my COUNTIF formula displays 5.

    i want the COUNTIF formula to work based on how many are displayed. so if i use the filter and only 2 "Apples" are on display, I would like my COUNTIF formula to show 2.

    Thanks

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Count formula not count hidden cells in table

    Hi,

    =SUMPRODUCT((SUBTOTAL(3,OFFSET($E$2,ROW(E2:E17)-MIN(ROW(E2:E17)),,,))*(E2:E17="Apple")))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Contributor
    Join Date
    03-20-2013
    Location
    London, England
    MS-Off Ver
    Excel 2011
    Posts
    474

    Re: Count formula not count hidden cells in table

    works great. thank you

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Count formula not count hidden cells in table

    You're welcome.

+ 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] Formula needed to only count total cells entered and not count adjacent text entered cells
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-07-2013, 06:22 PM
  2. Count cells in table formula
    By simbalyon303 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2012, 09:14 AM
  3. Changing a Formula so it Won't Count Hidden Cells
    By ExcelDumDum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2012, 02:53 PM
  4. Replies: 0
    Last Post: 09-27-2006, 02:05 PM
  5. [SOLVED] Count with Hidden cells
    By Stretch in forum Excel General
    Replies: 5
    Last Post: 07-09-2005, 07:05 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