Forum Discussion
How to change the colour of a cell based on another value
- Jan 06, 2024
Hi RhiLew
Happy New Year too
or (even better) Make the name cell (A:B) fill red if the value of any M:Q < K ?
Conditional Formatting rule that applies to (with the above example) $A$5:$B$9:
=COUNTIF($M5:$Q5, "<" & $K5)
Visit This article: https://techcommunity.microsoft.com/t5/excel/i-need-to-change-the-color-of-all-cells-in-a-row-based-on-the/m-p/3951857#M207727
To change the color of a cell based on another value in Excel, you can use conditional formatting. Select the target cell, go to the "Home" tab, choose "Conditional Formatting," and then select "New Rule." Pick "Format cells that contain" in the rule type, set your condition (e.g., equal to, greater than), and choose the formatting options, including the fill color. This way, the cell color will automatically change based on the specified condition in the adjacent cell, making data visualization and analysis more intuitive.
Also visit https://getdressedshop.com/