bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Formatting > Conditional Formatting > Shading a Cell Until Something is Entered

Shading a Cell Until Something is Entered

Summary: Using conditional formatting, you can shade a particular cell (or cells) until a value is entered in the cell. This is a handy way for users to tell when something needs to be entered in a particular cell. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, and Excel 2003.)

When creating a worksheet in which information must be entered into specific cells, you may find it helpful to shade the cells if they are blank, but have the shading removed if something is entered into the cell. You can easily accomplish this task by using the conditional formatting feature in Excel. Follow these steps:

  1. Select the cell or cells that you want shaded if they are empty.
  2. Choose Conditional Formatting from the Format menu. Excel displays the Conditional Formatting dialog box. (Click here to see a related figure.)
  3. Use the Condition drop-down to choose Formula Is.
  4. In the formula area, to the right of the drop-down list used in step 3, enter the following formula, replacing A1 with the address of the active cell selected in step 1.:
  5.      =ISBLANK(A1)
    
  6. Click Format to display the Format Cells dialog box.
  7. Click the Patterns tab. (Click here to see a related figure.)
  8. Select the color you want used for shading the cell if it is blank.
  9. Click OK to dismiss the Format Cells dialog box. The shading color you selected in step 7 should now appear in the preview area for the condition.
  10. Click OK.

All the empty cells among those selected in step 1 should now appear shaded. When you enter something into one of the shaded cells, the shading should disappear.

Tip #2800 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003


Save Time! ExcelTips has been published weekly since late 1998. Past issues of ExcelTips are available in convenient ExcelTips archives. Have your own enhanced archive of ExcelTips at your fingertips, available to use at any time!
 
Check out ExcelTips Archives today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Bugs and Pests Tips
ExcelTips
Family Tips
Health Tips
Home Tips
Organizing Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)