Excel.Tips.Net Welcome toExcel.Tips.Net

Helpful Links

Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment

Tips.Net Store

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

Newest Tips

Assigning a Macro to a Keyboard Combination

Creating Scenarios

Using Message Boxes

Understanding Phantom Macros

Picking a Group of Cells

Running Out of Memory

Hiding Rows Based on a Cell Value

 

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.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2800) applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003

Save Time and Money! Many people need to keep track of employee time, but don't know where to start when it comes to creating a spreadsheet. Here's a way to save time, effort, and money with ready-to-use timesheet templates.
 
Check out Timesheet Templates today!