+ Reply to Thread
Results 1 to 3 of 3

Countblank in filtered list

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

    Countblank in filtered list

    is there a way i can count blank cells in a filtered list?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Countblank in filtered list

    You can check the difference between a Subtotal/COUNTA of the column you filtered and the column you're checking for blanks.

    =SUBTOTAL(103, $A$3:$A$12) - SUBTOTAL(103, $B$3:$B$12)
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-27-2013
    Location
    UAE
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Countblank in filtered list

    1st & Best method (from the previous commentator-admin)

    =subtotal(103, $a$3:$a$12) - subtotal(103, $b$3:$b$12)

    or

    2nd method (my method)

    =sumproduct(subtotal(3,offset(a3:a12,row(a3:a12)-min(row(a3:a12)),,1)),--(a3:a12<>""))-(sumproduct(subtotal(3,offset(b3:b12,row(b3:b12)-min(row(b3:b12)),,1)),--(b3:b12<>"")))

    In both method, Column A should not have any blank cells..

    (But I am still not satisfied with this methods of using another column to aid this calculation...) I am waiting for some better answer...
    Last edited by sajumgeorge; 05-28-2013 at 02:01 AM.

+ 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