Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Software (https://www.askmehelpdesk.com/forumdisplay.php?f=394)
-   -   Excel - Count how many cells have a certain color (https://www.askmehelpdesk.com/showthread.php?t=256936)

  • Sep 5, 2008, 08:57 AM
    vegas2797
    Excel - Count how many cells have a certain color
    Is there a formula to count how many cells within a row have a certain color. For Instance if I have A1 to M1 filled in with text and 8 are colored yellow then I want my result in N1 to say 8. Any way to do this?
  • Sep 5, 2008, 10:11 AM
    JBeaucaire
    Which version of Excel are you on? Must include info like that in this forum!

    For Office 2003, there is no function, you will need some VB code to create a new function that you can then use in your formulas. I've done this exact thing using the following page... it works perfectly!

    Sum/Count Cells By Fill Or Background Color in Excel

    This page shows the same thing in a similar way, but it's much briefer... which may be bad if this all sounds greek to you.
    http://www.exceltip.com/st/Count_by_...Excel/518.html

    In Office 2007, I believe there is a simple way already built in...

  • All times are GMT -7. The time now is 10:21 AM.