Watch word-wrap below but this formula in a cell other than the range
tested of A2:A7 works great - Enter as a Control+Shift-Enter type (CSE)
- not just enter. CSE will wrap in { } 's for you.
Jim May
=IF(MAX(COUNTIF(INDIRECT("A2:A"&(MAX((A2:A7<>"")*ROW(A2:A7)))),INDIRECT("A2:A"&(MAX((A2:A7<>"")*ROW(A2:A7))))))>1,"Duplicates","No
Duplicates")