Fix Excel Conditional Formatting Formulas with Table References
Question details
The user needs to fix an Excel conditional-formatting formula that contains structured table references.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user is creating a conditional-formatting rule using a table reference such as Attendance_Tracker[Employee Name].
- Observed behavior
- Excel reports an error when the conditional-formatting formula contains a structured table reference.
Identify the worksheet cells covered by each table column in your formula and the first row of the range you want to format. Check the original rule’s logic so you can preserve it when replacing the references.
Replace structured table references with cell ranges
Use ordinary cell references when Excel rejects structured references in a conditional-formatting formula.
Some Excel versions do not accept structured table references directly in conditional-formatting formulas. Fixed range references can be used instead, with relative row references aligned to the first row of the cells being formatted.
On the worksheet, select the cells you want the rule to format. For example, select C2:E1000 if the rule should apply to those rows and columns.
Go to Home > Conditional Formatting > New Rule, then select Use a formula to determine which cells to format. To change an existing rule, open Home > Conditional Formatting > Manage Rules and select Edit Rule.
In the formula box, replace each structured reference with its corresponding worksheet range. For example, if Attendance_Tracker[Employee Name] covers C2:C1000, use $C$2:$C$1000. Keep the original formula’s conditions and adjust any current-row references to the first selected row, such as $C2.
Click Format, choose the desired appearance, and click OK. In Manage Rules, check that Applies to covers the intended cells, then click Apply or OK.

Work with formatted spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files in WPS Spreadsheet and use conditional formatting tools as you move your work between office suites. WPS does not fix Excel’s formula validation.

Frequently Asked Questions
Why does Excel reject my table reference in a conditional-formatting formula?
Some Excel versions do not accept structured table references directly in conditional-formatting formulas. Replace a reference such as Attendance_Tracker[Employee Name] with the corresponding worksheet range, such as $C$2:$C$1000.
How do I edit an existing conditional-formatting formula?
Select a cell covered by the rule, then go to Home > Conditional Formatting > Manage Rules. Select the rule and click Edit Rule to change its formula.
Why does the formula use $C2 instead of $C$2?
$C2 fixes the column while allowing the row to change for each formatted row. Use the first row of the selected range in the formula; for a range starting on row 2, use $C2.
Will a fixed range include new table rows automatically?
Not necessarily. If data extends beyond the fixed range, update the formula ranges and the Applies to field under Home > Conditional Formatting > Manage Rules.




