Formatting Issues

How to Change Row Text Color When Excel Status is Completed

Jason MillerJason Miller Oct 22, 2026 872 views

Question details

The user needs to automatically change the formatting of an entire row to green when a specific cell in column C contains the word 'completed'.

How to Change Row Text Color When Excel Status is Completed
Product
Excel
Device & OS
not provided
Scenario
Tracking project or task statuses where completed items need to be highlighted dynamically using conditional formatting.
Observed behavior
The user requires a formula-based rule that applies a format across an entire data range based on a single column's text value.
Before you start

Ensure your data is organized in a clear tabular format without merged cells, and identify the exact column letter that contains your status indicator (e.g., Column C).

Solution 1Recommended

Use Conditional Formatting with a Custom Formula

Applying a formula-based conditional formatting rule is the most effective way to highlight an entire row based on a single cell's text value.

To highlight an entire row instead of just a single cell, you must use a custom formula in the conditional formatting menu. By locking the column reference with a dollar sign (absolute reference), the rule ensures that every cell in the row looks at the specific status column to determine its color.

1
Select the Data Range

Highlight the entire dataset you want to format. Do not select the header row. For example, select your data starting from A2 up to your last column and row, such as A2:F100.

2
Open Conditional Formatting

Navigate to the Home tab on the ribbon, click on 'Conditional Formatting' in the Styles group, and select 'New Rule' from the dropdown menu.

3
Enter the Formatting Formula

Choose the option 'Use a formula to determine which cells to format'. In the formula box, enter = $C2="completed". Make sure to replace 'C' with your actual status column letter, and '2' with the first row number of your selected range.

4
Set the Format Style

Click the 'Format' button, go to the Font or Fill tab, and choose a green color. Click 'OK' on the format window, then click 'OK' again to apply the rule to your data.

Use Conditional Formatting with a Custom Formula
Absolute vs Relative References: The dollar sign before the column letter (e.g., $C2) locks the condition to that specific column, ensuring the entire row changes color based only on the status in column C.
Smart Data Formatting

Highlight Rows Instantly with WPS Spreadsheet

WPS Spreadsheet offers powerful, user-friendly conditional formatting tools identical to Excel, allowing you to automate data visualization effortlessly. Easily set up rules to change row colors based on cell values to keep track of your completed tasks.

  1. 1. Select Your Data: Open your file in WPS Spreadsheet and highlight the rows you want to apply the formatting to, skipping the header.
  2. 2. Create a New Rule: Navigate to the Home tab on the top menu, click Conditional Formatting, and choose New Rule.
  3. 3. Apply Formula and Format: Select 'Use a formula to determine which cells to format', type your formula like =$C2="completed", choose your desired green fill color, and click OK.
Free and lightweight spreadsheet tool with a familiar, easy-to-use interface100% compatible with Microsoft Excel (.xlsx) conditional formatting rules and formulasExtensive data analysis and task-tracking visualization capabilities
microsoft office alternative - wps office

Frequently Asked Questions

Why is the wrong row changing color when I apply the conditional formatting rule?

This usually happens if the row number in your formula does not match the first row of your selected data range. For example, if you highlight your data starting from row 5, your formula must explicitly start at row 5 as well (e.g., =$C5="completed").

How can I change the row color for multiple different statuses, like pending or delayed?

You can create multiple conditional formatting rules for the same data range. Simply keep your data highlighted, repeat the 'New Rule' process, change the target word in the formula (e.g., =$C2="pending"), and select a different color (like yellow or red) for each specific status.

Is the conditional formatting formula case-sensitive?

No, standard conditional formatting formulas in Excel are not case-sensitive. The rule =$C2="completed" will successfully highlight the row whether the cell contains 'Completed', 'COMPLETED', or 'completed'.

How do I edit or remove the conditional formatting rule?

To manage your rules, go to the Home tab, click Conditional Formatting, and select Manage Rules. From the 'Show formatting rules for' dropdown, choose 'This Worksheet'. You can then select your specific rule to Edit or Delete it.