Written by Allen Wyatt (last updated November 16, 2019)
This tip applies to Excel 97, 2000, 2002, and 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:
Figure 1. The Conditional Formatting dialog box.
=ISBLANK(A1)
Figure 2. The Patterns tab of the Format Cells dialog box.
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 97, 2000, 2002, and 2003.
Program Successfully in Excel! This guide will provide you with all the information you need to automate any task in Excel and save time and effort. Learn how to extend Excel's functionality with VBA to create solutions not possible with the standard features. Includes latest information for Excel 2024 and Microsoft 365. Check out Mastering Excel VBA Programming today!
Conditional formatting is a great tool. You may need to use this tool to tell the difference between cells that are empty ...
Discover MoreOne of the powerful features of Excel is the ability to format a cell based on the contents of that cell or another. It ...
Discover MoreConditional formatting is a great feature in Excel. Unfortunately, you can't sort or filter by the results of that ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2020-07-29 14:26:10
Megan B
Is there a way to shade cells with values already in them, but have them go blank when the values are edited?
2020-04-05 13:10:41
Ashraf Hafez
Great
Thank You
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments