Formatting Issues

Use Excel Conditional Formatting When Column C Is Less Than Column B

Olivia MillerOlivia Miller Dec 2, 2026 870 views

Question details

Highlight cells in red when a value in column C is lower than the value in column B on the same row.

Highlight Cells When Column C Is Less Than Column B in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Compare corresponding values in two columns and visually flag rows where column C is lower.
Observed behavior
Cells should receive a red fill whenever the value in column C is less than the corresponding value in column B.
Before you start

Identify the first row of data and decide whether to highlight only column C or both columns B and C. Make sure the values being compared are numeric.

Solution 1Recommended

Create an Excel Conditional Formatting Rule to Compare Columns B and C

Use a formula-based rule to apply a red fill whenever the value in column C is lower than the value in column B on the same row.

1
Select the cells to highlight

Select C1:C100 to highlight only column C, or select B1:C100 to highlight both cells in each matching row.

2
Create a formula rule

Go to Home > Conditional Formatting > New Rule, then select Use a formula to determine which cells to format.

3
Enter the comparison formula

Enter =$C1<$B1 in the formula box. If your selection starts on row 2 instead, use =$C2<$B2.

4
Choose a red fill

Click Format, open the Fill tab, select red, and click OK. Click OK again to create the rule.

Create an Excel Conditional Formatting Rule to Compare Columns B and C
How the references work: The dollar signs fix columns C and B, while the row number adjusts for each row in the selected range.
Compare columns in WPS Spreadsheets

Highlight Values Below Another Column in WPS Spreadsheets

Use a formula-based conditional formatting rule in WPS Spreadsheets to compare columns B and C and highlight matching cells in red.

  1. 1. Open the spreadsheet: Open your workbook in WPS Spreadsheets and select C1:C100, or select B1:C100 to highlight both columns.
  2. 2. Start a conditional formatting rule: On the Home tab, choose Conditional Formatting > New Rule, then select the option to use a formula to determine which cells to format.
  3. 3. Set the comparison and fill: Enter =$C1<$B1 in the formula field, click Format, and choose a red fill. Adjust the row number if your selection starts on a different row.
  4. 4. Apply the rule: Click OK to confirm the format and rule, then check that rows where column C is lower than column B are highlighted.
Highlight values in column C that are lower than the corresponding values in column B.Open and edit Microsoft Excel XLSX and XLS files.Use a familiar spreadsheet interface to format and review data.
microsoft office alternative - wps office

Frequently Asked Questions

How do I highlight only the cells in column C?

Select C1:C100 before creating the rule, then use the formula =$C1<$B1 and choose a red fill.

How do I highlight both columns when column C is lower?

Select B1:C100 and apply the formula =$C1<$B1. Both selected cells in a row will receive the fill when the condition is true.

What formula should I use if my data starts on row 2?

Select the range starting on row 2 and use =$C2<$B2. The formula's row number should match the first row of the selected range.

How can I avoid highlighting rows with blank or nonnumeric cells?

Use =AND(ISNUMBER($B1),ISNUMBER($C1),$C1<$B1) as the rule formula. Adjust the row number to match the first row of your selection.