+ Reply to Thread
Results 1 to 4 of 4

Using CountA to count cells of a certain color

  1. #1
    Registered User
    Join Date
    02-16-2012
    Location
    Atlanta, Georgia, USA
    MS-Off Ver
    Excel 2007
    Posts
    3

    Using CountA to count cells of a certain color

    Does CountA have an argument that will return the number of nonblank cells in a range with a specific color?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Using CountA to count cells of a certain color

    You'd have to use VBA, see Chip Pearson's approach here
    Audere est facere

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,714

    Re: Using CountA to count cells of a certain color

    The short answer is No, it doesn't.

    Hope this helps.

    Pete

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Using CountA to count cells of a certain color

    Hi Richard,

    To count the non-blank cells, CountA will not help and you need to rely upon countblank function But as you are looking to count the specific color, you need to depend on VBA. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ 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