Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Conditional Formating based on Date

I would like to change the cell color based on date. For example if date is
today or less color should be red, if date is upto 10 days from today the
color should be yellow. I used following:
Condition 1: =A1<=today() RED
Condition 2: =A1-today()<10 YELLOW

it worked ok if I have date in the cell. If the cell is empty, it is still
showing me RED color. I want see no formatting if the cell is empty.

Thank you in advance for your kind help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 703
Default Conditional Formating based on Date

Change condition 1 to:

=AND(A1<=TODAY(),A10)

Regards,
Per

On 7 Mar., 21:47, Kimti wrote:
I would like to change the cell color based on date. For example if date is
today or less color should be red, if date is upto 10 days from today the
color should be yellow. I used following:
Condition 1: =A1<=today() * RED
Condition 2: =A1-today()<10 * *YELLOW

it worked ok if I have date in the cell. If the cell is empty, it is still
showing me RED color. I want see no formatting if the cell is empty.

Thank you in advance for your kind help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Conditional Formating based on Date

Now blanks are showing yellow. Please help.

"Per Jessen" wrote:

Change condition 1 to:

=AND(A1<=TODAY(),A10)

Regards,
Per

On 7 Mar., 21:47, Kimti wrote:
I would like to change the cell color based on date. For example if date is
today or less color should be red, if date is upto 10 days from today the
color should be yellow. I used following:
Condition 1: =A1<=today() RED
Condition 2: =A1-today()<10 YELLOW

it worked ok if I have date in the cell. If the cell is empty, it is still
showing me RED color. I want see no formatting if the cell is empty.

Thank you in advance for your kind help.


.

  #4   Report Post  
Posted to microsoft.public.excel.misc
ck ck is offline
external usenet poster
 
Posts: 52
Default Conditional Formating based on Date

Hi Kimti,

Try this to see if works:
condition 1: =AND(A1<=TODAY(),A1<"")
condition 2: =AND(A1-TODAY()<10,A1<"")

Click yes below if it works for you.

"Kimti" wrote:

Now blanks are showing yellow. Please help.

"Per Jessen" wrote:

Change condition 1 to:

=AND(A1<=TODAY(),A10)

Regards,
Per

On 7 Mar., 21:47, Kimti wrote:
I would like to change the cell color based on date. For example if date is
today or less color should be red, if date is upto 10 days from today the
color should be yellow. I used following:
Condition 1: =A1<=today() RED
Condition 2: =A1-today()<10 YELLOW

it worked ok if I have date in the cell. If the cell is empty, it is still
showing me RED color. I want see no formatting if the cell is empty.

Thank you in advance for your kind help.


.

  #5   Report Post  
Posted to microsoft.public.excel.misc
ck ck is offline
external usenet poster
 
Posts: 52
Default Conditional Formating based on Date

Hi Kimti,

Try this to see if it works for you:
condition 1: =AND(A1<=TODAY(),A1<"")
condition 2: =AND(A1-TODAY()<10,A1<"")

Click yes below if it works.

"Kimti" wrote:

Now blanks are showing yellow. Please help.

"Per Jessen" wrote:

Change condition 1 to:

=AND(A1<=TODAY(),A10)

Regards,
Per

On 7 Mar., 21:47, Kimti wrote:
I would like to change the cell color based on date. For example if date is
today or less color should be red, if date is upto 10 days from today the
color should be yellow. I used following:
Condition 1: =A1<=today() RED
Condition 2: =A1-today()<10 YELLOW

it worked ok if I have date in the cell. If the cell is empty, it is still
showing me RED color. I want see no formatting if the cell is empty.

Thank you in advance for your kind help.


.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 181
Default Conditional Formating based on Date

By trial and error I must admit

It's all down to the order in which you set the formatting. By the way
you'll need to set c/f for white when cell is blank. You have set it to red
when less than today which a blank must be.

Set c/f in this order
Yellow
Red
White

for White

=A1=""
--
Russell Dawson
Excel Student

Please hit "Yes" if this post was helpful.


"Kimti" wrote:

I would like to change the cell color based on date. For example if date is
today or less color should be red, if date is upto 10 days from today the
color should be yellow. I used following:
Condition 1: =A1<=today() RED
Condition 2: =A1-today()<10 YELLOW

it worked ok if I have date in the cell. If the cell is empty, it is still
showing me RED color. I want see no formatting if the cell is empty.

Thank you in advance for your kind help.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Conditional Formating based on Date

Thank you for quick response. I set as you described, but the blank is also
showing yellow color. Even past date is showing yellow color. Please provide
further help for this.

Kimti

"Russell Dawson" wrote:

By trial and error I must admit

It's all down to the order in which you set the formatting. By the way
you'll need to set c/f for white when cell is blank. You have set it to red
when less than today which a blank must be.

Set c/f in this order
Yellow
Red
White

for White

=A1=""
--
Russell Dawson
Excel Student

Please hit "Yes" if this post was helpful.


"Kimti" wrote:

I would like to change the cell color based on date. For example if date is
today or less color should be red, if date is upto 10 days from today the
color should be yellow. I used following:
Condition 1: =A1<=today() RED
Condition 2: =A1-today()<10 YELLOW

it worked ok if I have date in the cell. If the cell is empty, it is still
showing me RED color. I want see no formatting if the cell is empty.

Thank you in advance for your kind help.

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 181
Default Conditional Formating based on Date

I've done it again and works ok.

Clear all formatting for the range before trying again.

I'm using 2007 but for this it shouldn't differ for 2003 as far as I can
remember

--
Russell Dawson
Excel Student

Please hit "Yes" if this post was helpful.


"Kimti" wrote:

Thank you for quick response. I set as you described, but the blank is also
showing yellow color. Even past date is showing yellow color. Please provide
further help for this.

Kimti

"Russell Dawson" wrote:

By trial and error I must admit

It's all down to the order in which you set the formatting. By the way
you'll need to set c/f for white when cell is blank. You have set it to red
when less than today which a blank must be.

Set c/f in this order
Yellow
Red
White

for White

=A1=""
--
Russell Dawson
Excel Student

Please hit "Yes" if this post was helpful.


"Kimti" wrote:

I would like to change the cell color based on date. For example if date is
today or less color should be red, if date is upto 10 days from today the
color should be yellow. I used following:
Condition 1: =A1<=today() RED
Condition 2: =A1-today()<10 YELLOW

it worked ok if I have date in the cell. If the cell is empty, it is still
showing me RED color. I want see no formatting if the cell is empty.

Thank you in advance for your kind help.

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 based on other cells Kimti Excel Worksheet Functions 3 June 25th 08 02:29 AM
Conditional Formating based on Date Flcnmech Excel Worksheet Functions 1 February 14th 08 08:21 PM
Conditional Formating Based on Date Roy Excel Discussion (Misc queries) 5 June 7th 06 04:49 PM
Set conditional formating for cell based on value in different cel D4137 Excel Discussion (Misc queries) 2 May 5th 05 08:15 PM
Conditional Formating based on another cell SMac Excel Discussion (Misc queries) 5 March 10th 05 07:17 PM


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