Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 90
Default If, Then Color Cell

If the date in cell C3 is after date in cell C1, then color cell orange.

If this is possible then can I do this:

If the date in cell C3 is after the date in cell C1, then color cell orange
and If the date in cell C3 is before the date in cell C1, then color the cell
light blue.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default If, Then Color Cell

Use conditional formatting for this one

"LiveUser" wrote:

If the date in cell C3 is after date in cell C1, then color cell orange.

If this is possible then can I do this:

If the date in cell C3 is after the date in cell C1, then color cell orange
and If the date in cell C3 is before the date in cell C1, then color the cell
light blue.

Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 90
Default If, Then Color Cell

That worked fine. Thank you. Is there an easy way to copy this condition to
other cells, but have the refer to cell change?

"justlearnin" wrote:

Use conditional formatting for this one

"LiveUser" wrote:

If the date in cell C3 is after date in cell C1, then color cell orange.

If this is possible then can I do this:

If the date in cell C3 is after the date in cell C1, then color cell orange
and If the date in cell C3 is before the date in cell C1, then color the cell
light blue.

Thank you.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default If, Then Color Cell

click on the cell with the conditional format that you want, then click on
the "paintbrush" in the toolbar and then left click and "drag" over the cells
you want the conditional formula to be in.

"LiveUser" wrote:

That worked fine. Thank you. Is there an easy way to copy this condition to
other cells, but have the refer to cell change?

"justlearnin" wrote:

Use conditional formatting for this one

"LiveUser" wrote:

If the date in cell C3 is after date in cell C1, then color cell orange.

If this is possible then can I do this:

If the date in cell C3 is after the date in cell C1, then color cell orange
and If the date in cell C3 is before the date in cell C1, then color the cell
light blue.

Thank you.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 90
Default If, Then Color Cell

I did that, but it copies the condition and cell. I want the cell to change.
Maybe I am confused.

"Bernie R." wrote:

click on the cell with the conditional format that you want, then click on
the "paintbrush" in the toolbar and then left click and "drag" over the cells
you want the conditional formula to be in.

"LiveUser" wrote:

That worked fine. Thank you. Is there an easy way to copy this condition to
other cells, but have the refer to cell change?

"justlearnin" wrote:

Use conditional formatting for this one

"LiveUser" wrote:

If the date in cell C3 is after date in cell C1, then color cell orange.

If this is possible then can I do this:

If the date in cell C3 is after the date in cell C1, then color cell orange
and If the date in cell C3 is before the date in cell C1, then color the cell
light blue.

Thank you.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default If, Then Color Cell

Click on C3 then Format | Conditional Formatting. In the panel that
pops up, select Formula Is rather than Cell Value Is in the first box,
and then enter this formula:

=AND($C3<"",$C$1<"",$C3$C$1)

Then click the Format button, click on the Patterns tab (for
background colour) and click Orange, then click OK.

Click Add for a second condition, Formula Is again, and then enter
this formula:

=AND($C3<"",$C$1<"",$C3<$C$1)

then click on the Format button and select Light Blue for the colour.
Then click OK twice to escape the CF dialogue.

If the two dates are the same there will be no change in format,
otherwise you will get an orange background for a later date in C3 and
a light blue background for an earlier date, but only if both cells
are not empty.

If you wish, you can use the Format Painter to apply this format to
other cells on the same row.

Hope this helps.

Pete

On Mar 12, 7:11*pm, LiveUser
wrote:
I did that, but it copies the condition and cell. I want the cell to change.
Maybe I am confused.



"Bernie R." wrote:
click on the cell with the conditional format that you want, then click on
the "paintbrush" in the toolbar and then left click and "drag" over the cells
you want the conditional formula to be in.


"LiveUser" wrote:


That worked fine. Thank you. Is there an easy way to copy this condition to
other cells, but have the refer to cell change?


"justlearnin" wrote:


Use conditional formatting for this one


"LiveUser" wrote:


If the date in cell C3 is after date in cell C1, then color cell orange.


If this is possible then can I do this:


If the date in cell C3 is after the date in cell C1, then color cell orange
and If the date in cell C3 is before the date in cell C1, then color the cell
light blue.


Thank you.- Hide quoted text -


- Show quoted text -


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
Can't format cell color/text color in Office Excel 2003 in fil Tony S Excel Discussion (Misc queries) 1 December 21st 07 01:41 PM
Make text color match cell color with macro? JoeSpareBedroom Excel Discussion (Misc queries) 1 June 26th 07 07:09 PM
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
Can't format cell color/text color in Office Excel 2003 in files . albertaman Excel Discussion (Misc queries) 0 February 16th 06 03:56 AM
Default Border, Font Color, and Cell Background Color Elijah Excel Discussion (Misc queries) 1 October 28th 05 04:10 PM


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