+ Reply to Thread
Results 1 to 3 of 3

Google Sheets: Count number of times conditional formatting equals TRUE

  1. #1
    Forum Contributor swordswinger710's Avatar
    Join Date
    02-20-2008
    Location
    Bright, Canada
    MS-Off Ver
    2010
    Posts
    845

    Google Sheets: Count number of times conditional formatting equals TRUE

    I am attempting to use a conditional formatting formula in my Google Sheet located here for Row 24 to count the number of times my existing conditional formatting formulas returns TRUE for each cell in the column above, and to turn RED if that number is larger than 0.

    Snipaste_2023-04-10_09-01-52.png

    My existing conditional formatting is successfully turning cells in Rows 2:22 RED when:

    1. A cell contains either a '✘' or a '4'
    2. An entry is outside the upper and lower limits defined for each row by variables on a second DATA sheet. This formula checks for either a '±' or a '-' symbol and applies the appropriate limits defined for each one:
    Please Login or Register  to view this content.
    I can successfully use this formula in Row 24 for the first condition:
    Please Login or Register  to view this content.
    But what I can't figure out is how to check for the second condition. How might I best accomplish this?
    Last edited by swordswinger710; 04-10-2023 at 01:17 PM.
    There is so much good in the worst of us,
    And so much bad in the best of us,
    That it hardly behooves any of us
    To talk about the rest of us.

  2. #2
    Valued Forum Contributor janmorris's Avatar
    Join Date
    07-24-2021
    Location
    Japan
    MS-Off Ver
    Google Sheets (& Mac 2021)
    Posts
    1,139

    Re: Google Sheets: Count number of times conditional formatting equals TRUE

    You would use an IF(COUNTIF(.................)>0) type formula that includes rules to check the same conditions as your current conditional formatting rules.
    As a gesture off appreciation, you can click * Add Reputation at the foot of any of the posts of members who helped you reach a solution.

    And finally, was your problem solved? if so, please click Thread Tools above the first post of your enquiry, then select [Solved]

  3. #3
    Forum Contributor swordswinger710's Avatar
    Join Date
    02-20-2008
    Location
    Bright, Canada
    MS-Off Ver
    2010
    Posts
    845

    Re: Google Sheets: Count number of times conditional formatting equals TRUE

    That is where I am struggling though, and I suspect it might have something to do with the ROW function parts of the formula. This is the closest I can get using COUNTIF:
    Please Login or Register  to view this content.
    but it's only counting the first cell in the column (Cell J7) and ignoring any other occurrences.
    Last edited by swordswinger710; 04-17-2023 at 11:42 AM.

+ 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 number of times Multiple criteria is true
    By obrien979 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-09-2022, 12:04 PM
  2. Google Sheets - QUERY to give a total number of times a class is listed
    By 404'ed in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 7
    Last Post: 07-25-2022, 08:07 AM
  3. Google Sheets: How to count the number of times a certain value has been chosen
    By cwinhall in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 02-14-2021, 01:32 PM
  4. Replies: 17
    Last Post: 08-12-2015, 04:35 AM
  5. Count number of times one value is higher than another IF criteria is true
    By LasseKaa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-17-2013, 11:28 AM
  6. How to count the number of times an expression is true
    By sherlock99 in forum Excel General
    Replies: 4
    Last Post: 06-22-2011, 06:46 AM

Tags for this Thread

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