+ Reply to Thread
Results 1 to 3 of 3

Counting Conditionally-Formatted Cells in a Row

  1. #1
    Registered User
    Join Date
    10-21-2016
    Location
    Kansas City, MO
    MS-Off Ver
    2010, 2013
    Posts
    64

    Counting Conditionally-Formatted Cells in a Row

    I'm very novice with macros but - far as I can tell - this would be out-of-scope for regular formulas.

    I have highlighted each column with conditional formatting (top 10% of each column) and now need to count the number of conditionally-formatted cells within a row range (i.e. how many conditionally-formatted cells are in the range e2:p2, e3:p3, etc.)

    I've tried looking online but haven't figured out a solution that works for me yet. Any help is appreciated, thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    5,855

    Re: Counting Conditionally-Formatted Cells in a Row

    Please try at
    R1:AC1
    =PERCENTILE.INC(E:E,90%)

    D2
    =SUMPRODUCT(--(E2:P2>=$R$1:$AC$1))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-21-2016
    Location
    Kansas City, MO
    MS-Off Ver
    2010, 2013
    Posts
    64

    Re: Counting Conditionally-Formatted Cells in a Row

    Thanks, Bo_Ry, this was great!

+ 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. [SOLVED] Counting Conditionally Formatted Coloured Cells
    By Tiraenus in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-23-2018, 08:03 PM
  2. Counting coloured cells that are conditionally formatted
    By vmutch in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-24-2015, 02:46 PM
  3. counting conditionally formatted columns
    By greengem in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2013, 02:31 AM
  4. counting conditionally formatted cells
    By chop924 in forum Excel General
    Replies: 3
    Last Post: 05-09-2012, 11:44 AM
  5. Counting cells conditionally formatted, by colour
    By edwar368 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-10-2011, 05:30 PM
  6. Counting by conditionally formatted cells
    By genus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-23-2009, 05:42 AM
  7. Counting conditionally formatted cells
    By Nigel in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-27-2008, 04:00 PM

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