How to Remove Automatic Red Highlighting from Power Query Cells in Excel
Question details
The user needs to remove persistent automatic red highlighting from table cells that appears after refreshing an Excel Power Query.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Refreshing data loaded from a Power Query into an Excel worksheet table.
- Observed behavior
- Cells in a specific table column automatically turn red after a data refresh. Clearing the cell contents and refreshing again does not remove the color, indicating a persistent formatting rule.
Before making changes, verify if the red highlighting is intended to flag data errors or missing values from your original source file.
Clear Fill Color and Manage Conditional Formatting Rules
The most common reason for persistent cell color that returns after clearing contents is direct fill formatting or active conditional formatting rules applied to the worksheet.
Formatting in Excel tables can sometimes be applied to the entire column dynamically. If standard fill colors were applied, or if a conditional formatting rule is active, simply deleting the text in the cell will not remove the background color.
Select a highlighted cell (or the entire column), navigate to the 'Home' tab on the Excel ribbon, click the 'Fill Color' dropdown (paint bucket icon), and select 'No Fill'.
If the red highlight persists, keep the cells selected, go to the 'Home' tab, click 'Conditional Formatting', and select 'Manage Rules'.
In the Rules Manager, choose 'This Worksheet' from the dropdown to see all active rules. Identify any rule affecting your Power Query column that applies a red format, select it, and click 'Delete Rule', then 'OK'.
Isolate the Formatting Source with a New Workbook
Determine if the red highlighting originates from the source data, the query itself, or local workbook formatting by importing the data into a fresh file.
Easily Manage Spreadsheet Formatting with WPS Office
If you are struggling with persistent cell formatting or complicated conditional rules, you can easily manage, clear, and troubleshoot spreadsheet formatting seamlessly using WPS Spreadsheet.
- 1. Open your workbook: Launch WPS Office and open your .xlsx file containing the formatted table.
- 2. Clear manual fill colors: Select the red cells, navigate to the 'Home' tab, click the 'Fill Color' icon, and choose 'No Fill'.
- 3. Remove Conditional Formatting: Under the 'Home' tab, click 'Conditional Formatting', choose 'Clear Rules', and select 'Clear Rules from Entire Sheet' to instantly remove all persistent highlighting.

Frequently Asked Questions
Why does my Excel table formatting change when I refresh a query?
When an Excel table connected to a Power Query refreshes, it can sometimes pull default table styles or reapply old conditional formatting rules to new rows. You can control this by right-clicking the table, choosing 'Table Data Properties', and toggling 'Preserve cell formatting'.
Can conditional formatting be applied directly inside the Power Query Editor?
No, the Power Query Editor only handles data transformation and structure (like filtering, merging, and grouping). Color highlighting, fonts, and conditional formatting are applied at the worksheet level in Excel after the data is loaded.
Why doesn't deleting cell contents remove the background color?
Deleting cell contents only removes the data (values or text). Background colors are considered 'formatting'. To remove the color, you must either clear the Fill Color or remove the Conditional Formatting rule that is continuously applying the color based on the cell's location or properties.




