Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default CONDITIONAL FORMATING QUESTION

IN MY SPR I HAVE A DATE COLUMN. HOW CAN I SET UP A CONDITIONAL FORMAT THAT
WILL TURN THE ROW INTO A COLOUR IF THE THE DATE IN THE COLUMN IS TODAYS DATE
OR A DATE IN THE PAST?


--
Kind regards
Megan
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default CONDITIONAL FORMATING QUESTION

First of all I would turn off your Capitals lock, it is considered rude and
shouting to post in all capitals. Additionally, all capitals are harder to
read, especially for people whose first language is not English.

Now on to your problem. Conditional formatting applies to one cell only.
You therefore have to highlight the whole block of cells that you want to
change colour and the select Format Conditional formatting. Change "Cell
value is" to "Formula is" and enter the formula:

=AND($A2<"",$A2<=TODAY())


Assuming that the dates are in Column A starting in row 2. Then select the
formatting that you want. That will enterthe Conditional formatting in all
the highlighted cells

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Megan" wrote in message
...
IN MY SPR I HAVE A DATE COLUMN. HOW CAN I SET UP A CONDITIONAL FORMAT THAT
WILL TURN THE ROW INTO A COLOUR IF THE THE DATE IN THE COLUMN IS TODAYS
DATE
OR A DATE IN THE PAST?


--
Kind regards
Megan





  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default CONDITIONAL FORMATING QUESTION

Sorry - I work mainly in capitals and didn't think to turn them off. No
offence intended.

The formula has worked thank you very much it was very helpful.

Am I correct in thinking that the "" part of the formula is relating to the
text at the end - today?

Also I notice you use an open bracket at the end ( I don't understand
this part. Can you let me know so that I know for next time?



Kind regards
Megan


"Sandy Mann" wrote:

First of all I would turn off your Capitals lock, it is considered rude and
shouting to post in all capitals. Additionally, all capitals are harder to
read, especially for people whose first language is not English.

Now on to your problem. Conditional formatting applies to one cell only.
You therefore have to highlight the whole block of cells that you want to
change colour and the select Format Conditional formatting. Change "Cell
value is" to "Formula is" and enter the formula:

=AND($A2<"",$A2<=TODAY())


Assuming that the dates are in Column A starting in row 2. Then select the
formatting that you want. That will enterthe Conditional formatting in all
the highlighted cells

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Megan" wrote in message
...
IN MY SPR I HAVE A DATE COLUMN. HOW CAN I SET UP A CONDITIONAL FORMAT THAT
WILL TURN THE ROW INTO A COLOUR IF THE THE DATE IN THE COLUMN IS TODAYS
DATE
OR A DATE IN THE PAST?


--
Kind regards
Megan






  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default CONDITIONAL FORMATING QUESTION

Am I correct in thinking that the "" part of the formula is relating to
the
text at the end - today?


No. Dates in Excel are just numbers formatted to look like dates. Try
entering a date and then re-formatting the cell tpo General and you will see
what Imean. If the cell is empty it has a value of zero, nor zero is
obviously smaller than any date so any empty cell would match the <= part of
the comparison and thus be coloured. To prevent this I checked that the date
cell was not empty (ie "").

Also I notice you use an open bracket at the end ( I don't understand
this part.


There is no open bracket, the Date function in Excel is DATE() with an open
and closing bracket, the other bracket is the closing bracket for the AND at
the start of the formula, (ie ther are two Opening brackets and two Closing
brackets)

The formual is saying:

"If the cell in Column A is not empty and the date in that cell is before
today's date then colout the cell"

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Megan" wrote in message
...
Sorry - I work mainly in capitals and didn't think to turn them off. No
offence intended.

The formula has worked thank you very much it was very helpful.

Am I correct in thinking that the "" part of the formula is relating to
the
text at the end - today?

Also I notice you use an open bracket at the end ( I don't understand
this part. Can you let me know so that I know for next time?



Kind regards
Megan


"Sandy Mann" wrote:

First of all I would turn off your Capitals lock, it is considered rude
and
shouting to post in all capitals. Additionally, all capitals are harder
to
read, especially for people whose first language is not English.

Now on to your problem. Conditional formatting applies to one cell only.
You therefore have to highlight the whole block of cells that you want to
change colour and the select Format Conditional formatting. Change
"Cell
value is" to "Formula is" and enter the formula:

=AND($A2<"",$A2<=TODAY())


Assuming that the dates are in Column A starting in row 2. Then select
the
formatting that you want. That will enterthe Conditional formatting in
all
the highlighted cells

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Megan" wrote in message
...
IN MY SPR I HAVE A DATE COLUMN. HOW CAN I SET UP A CONDITIONAL FORMAT
THAT
WILL TURN THE ROW INTO A COLOUR IF THE THE DATE IN THE COLUMN IS TODAYS
DATE
OR A DATE IN THE PAST?


--
Kind regards
Megan









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 Formating Question carl Excel Worksheet Functions 4 March 10th 07 11:30 AM
COUNTA Conditional Formating question carrera Excel Discussion (Misc queries) 0 November 29th 06 10:15 PM
Another Conditional Formating Question RalphSE Excel Worksheet Functions 2 March 16th 06 07:05 PM
Easy Conditional Formating Question magoobee Excel Discussion (Misc queries) 3 February 11th 06 06:31 PM
Conditional Formating Question terri Excel Discussion (Misc queries) 3 November 27th 05 02:01 AM


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