![]() Choose the Fill color from the color palette for highlighting the cells, and then click on OK.Enter the formula as =countif($A$3:$F$12,A3)>1 then click on the Format tab.It will display a formula window, as shown below.Select the last option, “ Use a formula determining which cells to format”, under the Select a Rule Type section. ![]() ![]() It will open a dialog box for creating a new custom rule here, as we can see below.Go to the HOME tab and click on the Conditional Formatting option.=COUNTIF(Cell range, Starting cell address)>1 The COUNTIF function, we will use like shown below: Let’s again take the same dataset values for finding the duplicate values in excel.įor highlighting the duplicate values here, we will use the COUNTIF function here that returns TRUE if a value appears more than once in the list. Let’s take an example to understand this method. We can also do this method by using an Excel function.Ĭonditional Formatting – Using Excel Function or Custom Formula (COUNTIF) In the upper section, we highlighted the cells with conditional formatting inbuilt feature. With the highlighted duplicate values, we can take action accordingly. It will highlight all the duplicate values in the given data set. The result is shown below.Select the color from the color palette for highlighting the cells.It will open a dialog box of Duplicate Values, as shown in the below screenshot.Click on Highlight Cells Rules here, and it will again display a list of rules here.It will open a drop-down list of formatting options, as shown below. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |