Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 347
Default Conditional Formatting

On my spread sheet I have rows of dates / 5 columns - what I am looking for
is a conditional format formula that I can apply to the entire row that would
change the background color of any of the cells that the date is old then
todays date.

Thanks - George
  #2   Report Post  
Posted to microsoft.public.excel.programming
jjk jjk is offline
external usenet poster
 
Posts: 42
Default Conditional Formatting

Use conditional formatting.

To spell it out.

Let say B is the col you want formatted.
Put formula =Today() in $A$1
Select Entire col B.
Goto Menu - Format - Conditional Formatting
Choose
Cell Value is Less than $A$1

And presto....

  #3   Report Post  
Posted to microsoft.public.excel.programming
jjk jjk is offline
external usenet poster
 
Posts: 42
Default Conditional Formatting

Well you need to specify the different formatting you require in the
window that pops up.

HTH,
Jayant

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Conditional Formatting

Is the date you want to check in column A?
1) Go to cell B1 (or wherever the first row of your data is, go into the 2nd
column
2) Enter this as the conditional format condition
Formula is: =AND(NOT(ISBLANK($A2)),$A2<TODAY())
be sure to use the $ before the column letter that points to your date
3) In conditional formatting set the color you want for the row and then
click OK
4) Back on the sheet, now copy that cell
5) Highlight the entire row and do Paste Special... Paste Formats
6) Now copy this entire row
7) Highlight the rest of the rows (or even the whole worksheet, if desired)
8) Paste Special... Paste Formats.
The relative/absolute referencing in the conditional format formula should
take care of the referencing so it always checks whether the date in A for
the current row is less than today's date.
--
- K Dales


"George" wrote:

On my spread sheet I have rows of dates / 5 columns - what I am looking for
is a conditional format formula that I can apply to the entire row that would
change the background color of any of the cells that the date is old then
todays date.

Thanks - George

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Conditional Formatting

K Dales,

How can I add the conditional formatting to meet the following criteria.
Customers will input a date. Once the the date is exceed it changes colors.
Also, can I have once a date is enter that it can't be changed.

"K Dales" wrote:

Is the date you want to check in column A?
1) Go to cell B1 (or wherever the first row of your data is, go into the 2nd
column
2) Enter this as the conditional format condition
Formula is: =AND(NOT(ISBLANK($A2)),$A2<TODAY())
be sure to use the $ before the column letter that points to your date
3) In conditional formatting set the color you want for the row and then
click OK
4) Back on the sheet, now copy that cell
5) Highlight the entire row and do Paste Special... Paste Formats
6) Now copy this entire row
7) Highlight the rest of the rows (or even the whole worksheet, if desired)
8) Paste Special... Paste Formats.
The relative/absolute referencing in the conditional format formula should
take care of the referencing so it always checks whether the date in A for
the current row is less than today's date.
--
- K Dales


"George" wrote:

On my spread sheet I have rows of dates / 5 columns - what I am looking for
is a conditional format formula that I can apply to the entire row that would
change the background color of any of the cells that the date is old then
todays date.

Thanks - George



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 903
Default Conditional Formatting

Modify the formula supplied by K Dales creating a second condition
with a different color and use greater than when comparing date.
You might want to use <= or = if you want to include dates equal\
with one set or the other.

I have a page on Conditional Formatting
http://www.mvps.org/dmcritchie/excel/condfmt.htm
You will find a usage tutorial at
http://www.datapigtechnologies.com/ExcelMain.htm
and additional information at Bob Phillips, John McGimpsey, and Debra Dalgleish's
respective sites there should be links on my condfmt.htm page.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"CurtH" wrote in message ...
K Dales,

How can I add the conditional formatting to meet the following criteria.
Customers will input a date. Once the the date is exceed it changes colors.
Also, can I have once a date is enter that it can't be changed.

"K Dales" wrote:

Is the date you want to check in column A?
1) Go to cell B1 (or wherever the first row of your data is, go into the 2nd
column
2) Enter this as the conditional format condition
Formula is: =AND(NOT(ISBLANK($A2)),$A2<TODAY())
be sure to use the $ before the column letter that points to your date
3) In conditional formatting set the color you want for the row and then
click OK
4) Back on the sheet, now copy that cell
5) Highlight the entire row and do Paste Special... Paste Formats
6) Now copy this entire row
7) Highlight the rest of the rows (or even the whole worksheet, if desired)
8) Paste Special... Paste Formats.
The relative/absolute referencing in the conditional format formula should
take care of the referencing so it always checks whether the date in A for
the current row is less than today's date.
--
- K Dales


"George" wrote:

On my spread sheet I have rows of dates / 5 columns - what I am looking for
is a conditional format formula that I can apply to the entire row that would
change the background color of any of the cells that the date is old then
todays date.

Thanks - George



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
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Formatting Conditional Formatting Icon Sets The Rook[_2_] Excel Discussion (Misc queries) 3 March 7th 09 08:48 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 11:54 PM.

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

About Us

"It's about Microsoft Excel"