+ Reply to Thread
Results 1 to 5 of 5

Counting color fonted cells with conditional formating

  1. #1
    Registered User
    Join Date
    06-15-2014
    Posts
    7

    Counting color fonted cells with conditional formating

    Hi Guys

    I have a set of conditional formatted data and i would now like to count these "color fonted" cells using VBA.
    Apart from that, how can i also count the cells labelled "-" and "N/A" ?

    Appreciate some pros advice.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Counting color fonted cells with conditional formating

    No VBa code or excel formula can count conditional formatted cells

    Your code or formula will need to replicate the formula in your conditional formatting.

  3. #3
    Registered User
    Join Date
    06-15-2014
    Posts
    7

    Re: Counting color fonted cells with conditional formating

    Hi Mehmetcik,

    Do you mind explaining how can that be done ?

    Thanks

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Counting color fonted cells with conditional formating

    Please see the attached sheet to see if this is what you are trying to achieve? There is a helper coloumn "O" which you can hide or move this helper column as per your convenience.
    Attached Files Attached Files
    Last edited by sktneer; 08-25-2014 at 08:10 AM.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Counting color fonted cells with conditional formating

    Maybe:

    Please Login or Register  to view this content.
    Places results in E1,F1,G1. BTW the one font color is not conditionally formatted. It is set manually.

+ 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. Lock cells based on color from conditional formating
    By johns_st in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2010, 03:00 PM
  2. Replies: 4
    Last Post: 06-14-2009, 03:10 AM
  3. counting cells with conditional formating
    By hawg1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-20-2007, 01:21 PM
  4. [SOLVED] Counting the number of cells meeting conditional formating criteria
    By JE McGimpsey in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 04:05 AM
  5. Counting the number of cells meeting conditional formating criteria
    By Jeff in forum Excel Formulas & Functions
    Replies: 0
    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