

If you try to do this in Excel 2007, it will let you select the data from another worksheet, but will give you an error message when you try to click OK at the end. In 2010, you can now reference another worksheet in the same workbook. However, there is one new feature that really makes it much more powerful.Įarlier I had mentioned that the Highlight Cells Rules section lets you compare one set of data to another set of data on the same spreadsheet. Just about everything is the same in Excel 2010 when it comes to Conditional Formatting that was included in Excel 2007. New Conditional Formatting Options Excel 2010 However, you can read this post from Microsoft that explain it in great detail. There is also a checkbox called Stop If True, which I won’t go into detail here because it’s quite complicated. Also, you can click the dropdown at the very top and see the rules for only the current selection or for each sheet in the workbook. You can change that by clicking on the rule and then using the up and down arrow buttons to change the order. By default, the newest rule added will have the higher precedence. When you have more than one rule applied to the same range of cells, the rules are evaluated in order from higher precedence to lower precedence. To see all the rules, click on the Conditional Formatting button and then click on Manage Rules. Since you can apply many rules to the same set of cells, it can become quite confusing especially if someone else created the spreadsheet. Then, select whether you want to clear the rules from only the selected cells or from the entire worksheet.Īlso, if you have created several rules, you might forget what rules you have applied to what cells. To do this, select the Conditional Formatting button and select Clear Rules. If you later decide that you don’t want your cells to be conditionally formatted, all you have to do is clear the formatting. If you select A1 to A20, it’ll only compare those values against each other. These three options only compare values from the same dataset. For example, you can insert icons like colored arrows ( Icon Sets), bar charts like in the second example ( Data Bars), or even a range of automatically selected colors like in the last example ( Color Scales). If you do not like these formatting options, Excel has many different new Conditional Formatting options that you can use from. Here is what a portion of the finished spreadsheet looks like. The third rule was that anything less than $0 was formatted red. The second rule was that anything between $0 and $200 was formatted yellow. The same logic was applied to the second and third rules. Everything else will just use the one dataset that you have highlighted and compare the values against each other. For example, when using the Greater Than rule, I can compare values from A1 to A20 against a specific number or I can compare A1 to A20 against B1 to B20.

It’s worth noting that only the Highlight Cells Rules section can also be used to compare a dataset to another dataset. The first was that any value greater than $200 was green. For this example, we imposed three rules. There are Highlight Cells Rules and Top/Bottom Rules at the top that let you do comparisons with values. Step 2: Click the Conditional Formatting button under the Home menu, Styles section. Step 1: Select the cells you want to format. You can create rules for the formatting options that will allow Microsoft Excel to auto-format for you. You really only have to follow three simple steps. Conditional Formatting in ExcelĬonditional formatting enables you to format significant amounts of data quickly and easily – while still being able to distinguish different types of data.
How to clear formatting in excel on mac code#
For example, if you have a profit sheet and you want to color code all profits greater than $200 as green and all profits less than $200 as yellow and all losses as red, then you can use conditional formatting to quickly do all the work for you. Now, you can use conditional formatting to format every cell in a range based on your own criteria (and there are a lot of formatting options to choose from). To visually display to the user what is “good” or “bad” by using green and red. To assist you in drawing conclusions from your data.ĥ. To identify certain types of numbers for help in problem solving.Ĥ.
