Excel is a powerful tool that allows you to analyze and manipulate data in various ways. One of the features that makes Excel so versatile is conditional formatting. Conditional formatting allows you to apply formatting to cells based on specific conditions or criteria. In this article, we will explore two NOT functions in conditional formatting: NOT Match and NOT Blank.
NOT Match Function
The NOT Match function in conditional formatting allows you to apply formatting to cells that do not match a specific value or text. This can be useful when you want to highlight cells that do not contain a certain value or text.
Here's how you can use the NOT Match function in conditional formatting:
- Select the range of cells that you want to apply the conditional formatting to.
- Go to the "Home" tab in the Excel ribbon and click on "Conditional Formatting" in the "Styles" group.
- Select "New Rule" from the dropdown menu.
- In the "New Formatting Rule" dialog box, select "Use a formula to determine which cells to format".
- In the "Format values where this formula is true" box, enter the formula
=NOT(ISNUMBER(MATCH(A1, B:B, 0))), where A1 is the first cell in the selected range, and B:B is the range of cells that contains the value you want to exclude. - Click on the "Format" button to choose the formatting options for the cells that do not match the specified value.
- Click "OK" to apply the conditional formatting.
Now, any cell in the selected range that does not match the specified value will be formatted according to the formatting options you chose.
NOT Blank Function
The NOT Blank function in conditional formatting allows you to apply formatting to cells that are not empty. This can be useful when you want to highlight cells that have been filled in with data.
Here's how you can use the NOT Blank function in conditional formatting:
- Select the range of cells that you want to apply the conditional formatting to.
- Go to the "Home" tab in the Excel ribbon and click on "Conditional Formatting" in the "Styles" group.
- Select "New Rule" from the dropdown menu.
- In the "New Formatting Rule" dialog box, select "Use a formula to determine which cells to format".
- In the "Format values where this formula is true" box, enter the formula
=NOT(ISBLANK(A1)), where A1 is the first cell in the selected range. - Click on the "Format" button to choose the formatting options for the non-blank cells.
- Click "OK" to apply the conditional formatting.
Now, any cell in the selected range that is not empty will be formatted according to the formatting options you chose.
Conditional formatting with the NOT Match and NOT Blank functions can help you analyze and highlight specific data in Excel. By using these functions, you can easily format cells that do not match a specific value or cells that are not empty. This can be particularly useful when working with large datasets or when you want to draw attention to certain data points.
References
| Source | Link |
|---|---|
| Microsoft Excel Support | https://support.microsoft.com/en-us/office/conditional-formatting-101-8f3f9f1b-eee7-4b02-8ac9-1e8251f7f1be |
| Excel Easy | https://www.excel-easy.com/examples/not-equal-to.html |