![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: Tony Gennoe
Posts: 1
|
I want to fill a cell colour ie G6 when a date is entered in E6. How do i do it please?
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
|
Use conditional Formatting in G6
Choose the 'Formula Is' Option Enter =ISNUMBER(E6) |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Posts: 142
|
Use conditional formatting...
cell value - not equal to - $E$6 Change the cell shading to the desired color within the Conditional Formatting dialogue box. |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Some more restrictive format conditionals include...
=AND(E6>"12/31/2001"+0,LEFT(CELL("format",E6))="D") ...which differentiates between "any old number" and a datevalue beyond 2001. Furthermore, it requires E6 to be formatted to "look" like a date. [ This Message was edited by: Mark W. on 2002-04-04 12:24 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|