+ Reply to Thread
Results 1 to 5 of 5

Counting Conditional Formating

  1. #1
    Registered User
    Join Date
    12-20-2006
    Posts
    5

    Unhappy Counting Conditional Formating

    Hello,
    I have used the function to count cells based on a color and that works great as long as each cell is manually changed. The problem I have now is that I have set up a workbook with Conditional Formatting and the function I used won't count the cells that change colors based on the Cond. Formatting.

    Any suggestions?

    Tao

  2. #2
    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
    Hi,

    Would this site 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 !!!

  3. #3
    Registered User
    Join Date
    12-20-2006
    Posts
    5
    Yes it most certainly would! Someone gave me this site about 15 minutes ago. Thanks for your help though. If I hadn't asked him too, you would have had it.

    Tao

  4. #4
    Registered User
    Join Date
    12-20-2006
    Posts
    5
    Hi,
    Now I have looked and I'm not following on how to add more than three conditions when doing Conditional Formatting.

    IE I want to check for "", "Tom", "Mike", "Sally" and "David". Any way to do this?

    Tao

  5. #5
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394
    Quote Originally Posted by Taova

    Any suggestions?

    Tao
    Conditional formatting does not set the colour index of the cell. There are solutions (like VBA Noob's post) but I think the solution is too complex. If you have written a function to colour the cells, they you can write a function to conditionally format the cells. I have done this a few times, and it is really quite straight forward using a select Case statement. You then get unlimited conditional formats. If you format your cells this way, your function will work.

    Matt

+ 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