Question: what is the formula to highlight duplicates in excel?
Answer: Select the range of cells you wish to test. ... 
On Excel's Home tab, choose Conditional Formatting, Highlight Cells Rules, and then Duplicate Values.
Click OK within the Duplicate Values dialog box to identify the duplicate values.
Duplicate values in the list will now be identified.