
While the formula from our first example could work for "Delivered" and "Past Due"( =$E2="Delivered" and =$E2="Past Due"), the task sounds a bit trickier for "Due in…" orders. Naturally, the row color will change if the order status gets updated. If an order is "Past Due", the row will turn red.If an item is "Delivered", the entire row will be colored in green.If an order is "Due in X Days", the background color of such rows will turn orange.In our sample table, to make follow-up on orders easier, you can shade the rows based on the values in the Delivery column, so that: How to change a row color based on a text value in a cell The result should resemble this:Ĭlick the OK button and the corresponding rows will immediately change their background color based on the cell values that you specified in both formulas. Select the formatting rule you want to be applied first and move it to the top of the list using the arrows.If you want to manage the rules that apply to your current selection only, choose " Current Selection". Choose " This worksheet" in the " Show formatting rules for" field.On the Home tab, in the Styles group, click Conditional Formatting > Manage Rules….

larger than 4:Īnd naturally, you can use the less than (9Īfter your second formatting rule is created, set the rules priority so that both of your rules will work.


Say, you have a table of your company orders like this: How to change a row color based on a number in a single cell

Last week we discussed how to change the background color of a cell based on its value. Tips and formula examples for number and text values. Learn how to quickly change the color of the entire row based on a single cell's value in your Excel worksheets.
