+ Reply to Thread
Results 1 to 4 of 4

Count cells based on cell color

  1. #1
    Registered User
    Join Date
    11-07-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    81

    Count cells based on cell color

    Hello,

    I would like to count the number of orange cells, Green cells, Blue cells in the attached spreadsheet.

    I have attached the sample file.. In my original file the cell colors will be a result of some conditional formatting.


    Thanks
    Attached Files Attached Files
    Last edited by vamshi57; 04-14-2014 at 01:46 AM. Reason: Uploaded a new file

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Count cells based on cell color

    Hello

    As you say that in your original workbook the colors will be the result of CF, then probably you'll count the occasions according those rule. Which are the rules that you use in CF?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    11-07-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: Count cells based on cell color

    I have attached a new which has conditional formatting and also almost similar to my original workbook. In my original workbook, I'll have more colors using similar conditional formatting formula ( for a different range).

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Count cells based on cell color

    I believe that the easiest way is using helper column(S) with the opposite of your formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then use this one to get your result
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Excel - count cells based on color
    By Rbordonaro in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-19-2014, 08:08 PM
  2. Replies: 3
    Last Post: 05-02-2012, 09:08 AM
  3. [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
  4. Count Cells Based On A Background Color
    By NSTurk725 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-27-2010, 11:29 AM
  5. Count Cells in a Row based on color and date range
    By indnracn2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2009, 11:12 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