Hi, in my excel sheet, I want to change the background colour of cells in a row if the…
- User
Hi, in my excel sheet, I want to change the background colour of cells in a row if the values in column C, D & E match. How can I do this.
- Assistant
You can use Conditional Formatting in Excel to change the background color of cells in a row based on the matching values in columns C, D, and E. Here’s a step-by-step guide on how to set this up:
-
Open your Excel file and select the range of rows that you want to apply the formatting to. For example, if you want to apply it to rows 1 to 100, select the range A1:E100 (or however many columns you need).
-
Go to the Home tab on the Ribbon.
-
Click on Conditional Formatting.
-
Select New Rule from the dropdown menu.
-
In the "New Formatting Rule" dialog box, choose "Use a formula to determine which cells to format."
-
- User
The formula did not work. What I am trying to achieve is this. If the row values found in column B, C & D are found dublicated in more than one row, then change the backgound of all the rows that meet this condition
- Assistant
To achieve the result where you change the background color of all rows with duplicated values in columns B, C, and D, you can use a slightly different approach in Conditional Formatting. Here's how to set it up:
-
Select your data range: Highlight the entire range of rows you want to apply the formatting to. For example, if your data is in columns A to D and rows 1 to 100, select
A1:D100. -
Go to the Home tab on the Ribbon.
-
Click on Conditional Formatting.
-
Select New Rule from the dropdown menu.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.