LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default Conditionally format in code and count at same time

After reading quite a few posts I see there is no way to count the number of
color entries in a worksheet and have the numbers update live and
automatically as coloring changes. This is a problem for my requirements, in
addition to some other functionality that my worksheet requires. Hopefully
someone can take this on!!

What Im trying to do is to highlight overdue tasks, tasks that are due
within the next seven (preferably working) days, tasks due in 2 weeks time,
and show a summary of these (and thus progress against the project) in a
Red/Green/Yellow table.

The worksheet has a number of cells where the user will enter a dates for
when a task is due and when the task is complete. These date cells have the
CalcProgress style applied to them. I want to highlight the due dates in
green and red, and automatically total the number of these coloured entries
in the worksheet and update the totals as they change.

For example:

Total Red Cells: nnn
Total Green Cells: nnn
Total Yellow Cells: nnn

If the due date is <=Today() , the font should be red, bold

If the due date is < =TODAY()+7, the font should be yellow bold

If the due date is < =TODAY()+14, the font should be green (black, not bold)

HOWEVER!! When the user enters a date in the Date Complete cell for the
item, due date colouring should revert to plain text (normal). As the Date
Complete cells are filled, the total count of red, green and yellow cells
would decrease accordingly.

Hope this is understandable and possible!!

Any assistance will be really, really appreciated!

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using a time format in a count function gregv7 Excel Worksheet Functions 1 May 6th 10 11:43 PM
Time Code in Cell format ? [email protected] Excel Discussion (Misc queries) 3 December 10th 06 11:29 AM
count conditionally across two columns? gpoky Excel Worksheet Functions 2 December 6th 05 04:56 PM
count time format as decimal Jonsson Excel Programming 0 February 23rd 04 08:17 AM
count time format as decimal Jonsson Excel Programming 1 February 23rd 04 02:38 AM


All times are GMT +1. The time now is 10:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright 2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"