![]() In this case, you'd better use the SEARCH function that works for the partial match as well: As you see, different orders are due in 1, 3, 5 or more days and the above formula won't work because it is purposed for exact match. 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. In the " New Formatting Rule" dialog window that opens, choose the option " Use a formula to determine which cells to format" and enter the following formula in the " Format values where this formula is true" field to highlight orders with Qty.Create a new formatting rule by clicking Conditional Formatting > New Rule… on the Home tab.Start with selecting the cells the background color of which you want to change. ![]() This can be easily done using Excel Conditional Formatting. column to see the most important orders at a glance. You may want to shade the rows in different colors based on the cell value in the Qty. 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |