Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Question about condition formatting?

This is what I would like to achieve. From the moment when I enter a data in
cell I would like that text to stay red for number of days, and after that
period of time text would return to its default formatting which is text
color black. In short, can I condition format cells for period of time, and
after that period of time cell would lose the formatting?

Thank you
Guntars

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 222
Default Question about condition formatting?

The only way Excel will know the DAY you made an entry in a cell is if there
is an additional cell with a date stamp in it. No other way, really.

You can use a worksheet_change event macro to watch your particular column
and every time you make an entry in that column, Excel secretly adds a time
stamp in an adjacent cell. The column for that cell could be hidden if you
wish.

Once that date is on the sheet somewhere, then simple conditional formatting
could handle the "stay red for 7 days" kind of thing.

For instance, the date stamp is hidden in H2, and G2 is your data and the
following conditional format:

Condition1: Formula Is: =TODAY()<(H2+7)
....format pattern color as red.

Does this help?


--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Guntars" wrote:

This is what I would like to achieve. From the moment when I enter a data in
cell I would like that text to stay red for number of days, and after that
period of time text would return to its default formatting which is text
color black. In short, can I condition format cells for period of time, and
after that period of time cell would lose the formatting?

Thank you
Guntars

Reply
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
Condition Formatting with different sheet Kim Excel Discussion (Misc queries) 8 March 11th 09 04:57 PM
Condition formatting & Formulas Skippy Excel Worksheet Functions 3 September 14th 07 12:54 AM
Custom Formatting: Can I set up a condition? Phrank Excel Worksheet Functions 1 December 13th 06 09:42 AM
Another Date/Cell Color/Condition Formatting Question Millerk Excel Discussion (Misc queries) 1 March 1st 06 05:20 PM
a condition question Penny Excel Discussion (Misc queries) 4 May 27th 05 04:22 AM


All times are GMT +1. The time now is 04:09 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"