Formatting Issues

Fix SharePoint Online Column Color Formatting Showing All Values as Red

Khadija KhanKhadija Khan Oct 13, 2026 870 views

Question details

User is experiencing an issue where SharePoint list column conditional formatting fails to apply correctly, displaying all values as red regardless of the underlying data.

How to Fix SharePoint Online Column Color Formatting Showing All Values as Red
Product
SharePoint Online
Device & OS
not provided
Scenario
Applying conditional formatting to a SharePoint list column to display green for 90 or higher, amber for 80-89, and red for values below 80.
Observed behavior
All column values are displayed in red instead of showing the correct conditionally formatted colors (green and amber).
Before you start

Ensure you have the necessary Edit or Full Control permissions for the SharePoint list and have access to the column settings to modify the formatting code.

Solution 1Recommended

Correct the JSON Condition Evaluation Order

JSON formatting evaluates conditions sequentially. If the logic is out of order, it can trigger the fallback or incorrect color for all items.

In SharePoint conditional formatting, conditions are processed from top to bottom. If your first condition accidentally captures all values, or if the syntax is malformed, subsequent conditions are ignored. You must structure the JSON to evaluate in descending order for this logic to work.

1
Open Column Settings

Navigate to your SharePoint list, click the column header you want to format, select 'Column settings', and then click 'Format this column'.

2
Access Advanced Mode

At the bottom of the formatting pane, click 'Advanced mode' to view and edit the raw JSON code.

3
Fix the Condition Order

Ensure your JSON `if` statements check for the highest value first. The logic should be: if value >= 90 return 'green', else if value >= 80 return 'amber', else return 'red'.

4
Save and Apply

Click 'Save' at the bottom of the pane. The list should instantly refresh to reflect the correct color coding.

Correct the JSON Condition Evaluation Order
Tip: Always double-check your operand symbols (such as >= and <=) and ensure field internal names are correctly referenced with the [$FieldName] syntax in your JSON.
Free Microsoft Office alternative

Manage and Format Your Data Easily with WPS Office

While SharePoint is highly effective for list management, analyzing and formatting large datasets is often easier in a dedicated spreadsheet application. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office, complete with powerful conditional formatting tools.

  1. 1. Export List Data: In your SharePoint list, click 'Export' and select 'Export to CSV' or 'Export to Excel'.
  2. 2. Open with WPS Spreadsheet: Launch WPS Office and open your downloaded file. The familiar interface ensures a smooth transition.
  3. 3. Apply Conditional Formatting: Select your data column, click 'Conditional Formatting' on the Home tab, and visually set up your color scales (Green, Amber, Red) with just a few clicks.
Completely free and lightweight suiteExcellent compatibility with Microsoft Office formats like XLSX, DOCX, and PPTXFamiliar tabbed user interface for seamless migrationRobust built-in conditional formatting rules without needing to write JSON code
microsoft office alternative - wps office

Frequently Asked Questions

Why does my JSON formatting in SharePoint ignore the first condition?

SharePoint evaluates JSON conditions sequentially. If the first condition is formatted incorrectly or inadvertently encompasses all values (e.g., checking if a value is simply > 0), it will apply to everything and ignore subsequent rules. Ensure you order conditions from the most restrictive to the least.

Can I use conditional formatting without writing JSON in SharePoint?

Yes, SharePoint Online offers a 'Design mode' for conditional formatting. You can set up simple color-coding rules using a graphical interface by selecting 'Format this column' and using the 'Conditional formatting' option instead of 'Advanced mode'.

How do I check my column's internal name for JSON formatting?

Go to 'List settings', click on the column name, and look at the URL in your browser. The internal name is the text following 'Field=' at the end of the URL. This internal name must be used exactly as it appears in your JSON syntax.