+ Reply to Thread
Results 1 to 5 of 5

Need to count cells by color fill.

  1. #1
    Registered User
    Join Date
    04-03-2014
    Location
    Eburg, WA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Need to count cells by color fill.

    Is it possible to count cells by color fill in reg excel (2010)? I'm learning the basics and have been able to create some formulas to count cells by other criteria, but not color.
    Also, I work on a gov computer, so I'm unable to download add-ins that are not previously installed.
    Lastly, I have zero experience with Pivottables or VBA and don't have the time right now to learn these

    thanks,
    JB
    Last edited by JB33; 04-03-2014 at 04:20 PM. Reason: Solved

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Need to count cells by color fill.

    There is no built-in Excel function that will tell you the fill color, so a formula can't refer to fill color. To do this requires VBA
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Need to count cells by color fill.

    Hmmm.....let me amend that by saying that there might be a Excel4 macro that can do that, outside my range of expertise. But it's still a macro, not a built-in function.

  4. #4
    Registered User
    Join Date
    04-03-2014
    Location
    Eburg, WA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Need to count cells by color fill.

    How do i get the macros? Unfortunately a lot of terms and things are still foreign to me. Sorry
    But I appreciate the help.

  5. #5
    Registered User
    Join Date
    04-03-2014
    Location
    Eburg, WA
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Need to count cells by color fill.

    Jeff,

    I got it figured out...more googling and learned how to create a UDF, which I guess is a VBA? Found it at:

    http://www.ozgrid.com/VBA/sum-count-cells-by-color.htm

    Anyway, it works, so problem solved...for that specific task. Now I need a formula that will count the cells in the same column based on the text, but exclude the cells with same text that were already counted by fill color. Any ideas??

    Thanks,

    JB

+ 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. Count cells with fill color
    By Phillip in forum Excel General
    Replies: 4
    Last Post: 06-30-2014, 12:53 PM
  2. [SOLVED] Count cells based on a fill color
    By Mike K. in forum Excel General
    Replies: 2
    Last Post: 06-13-2011, 03:04 PM
  3. How to count cells with particular color fill?
    By gus in forum Excel General
    Replies: 2
    Last Post: 05-25-2007, 01:39 AM
  4. How do I sort or count cells by fill color?
    By Rob in forum Excel General
    Replies: 2
    Last Post: 12-23-2005, 05:40 PM
  5. Replies: 2
    Last Post: 01-19-2005, 05:06 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