+ Reply to Thread
Results 1 to 14 of 14

counting based on conditional format

Hybrid View

jimb0693 counting based on conditional... 05-30-2007, 03:59 PM
oldchippy May be this link will help? ... 05-30-2007, 04:04 PM
jimb0693 already been there, if you... 05-31-2007, 02:01 AM
VBA Noob This thread may help you ... 05-31-2007, 02:02 AM
jimb0693 this looks like what i need... 06-01-2007, 09:17 AM
  1. #1
    Registered User
    Join Date
    12-29-2005
    Posts
    90

    counting based on conditional format

    hi hope theres a way to do this.

    i have a spreadsheet which is used to keep the training records for the company it counts no of staff and their skill levels for different parts of the job, when a person moves to a different branch the skill required changes and they have a set period of time to aquire the new skill.

    when the time is up the colour of the old skill is changed to a red font by a conditional format based on the date.this is then counted by a calculation so the team know how many people are to be targeted for extra training.

    the problem i have is the calculation will not count conditionally formated cells, so whenever i update the sheet i have to go to each cell with red text and change the font colour manually to red, this sounds really silly and is impossible to explain to anyone who does not understand conditional formatting. i e the people who will end up using the database

    what im looking for is a way to count conditionally formatted cells based on the condition being met i.e. they are showing as red font.

    can it be done and how?
    or am i wasting my time looking for an answer to something excel wont do ?

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    May be this link will help?

    http://www.xldynamic.com/source/xld.ColourCounter.html
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    12-29-2005
    Posts
    90
    already been there, if you read through about 3/4 way down the page there are a couple of constraints, the one that concerns me i've copied below

    "The second shortcoming is that this technique at present does not cater for cells that are coloured due to conditional formatting"

    the result being that this will do what i already have in use but not what i'm trying to achieve.

    thanks for the link anyway, couple of things in there that may be useful in the future

  4. #4
    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 thread may help you

    http://www.excelforum.com/showthread.php?t=601773

    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 !!!

  5. #5
    Registered User
    Join Date
    12-29-2005
    Posts
    90
    this looks like what i need but i cant get it to work, i've copied the code in and set up a formula to call it but all i get is #value!. the formula im using is =sumbycfcolorindex(h11:h91,1). i've tried changing the last value as advised on the article but just get the same result. what am i doing wrong(PROBABLY SOMETHING SIMPLE)

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Just a thought reading through this again, instead of counting coloured cells can't you count based on a date of change, so that you count cells after a particular date?

    Without seeing a sample of your worksheet, it's difficult to see what exactly you are trying to do.

+ 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