+ Reply to Thread
Results 1 to 3 of 3

Need formula to COUNTIF specific TEXT, for only visible cells

  1. #1
    Registered User
    Join Date
    11-13-2015
    Location
    WA
    MS-Off Ver
    MSO 2013
    Posts
    11

    Need formula to COUNTIF specific TEXT, for only visible cells

    My formula =COUNTIF(G6:G500,"*Yes*")

    Can someone help me find a formula that would count only the visible filtered cell? When filtered, I just want it to count the visible cells with text "Yes" . It would be great if SUBTOTAL formula could be combined, but I don't think that's possible.
    Last edited by Kirk3737; 01-12-2019 at 09:27 PM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2007, 2010
    Posts
    5,060

    Re: Need formula to COUNTIF specific TEXT, for only visible cells

    yeah, it's possible. it's explained in the file of my link below*Tips & Tutorials I Compiled, sheet 10
    something along:
    =SUMPRODUCT(SUBTOTAL(3,OFFSET(G6,ROW(G6:G500)-ROW(G6),))*(G6:G500="yes"))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    11-13-2015
    Location
    WA
    MS-Off Ver
    MSO 2013
    Posts
    11

    Re: Need formula to COUNTIF specific TEXT, for only visible cells

    Awesome! Works perfect. Thank you benishiryo

+ 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