To shade a cell in Excel, select the cell (or range), go to the Home tab, click the Fill Color button (the paint bucket icon) in the Font group, and choose a color from the palette. For more control, right-click the cell, choose Format Cells (or press Ctrl+1), and use the Fill tab to apply a custom color, pattern, or gradient. This works in Excel for Microsoft 365, Excel 2021, 2019, and earlier versions on Windows; on Mac, the same options are under the Home tab and the Format Cells dialog (shortcut Cmd+1).
Why Shade Cells? Common Uses
Shading is more than decoration—it helps organize data, highlight important values, and make spreadsheets easier to scan. People use fill colors to:
- Mark headers or total rows so they stand out.
- Color-code status (e.g., green for complete, red for overdue).
- Group related rows or columns visually.
- Draw attention to cells that need input or review.
- Create a dashboard-like look for reports.
Excel also lets you shade cells automatically based on their values using Conditional Formatting—useful when you want the color to update as data changes. For example, you could shade all cells above a threshold in green without manually editing each one.
How to Apply a Solid Fill Color
The quickest method is the Fill Color button on the Home tab. Here’s the step-by-step:
- Select the cell or range of cells you want to shade.
- Go to the Home tab.
- In the Font group, click the Fill Color icon (a paint bucket).
- Pick a color from the theme palette, or click More Colors for a custom RGB/HSL choice.
The selected cells immediately get the fill. To remove shading, select the cells and choose No Fill from the same button’s dropdown. On Mac, the button is in the same location; the shortcut to open Format Cells is Cmd+1.
Using Format Cells for Patterns and Gradients
If you need a pattern (like diagonal stripes) or a two-color gradient, use the Format Cells dialog:
- Select the cells.
- Press Ctrl+1 (Windows) or Cmd+1 (Mac).
- Go to the Fill tab.
- Under Background Color, pick a base color.
- From the Pattern Color and Pattern Style dropdowns, choose a pattern (e.g., dots, stripes).
- Click OK.
For a gradient, click the Fill Effects button. Choose two colors and a shading style (horizontal, vertical, diagonal, etc.). Gradients are often used for titles or summary blocks.
Shading with Conditional Formatting
Conditional formatting shades cells automatically based on rules. This is ideal for dynamic data. For example, to shade all cells in a range that are greater than 100:
- Select the range (e.g., B2:B20).
- Go to Home > Conditional Formatting > Highlight Cells Rules > Greater Than.
- Enter
100in the dialog. - Choose a fill format from the dropdown (e.g., “Light Red Fill with Dark Red Text”).
- Click OK.
You can also use formulas for more complex rules. For instance, to shade entire rows where the status in column C is “Overdue”, select the data range (A2:D20), go to Conditional Formatting > New Rule > Use a formula, and enter:
=$C2="Overdue"
Then set a fill color. The dollar sign locks the column so the rule applies across the row.
Common Problems and How to Fix Them
Shading can behave unexpectedly. Here are frequent issues and solutions:
- Fill color doesn’t show: The cell may have a border or the color is too light. Check that the fill isn’t set to “No Fill” and try a darker color.
- Color only appears when you click the cell: This happens if you’re using a theme that applies a “selection” color. Go to Page Layout > Themes and choose a standard theme.
- Conditional formatting overrides manual fill: Conditional formatting rules take precedence over manually applied fills. To fix, clear the rule (Home > Conditional Formatting > Clear Rules) or reorder rules in Manage Rules.
- Shading doesn’t print: By default, Excel doesn’t print background colors unless you enable it. Go to Page Layout > Print > Print Titles (or Print > Page Setup), and check “Print in black and white” or “Print background colors and images” (depending on version).
Keyboard Shortcuts and Efficiency Tips
Speed up shading with these shortcuts:
- Alt+H, then H (Windows) opens the Fill Color dropdown.
- Ctrl+1 (Windows) / Cmd+1 (Mac) opens Format Cells.
- Use Format Painter (Home tab, brush icon) to copy a fill from one cell to another: select the shaded cell, click Format Painter, then click the target cell.
- For a quick “no fill” on selected cells, press Ctrl+1, go to Fill, and choose “No Fill”.
To apply the same shade to non-adjacent cells, select the first range, hold Ctrl (Windows) or Cmd (Mac), and click additional ranges before choosing the color.
Alternatives to Manual Shading
If you find yourself shading cells repeatedly, consider these alternatives:
- Excel Tables: Convert a range to a table (Insert > Table). Excel automatically applies banded rows (alternating shading) that stay in sync as you add rows.
- Styles: Create a custom cell style (Home > Cell Styles > New Cell Style) with your preferred fill, then apply it with one click.
- Conditional Formatting with formulas: For rules like “shade every other row”, use a formula like
=MOD(ROW(),2)=0to shade even rows. This is more flexible than manual fills.
Frequently Asked Questions
How do I shade a cell based on another cell’s value?
Use Conditional Formatting with a formula. For example, to shade A1 if B1 is greater than 10, select A1, go to Home > Conditional Formatting > New Rule > Use a formula, and enter =B1>10. Then set a fill color.
Can I shade a cell with a picture or texture?
Excel doesn’t support images as cell fills natively. You can insert a picture behind the cells (Insert > Pictures) and send it to back, but it won’t move or size with the cells. For a texture-like effect, use a pattern fill in Format Cells.
Why does my fill color disappear when I sort or filter?
Manual fills stay with the cell content when you sort or filter, but if you applied the fill to a range that gets reordered, the color moves with the data. To keep colors attached to specific values, use Conditional Formatting instead—it recalculates based on the data.
How do I remove all shading from a worksheet?
Select all cells (Ctrl+A), go to Home > Fill Color > No Fill. This removes manual fills. To clear conditional formatting, go to Home > Conditional Formatting > Clear Rules > Clear Rules from Entire Sheet.
Does shading affect file size or performance?
No, shading is just formatting and has negligible impact on file size or speed. However, excessive conditional formatting rules can slow down recalculation, so use them judiciously.
Can I shade cells in Excel for the web?
Yes, Excel for the web supports the Fill Color button on the Home tab, but the Format Cells dialog with patterns and gradients is not available. Conditional formatting is also supported, though some advanced options are limited compared to the desktop app.
Related
- How to Calculate Overtime in Excel: Step-by-Step
- Random Org Generate String? How to Use random.org
- US Balance Sheet Format: Assets, Liabilities, Equity
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Save Custom Number Formats: A Practical GuideExcel saves a custom number format inside the workbook: select the cells, press Ctrl+1, choose Number > Custom,…
- SUMIF Negative Values in Google Sheets: Formula HelpTo total negative numbers in Google Sheets, use SUMIF with the criterion "<0". If the values are in…
- Outlook Online Sweep Rules: How to Create and ManageTo create a Sweep rule in Outlook Online, select a message from the sender you want to manage,…
- Shortcut to Close a Window: Fastest WaysThe fastest shortcut to close a window on Windows is Alt+F4. On a Mac, press Command+W to close…
- How to Add Audio to PowerPoint SlidesTo add an audio file in PowerPoint for Microsoft 365 on Windows, select the slide, choose Insert >…
- Random Number 1-20: How to Generate & Use ItIf you need a random number from 1 to 20, the quickest way is to use a random…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.