+ Reply to Thread
Results 1 to 3 of 3

counting cells with conditional formating

  1. #1
    Registered User
    Join Date
    04-20-2007
    Posts
    1

    Question counting cells with conditional formating

    Hi,

    Can anyone provide some assistiance the the countif formula and conditional formating? My worksheet area is A1 thru K21. Each row has cells col C thru Col H being affected by conditional formating (ex. C5 thru H5). I need to count how many rows have col C thru Col H conditionally formated to the color green and place this total in a seperate cell on the work sheet. I've tried a few things based on help file searches but non have been fruitful.

    Any help would be greatly appreciated.

    Thanks

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    I don't know how to do a count based on colors (I think it is possible using a VBA/Macro).

    Since the cells are being colored based on a conditional format, couldnt you just manipulate the formula being used in the conditional format to give you a total.

    For example, if you have the cells colored green IF they are greater than 100, you can set up a formula that will count all cells greater than 100.

    Let me know.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    This link may help

    http://www.cpearson.com/excel/CFColors.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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