+ Reply to Thread
Results 1 to 3 of 3

Count cells that have specific font color

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-27-2012
    Location
    New Brunswick, Canada
    MS-Off Ver
    Excel 2016
    Posts
    328

    Count cells that have specific font color

    I have a list of my music. I colored the font for the songs I have as RED and the songs I want, I left as default BLACK. Is there a way to Count the number for each color? I know how to filter by color, I was just hoping there was an easy way to count them.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Count cells that have specific font color

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Contributor
    Join Date
    05-27-2012
    Location
    New Brunswick, Canada
    MS-Off Ver
    Excel 2016
    Posts
    328

    Re: Count cells that have specific font color

    Yes I actually found two solutions. One is the =SUBTOTAL(103,A2:A76) function, which will count each cell that is in the range once you filter. So all I do is filter by color and then it gives me the total.

    The 2nd is found from http://www.cpearson.com/excel/colors.aspx, which I will certainly not take credit for! You simply add the .bas file (which is downlable from that site) and it gives you a number of functions that do exactly what I want as well. I use both methods for different sheets I have.

+ 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