Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Conditional formatting dates in 2007

Hi I am working in excel 2007.
I have to columns filled with dates down to row 35. I want to set the
background of the cells to red if the dates shown are less than today. I can
get this to work for one cell with this formula:
=$D$2<=TODAY()
So far I have been creating a new rule for each cell. Once I got down to
cell D14 Excel crashed as it couldn't handle 14 conditional formats. I've
tried to set one conditional format for all the cells but then this sets all
the cells background to red (which shouldn't happen as most of the dates are
in the future so far). Can anyone help me out please?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Conditional formatting dates in 2007

I am not using 2007 at the moment but it sounds odd that you create a new
rule for each cell if the conditional formatting is the same, just copy the
formatting to the other cells and use one rule


--


Regards,


Peo Sjoblom


"Lucy" wrote in message
...
Hi I am working in excel 2007.
I have to columns filled with dates down to row 35. I want to set the
background of the cells to red if the dates shown are less than today. I
can
get this to work for one cell with this formula:
=$D$2<=TODAY()
So far I have been creating a new rule for each cell. Once I got down to
cell D14 Excel crashed as it couldn't handle 14 conditional formats. I've
tried to set one conditional format for all the cells but then this sets
all
the cells background to red (which shouldn't happen as most of the dates
are
in the future so far). Can anyone help me out please?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional formatting dates in 2007

Assume your dates are in the range D2:E37

Select the range D2:E37

Goto Home tabStylesConditional FormattingNew RuleUse a formula to
determine.....

=AND(D2<"",D2<=TODAY())

Click the Format button
Select the desired style(s)
OK out


--
Biff
Microsoft Excel MVP


"Peo Sjoblom" wrote in message
...
I am not using 2007 at the moment but it sounds odd that you create a new
rule for each cell if the conditional formatting is the same, just copy the
formatting to the other cells and use one rule


--


Regards,


Peo Sjoblom


"Lucy" wrote in message
...
Hi I am working in excel 2007.
I have to columns filled with dates down to row 35. I want to set the
background of the cells to red if the dates shown are less than today. I
can
get this to work for one cell with this formula:
=$D$2<=TODAY()
So far I have been creating a new rule for each cell. Once I got down to
cell D14 Excel crashed as it couldn't handle 14 conditional formats. I've
tried to set one conditional format for all the cells but then this sets
all
the cells background to red (which shouldn't happen as most of the dates
are
in the future so far). Can anyone help me out please?





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Conditional formatting dates in 2007

Thank you for giving me the correct formula!

"T. Valko" wrote:

Assume your dates are in the range D2:E37

Select the range D2:E37

Goto Home tabStylesConditional FormattingNew RuleUse a formula to
determine.....

=AND(D2<"",D2<=TODAY())

Click the Format button
Select the desired style(s)
OK out


--
Biff
Microsoft Excel MVP


"Peo Sjoblom" wrote in message
...
I am not using 2007 at the moment but it sounds odd that you create a new
rule for each cell if the conditional formatting is the same, just copy the
formatting to the other cells and use one rule


--


Regards,


Peo Sjoblom


"Lucy" wrote in message
...
Hi I am working in excel 2007.
I have to columns filled with dates down to row 35. I want to set the
background of the cells to red if the dates shown are less than today. I
can
get this to work for one cell with this formula:
=$D$2<=TODAY()
So far I have been creating a new rule for each cell. Once I got down to
cell D14 Excel crashed as it couldn't handle 14 conditional formats. I've
tried to set one conditional format for all the cells but then this sets
all
the cells background to red (which shouldn't happen as most of the dates
are
in the future so far). Can anyone help me out please?






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional formatting dates in 2007

You're welcome!

--
Biff
Microsoft Excel MVP


"Lucy" wrote in message
...
Thank you for giving me the correct formula!

"T. Valko" wrote:

Assume your dates are in the range D2:E37

Select the range D2:E37

Goto Home tabStylesConditional FormattingNew RuleUse a formula to
determine.....

=AND(D2<"",D2<=TODAY())

Click the Format button
Select the desired style(s)
OK out


--
Biff
Microsoft Excel MVP


"Peo Sjoblom" wrote in message
...
I am not using 2007 at the moment but it sounds odd that you create a
new
rule for each cell if the conditional formatting is the same, just copy
the
formatting to the other cells and use one rule


--


Regards,


Peo Sjoblom


"Lucy" wrote in message
...
Hi I am working in excel 2007.
I have to columns filled with dates down to row 35. I want to set the
background of the cells to red if the dates shown are less than today.
I
can
get this to work for one cell with this formula:
=$D$2<=TODAY()
So far I have been creating a new rule for each cell. Once I got down
to
cell D14 Excel crashed as it couldn't handle 14 conditional formats.
I've
tried to set one conditional format for all the cells but then this
sets
all
the cells background to red (which shouldn't happen as most of the
dates
are
in the future so far). Can anyone help me out please?









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Conditional formatting dates in 2007

That is what I was trying to do - create one formula for all the cells.
I was originally entering code similar to this:

=$F$2:$F$35<=TODAY()

But this resulted in all the cells being formatted (which was wrong).

I did not know what the correct formula would be.

"Peo Sjoblom" wrote:

I am not using 2007 at the moment but it sounds odd that you create a new
rule for each cell if the conditional formatting is the same, just copy the
formatting to the other cells and use one rule


--


Regards,


Peo Sjoblom


"Lucy" wrote in message
...
Hi I am working in excel 2007.
I have to columns filled with dates down to row 35. I want to set the
background of the cells to red if the dates shown are less than today. I
can
get this to work for one cell with this formula:
=$D$2<=TODAY()
So far I have been creating a new rule for each cell. Once I got down to
cell D14 Excel crashed as it couldn't handle 14 conditional formats. I've
tried to set one conditional format for all the cells but then this sets
all
the cells background to red (which shouldn't happen as most of the dates
are
in the future so far). Can anyone help me out please?




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
Conditional Formatting with Dates BillXMachina Excel Worksheet Functions 3 May 17th 08 10:05 PM
Conditional Formatting with Dates JoAnn New Users to Excel 2 February 25th 08 03:12 PM
Conditional Formatting Dates Chas2 Excel Discussion (Misc queries) 5 February 2nd 08 09:26 PM
Conditional Formatting - Dates Ali Cat Excel Discussion (Misc queries) 2 December 6th 07 09:15 AM
Help with Conditional Formatting (Dates) BigH Excel Discussion (Misc queries) 1 January 28th 06 10:47 PM


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