+ Reply to Thread
Results 1 to 2 of 2

Number of cells with background

  1. #1
    Registered User
    Join Date
    06-14-2010
    Location
    Ontario Canada
    MS-Off Ver
    Excel 2003
    Posts
    6

    Number of cells with background

    I was wondering if there was a way to count the number of cells that have a specific background colour, half were done manually and the other half were done via conditional formatting. Also I have tried to do it with VBA but the screen to type the codes in is not coming up so if someone could help me with that issue that would be great too.
    Any help would be greatly appreciated.
    Cheers

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Number of cells with background

    Alt+F11 opens the VBE.

    It's not trivial to determine the results of conditional formatting via VBA.

    It would be easier if you used conditional formatting uniformly, and moved the conditional formatting formula to a separate column. Then you can just count the results that cause the cells to be colored.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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