How to remove (temporarily hide) conditional formatting when printing in Excel?
As we know, after adding conditional formatting to a worksheet range, it will be showing in the printout while printing it. Although there is no direct function for removing conditional formatting when printing the worksheet, we can temporarily hide the conditional formatting in order to print without any conditional formatting in a specific range. With this tutorial, you will learn how to temporarily hide conditional formatting when printing in Excel with details.
Enable you to do smarter, faster and better
For example, you have a range of data as below screenshot shown, all the values greater than 95 are highlighted with a format.
You can easily hide the conditional formatting as following method step by step.
1. Click to select a blank cell in current worksheet, type CondF_Show in the Name Box and press the Enter key. See screenshot:
2. Then click Data > Data Validation.
3. In the Data Validation dialog box, you need to:
1). Go to the Settings tab;
2). Select List in the Allow drop-down list;
3). Type Yes,No in the Source box;
4). Click the OK button. See screenshot:
Then a drop down list with value Yes and No is created.
3. Click Conditional Formatting > Manage Rules under Home tab.
4. In the Conditional Formatting Rules Manager dialog box, select This Worksheet in the Show formatting rule for drop down list, then select the rule you want to hide when printing and finally click the Edit Rule button.
5. In the Edit Formatting Rule dialog box, please do as follows.
1). Select Use a formula to determine which cells to format in the Select a Rule Type box;
2). In the Edit the Rule Description section, as the conditional formula rule “>95” was given to the data before, now I type in =AND(A1>95,CondF_Show="Yes") into the Formatvalues where this formula is true box;
3). Click the OK button.
6. When it returns to the Conditional Formatting Rules Manager dialog box, click the OK button.
From now on, when you select Yes in the drop down list, the conditional formatting will be displayed.
And when you select No in the drop-down list, the conditional formatting will be temporarily hidden. Please start printing.
- How to remove conditional formatting from blank cells in Excel?
- How to ignore blank or zero cells in conditional formatting in Excel?
- How to conditional format dates less than/greater than today in Excel?
- How to conditional format negative percentage in red in Excel?