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: 65
Default Colour a row, based on a cell value

Hi folks.

I have a spreadsheet that contains text, values and dates between
columns 'B' and 'I'. What I'd like to do is have formatting set
somewhere, so that if the value in the date column is more than two
weeks older than the date the file is opened, it should colour the
text from column 'B' to 'I' on the row red.

If the date is between 1 and 2 weeks in the past, it should colour the
text orange. If it is within 7 days old, it should colour it green.
If the date field is blank, the text colour should be black.

I don't fancy doing this via condiitonal formatting, as I'm thinking
you'd have to put this in each cell. Also, as I'm using Excel 2003,
you can only have 3 condiitonal formats...or would this be enough?
However, as I say, I'm not keen on having to put this formatting in
each cell.

Anyone know of a way to do this?

Duncs
 
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
Calculations based on cell colour Fred[_8_] Excel Discussion (Misc queries) 9 October 3rd 11 09:30 PM
Condition based on cell colour Richhall Excel Worksheet Functions 2 March 25th 07 04:23 PM
change current cell colour based on the value of adjacent cell on other worksheet Rits Excel Programming 2 November 23rd 06 11:57 AM
How do I set a colour to 4 cells based on the value of a cell Andy64 Excel Discussion (Misc queries) 1 September 6th 05 06:46 PM
Conditional Format with VBA - Interior Colour of cell based on value from in-cell dropdown Steve[_52_] Excel Programming 5 June 15th 04 11:45 AM


All times are GMT +1. The time now is 06:36 PM.

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"