+ Reply to Thread
Results 1 to 5 of 5

Countiing red cells (cells that turned red based on conditional formatting)

  1. #1
    Registered User
    Join Date
    05-16-2013
    Location
    delhi,india
    MS-Off Ver
    Excel 2007
    Posts
    5

    Countiing red cells (cells that turned red based on conditional formatting)

    I want to count the number of cells that are red.
    I know this may be done through function
    but the challenge i am facing is that in my range cells are colored red with conditional formatting.
    Attaching file too...
    Attached Files Attached Files

  2. #2
    Forum Contributor S O's Avatar
    Join Date
    06-25-2015
    Location
    England
    MS-Off Ver
    Office 2010 + 2013 + 2016
    Posts
    103

    Re: Countiing red cells (cells that turned red based on conditional formatting)

    Use the same logic as your CF rule in a COUNTIF formula...

    =COUNTIF(F3:I7,"<12")

  3. #3
    Registered User
    Join Date
    05-16-2013
    Location
    delhi,india
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Countiing red cells (cells that turned red based on conditional formatting)

    My mistake
    The actual scenario is that I have data in 12 columns and I color cell values in each column red with conditional formatting. Each column has different criteria to color cell red.

  4. #4
    Forum Contributor S O's Avatar
    Join Date
    06-25-2015
    Location
    England
    MS-Off Ver
    Office 2010 + 2013 + 2016
    Posts
    103

    Re: Countiing red cells (cells that turned red based on conditional formatting)

    You're using a function to define the CF criteria - so just use that in a COUNTIF or COUNTIFS function to get the same result. If you don't supply a true representative sample of your data then you won't get complete answers...

  5. #5
    Registered User
    Join Date
    05-16-2013
    Location
    delhi,india
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Countiing red cells (cells that turned red based on conditional formatting)

    Attaching the file

    Under the countred heading I want the count of cells that are red in columns f to i
    the formula works if I manually color the cells red but doesn't if colored red with cf
    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. Conditional formatting for a range of cells based on data from two cells
    By Tindomerel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-25-2014, 05:09 AM
  2. [SOLVED] Conditional Formatting for cells based on dates in subsequent cells
    By bcmilne in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2014, 10:23 AM
  3. Replies: 5
    Last Post: 08-06-2013, 02:13 PM
  4. Replies: 5
    Last Post: 07-12-2013, 01:15 AM
  5. Conditional Formatting Multiple cells based on 2 cells
    By Louis Markowski in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 03:05 AM
  6. Conditional Formatting Multiple cells based on 2 cells
    By Louis Markowski in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 02:05 AM
  7. Conditional Formatting Multiple cells based on 2 cells
    By Louis Markowski in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2005, 10:05 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