Excel cannot highlight a cell when the Fill color option is disabled, the worksheet is protected, or the cell is part of a table that does not allow formatting changes. To fix this, unlock the cells, disable worksheet protection, or switch to a standard range instead of a table.
What You'll Need
- A Microsoft Excel spreadsheet (.xlsx or .xls).
- A computer with Excel installed (Windows or macOS).
- Basic knowledge of how to select a cell or range of cells.
Step-by-Step
- Check for Protection. If you see the word “PROTECTED” in the status bar at the bottom of the window, the sheet is locked. You must unprotect it to change cell colors. Go to the Review tab and click Unprotect Sheet. If a password is required and you do not have it, you cannot unlock the sheet without breaking the structure or using a third-party tool.
- Unlock the Specific Cell. If the whole sheet is not protected, but one cell remains unhighlightable, it may be locked. Click the cell you want to highlight. Go to the Home tab, find the Cells group, and click Format. Select Lock Cell from the dropdown menu. This toggles the lock status. Ensure the cell is now unlocked.
- Enable Fill Colors. Ensure the Fill Color button in the Font group on the Home tab is not grayed out. If it is grayed out, it is disabled. This often happens if the cell is inside a structured Excel Table (ListObject). You cannot change the background color of a table cell directly. You must ungroup the table or apply formatting to the whole table, not individual cells.
- Unprotect the Table. If the Fill Color button is grayed out because of a table, right-click anywhere inside the table and select Table Design. Look for the Table Style Options group. Ensure the checkmark next to Total Row is unchecked if you are trying to format the body, as the Total Row is locked. More importantly, look for the “Design” tab properties. If the table has a “Design” tab, right-click and uncheck “Table has fixed column widths” if that is the issue, though this is rare. The most direct fix is to convert the table back to a range. Click inside the table, go to the Table Design tab (or Insert tab depending on version), and click Convert to Range. This removes the table structure and allows you to highlight individual cells freely.
- Verify Selection. Sometimes the issue is not a setting but the selection. Click the cell once to ensure it has the white border around it. If the border is missing, the cell is not selected. Try clicking a slightly different cell or using the Name Box in the top-left corner to type the cell reference (e.g., B2) and press Enter.
- Clear Conditional Formatting. If the cell is grayed out or has a weird color that won't change, a rule may be overriding your manual formatting. Go to the Home tab, click Conditional Formatting, and select Clear Rules. Choose Clear Rules from This Cell to remove any rules specific to that cell, or Clear Rules from Selected Cells to remove all rules from the range.
- Use the Format Cells Dialog. If the Fill button is unresponsive, use the dialog box. Right-click the cell and select Format Cells. Go to the Fill tab and choose a color. Click OK. This method bypasses the toolbar buttons and often works even if the toolbar is glitching.
Common Mistakes
One of the most common mistakes is assuming the cell is locked when it is actually the whole sheet. Users spend time trying to unlock individual cells, but the sheet itself is protected. The solution is to unprotect the sheet, not the cell. Another mistake is applying formatting to a table. People try to highlight a single row in a table, but Excel applies that color to the entire table row. To fix this, you must convert the table to a range or use a formula to conditionally format the row instead of manually highlighting it.
Tips
When troubleshooting, always check the status bar at the bottom of the Excel window. If it says “Protected View” or “PROTECTED,” you know the first step is to unprotect the sheet. If you are working with a large dataset, using the Name Box to jump to a specific cell is faster than scrolling. For conditional formatting, remember that rules are evaluated in order. If a rule is at the top of the list and applies a color, it will override the manual fill color you try to add later. To fix this, move your manual formatting rule to the bottom of the list or delete the conflicting conditional formatting rule.
Troubleshooting
If you have followed the steps above and still cannot highlight the cell, try restarting Excel. Sometimes the ribbon interface gets stuck in a state where buttons do not respond. Save your work, close Excel, reopen it, and try again. If the problem persists on one specific sheet but not others, the issue is likely with that sheet's settings. If the problem exists on every sheet in the workbook, the issue might be with the workbook file itself. Try creating a new, blank workbook and pasting the data from the problematic sheet into it to see if the formatting works there. If it works in the new workbook, the original file may be corrupt, and you may need to repair it or recreate it from a backup.
Frequently Asked Questions
Why is the fill color button grayed out?
The fill color button is grayed out when the cell is part of a table or when the sheet is protected. You must convert the table to a range or unprotect the sheet to use the fill color.
How do I unlock a cell that won't highlight?
Right-click the cell, select Format Cells, go to the Protection tab, and uncheck the Locked box. Then, go to the Review tab and unprotect the sheet.
Can I highlight multiple cells at once?
Yes, click the first cell, hold down the Shift key, and click the last cell in the range to select a continuous block. Or, click and drag your mouse across the cells you want to highlight.
What is conditional formatting?
Conditional formatting is a feature that automatically changes the color of a cell based on its value or other criteria. You can manage these rules by going to the Home tab and selecting Conditional Formatting.
Does the Fill button work on merged cells?
Generally, yes. However, if you have multiple merged cells, Excel may apply the color to the entire merged block rather than individual cells within it, depending on how you select them.
Why does the color disappear when I save and reopen?
If the color disappears, it is likely due to conditional formatting rules that were overwritten or a workbook setting that resets formatting. Check your conditional formatting rules and ensure the file is saved in a supported format like .xlsx.