Is there a formula I can use that would return "Y" if there are duplicate numbers in a column?

I have a column named "IDnumbers" that contains thousand of entries in the column. I just want a quick way to know if there are any duplicate IDnumbers in that column. A quick look that returns either Y or N.

Thank you.