The button goes dim when the file is read-only, protected, in legacy sharing, or your selection is something Excel won’t format.
You click Home, you spot the Conditional Formatting button, and it’s grey. No click. No dropdown. Just a dead control that makes you feel like you missed a setting hidden in plain sight.
This is one of those spreadsheet problems that looks mysterious until you know what the app is checking. In most cases, nothing is “broken.” Excel (or Sheets) is blocking the command because the file state, your permissions, or your current selection can’t accept that kind of rule.
Below is a practical way to diagnose it fast, without random toggles. You’ll see what to check, what each symptom points to, and the smallest change that brings the button back.
Why Is Conditional Formatting Greyed Out? In Excel And Sheets
That greyed-out state usually means the app has decided one of these is true:
- The workbook is read-only (Protected View, View-only permissions, or a locked file state).
- The sheet is protected in a way that blocks formatting changes.
- The file is using an older collaboration mode with feature limits.
- You selected an object or area that the feature can’t target (chart, shape, some PivotTable contexts, grouped sheets, certain protected ranges).
- The command is available, but you’re in a context where it’s disabled (editing a cell, in a dialog, in a filtered UI mode, or working inside a protected structure).
Your job is to identify which bucket you’re in. Once you do, the fix is usually one short step.
Start With These Two Quick Checks
Check what you selected
Click a single normal cell inside a plain range, then look again. If you had a chart, shape, slicer, image, or text box selected, Excel treats the selection as an object, not a range. Many ribbon commands go dim in that state.
If you’re inside a cell and the cursor is blinking in edit mode, press Enter or Esc to exit editing. A lot of formatting commands stay disabled while you’re actively editing content.
Check whether you’re in a read-only state
Look near the top of the window for Protected View banners, or look at the file name area for read-only indicators. If the file opened in Protected View, Excel intentionally disables many editing features until you switch to editing mode. Microsoft explains what that mode is and why it happens on its Protected View help page: What Is Protected View?
If you’re in Excel for the web, check the top bar for “Viewing” vs “Editing.” Viewing mode will dim many commands.
File States That Disable Formatting Commands
Protected View and other read-only opens
Protected View is the classic one: you opened a file from email, a download, or a location Excel treats as risky. It opens read-only. Conditional formatting creation and edits can be blocked until you enable editing.
Other read-only triggers show up with similar symptoms:
- You opened an attachment directly inside a mail client.
- The file is marked “Always open read-only.”
- The file is locked for editing by another session, or by cloud sync conflict.
- You have view-only permissions in OneDrive/SharePoint.
Fast test: save a copy to a local folder you control, open that copy, and try again. If the button lights up in the copy, you were dealing with a file-level lock or permission state.
Sheet protection that blocks formatting
Sheet protection is a common “it used to work” culprit. Someone protected the sheet and disallowed formatting. Excel can still recalculate existing rules, yet it can block adding or editing them.
Go to the Review tab. If you see “Unprotect Sheet,” the sheet is protected. Unprotect it (password may be required), then try Conditional Formatting again.
If you need the sheet protected but also need people to format, protection options matter. Microsoft’s worksheet protection documentation calls out formatting permissions and how protection interacts with conditional formatting dialogs: Protect A Worksheet
Workbook protection and structure locks
Workbook-level protection can block actions that feel unrelated, like creating named ranges, changing sheet structure, or adjusting formats across sheets. If the workbook structure is protected, some formatting workflows get restricted, especially when rules need to create or adjust ranges behind the scenes.
Check Review > Protect Workbook. If structure is protected, you may need to unprotect it to edit rules safely, then re-protect after you’re done.
Legacy sharing modes and collaboration limits
Excel has an older “Shared Workbook” feature with limitations. Some formatting and structural changes can be blocked when that mode is on. In modern Microsoft 365, co-authoring is the normal collaboration path, yet older files or settings can still carry legacy flags.
If the file came from an older system, is saved as an older format, or has “Shared Workbook” turned on, try switching it to a modern shared workflow (cloud co-authoring) or test by saving a copy as a fresh .xlsx and reapplying the rule.
Selection And Range Issues That Make The Button Go Grey
You selected a PivotTable, PivotChart, or a restricted Pivot context
PivotTables behave like a generated report, not a normal range. You can apply conditional formatting to PivotTables, yet Excel can limit what you can target from certain selections. If you clicked a subtotal cell, a grand total, a filter header, or a pivot field button, Excel may dim commands that need a plain data range.
Try clicking inside the values area (not headers), then open Conditional Formatting from the ribbon. If it opens, use “Manage Rules” and check the “Applies to” range so the rule attaches to the correct pivot scope.
The sheet is grouped
If you selected multiple sheet tabs and they’re grouped, some formatting commands and rule edits behave differently. Excel tries to apply actions across all grouped sheets, and certain commands can be restricted to avoid accidental damage.
Look at the title bar for a “Group” indicator. Right-click any sheet tab and choose “Ungroup Sheets,” then try again.
Your selection includes protected ranges, locked cells, or mixed permissions
In shared environments, it’s common to have a mix: some cells editable, others locked or protected by range permissions. If your selection spans both allowed and blocked areas, Excel can disable formatting commands rather than risk partial changes you didn’t intend.
Try selecting a smaller range that sits fully inside an editable area. If the button lights up, your original selection crossed a protected boundary.
The selection is an entire column or a massive range in a constrained file state
Excel can apply rules to whole columns, yet some workbooks with heavy formatting, large used ranges, or strict protection settings can behave strangely when you target full columns or entire sheets.
Fast test: apply the rule to a modest range (like A2:A500) first. If that works, expand it in the Rules Manager by adjusting “Applies to.”
You’re in Page Break Preview, a dialog, or a modal workflow
If a dialog is active (Find/Replace, a pivot dialog, a chart edit pane) or you’re in a mode that changes how selection works, some ribbon controls go inactive. Close dialogs and click back into a normal cell on the grid.
Diagnosis Map: What The Grey Button Usually Means
Use this table like a shortcut. Match the symptom you see, then try the smallest fix listed.
| What you see | Likely cause | Smallest fix to try |
|---|---|---|
| Yellow banner, “Protected View” | File opened read-only for safety | Enable editing, or save a local copy you trust |
| Top bar shows Viewing, not Editing | Web or shared file opened view-only | Switch to Editing, request edit access, or open desktop app |
| Review tab shows “Unprotect Sheet” | Sheet protection blocks formatting | Unprotect sheet, or change protection options to allow formatting |
| Only dims on one sheet, other sheets fine | Sheet-level restriction or protected ranges | Select an editable range, or adjust protection on that sheet |
| Dims when chart/shape is clicked | Object selected, not a cell range | Click a normal cell, then open the menu |
| Dims while typing in a cell | Edit mode disables ribbon commands | Press Enter or Esc to exit edit mode |
| Tabs show multiple sheets selected | Grouped sheets restrict some edits | Ungroup sheets, then retry |
| Only dims in a PivotTable context | Pivot selection not valid for new rules | Click inside values area, then use Manage Rules and fix “Applies to” |
| File came from older workflow, odd limits | Legacy sharing/older format constraints | Save as a fresh .xlsx copy, test rule in the new file |
| Works on small range, dims on full column | Range too broad for current file constraints | Apply to smaller range first, expand “Applies to” after |
Fixes That Work In Excel Desktop Most Of The Time
1) Get back to a clean, editable selection
Click a blank cell inside a plain range. Avoid header objects, chart elements, and pivot field buttons. If you’re unsure, create a new sheet, paste a few values, and see if the command is active there. That isolates selection issues from file-state issues.
2) Confirm the sheet can be formatted
If sheet protection is on, you’ll need one of these outcomes:
- Unprotect the sheet, edit or add rules, re-protect after.
- Keep protection on, yet allow formatting in the protection options so rule dialogs are usable.
If you don’t have the password, the realistic path is to ask the sheet owner for access or have them apply the rule. Trying to bypass protection is a trust and policy problem on collaborative teams.
3) Clear “grouped sheets” without losing work
Right-click any sheet tab and click “Ungroup Sheets.” This changes no data. It just returns Excel to a single-sheet editing context.
4) If the file feels “stuck,” test with a clean copy
Create a new workbook and copy only the data range (Paste Special > Values). Then try to add a rule in the clean workbook. If it works there, your original file may carry restrictions, older features, or damaged formatting state that blocks the command.
After that, you can move the data back, or rebuild formatting with fewer hidden constraints.
Fixes That Work In Excel For The Web And Shared Drives
Editing permissions and mode matter
If your organization uses SharePoint or OneDrive, you can open the same file in different modes depending on link type, policy, and current session locks. One open tab in view-only is enough to make the ribbon feel broken.
Try these steps:
- Close extra tabs that have the file open.
- Refresh the browser, then confirm you’re in Editing.
- Open the file in desktop Excel if web controls stay grey.
Protected ranges inside shared sheets
In shared environments, a sheet can allow data entry in some cells and block formatting across the same area. If the selection includes any blocked cells, the UI may disable formatting commands for the whole selection.
Narrow your selection to a range you know you can edit, apply the rule there, then expand carefully.
When The Button Is Available But The Rule Still Won’t Behave
Sometimes the real issue isn’t the grey button. The command works, yet results don’t show. These checks still save time:
Cell values stored as text
Numbers that look like numbers can be text. A rule like “greater than 10” may not match text values. Convert the range to a numeric format, then re-check the rule.
Rule order and “Applies to” range
Open Manage Rules and inspect the “Applies to” box. If the rule is attached to a narrow range, it won’t affect the cells you’re watching. If multiple rules target the same cells, the order can change what you see.
Manual formatting overrides what you expect
If someone painted fills or fonts manually, it can create confusion when you test rules. Clear direct formats on a test range (Home > Clear > Clear Formats), then apply the rule again.
Safe Reset Checklist That Doesn’t Nuke Your Work
If you want a low-risk sequence that rules out most greyed-out causes without tearing apart the file, use the steps below.
| Step | What you change | What you keep |
|---|---|---|
| Exit edit mode | Stops active cell editing | All data and formulas |
| Click a plain cell range | Switches from objects to cells | All content and layout |
| Ungroup sheets | Ends multi-sheet group state | All sheet data and formatting |
| Check Protected View / Editing mode | Moves file into editable state | Everything inside the workbook |
| Unprotect sheet (if allowed) | Unlocks formatting controls | Sheet content, plus existing rules |
| Test rule in a small range | Limits scope to confirm UI works | Rest of sheet untouched |
| Save a local copy and retest | Removes cloud lock and link constraints | Workbook content, with a backup copy |
What To Do If You’re Not The Owner
When you’re a collaborator, the fix often sits with permissions:
- If the sheet is protected: ask the owner to enable formatting or apply the rule for you.
- If you have view-only access: request edit rights, or ask for a copy you can edit.
- If your company policy enforces Protected View: talk to IT about trusted locations or safer file sharing routes.
This route feels slow, yet it’s the clean way to restore editing without breaking trust on a shared file.
Quick Mental Model For Next Time
When Conditional Formatting is greyed out, think in this order:
- Selection: Am I on a normal cell range?
- Mode: Am I editing a cell, grouped across sheets, or in Viewing/Protected View?
- Protection: Is the sheet or workbook protected against formatting changes?
- Legacy limits: Is this file carrying older sharing or format constraints?
Run that sequence and you’ll usually spot the blocker in under a minute. Once the file is editable and the selection is a real range, the button comes back and rules behave like they should.
References & Sources
- Microsoft Support.“What is Protected View?”Explains why Office files open read-only and why editing features can be disabled until you enable editing.
- Microsoft Support.“Protect a worksheet”Details worksheet protection options and how protection settings affect formatting actions and conditional formatting dialogs.
