Warn for duplicate numbers

Hello.

I want to warn if I enter duplicate numbers in cells A1 to A100.
I used the following formula, but it gives warning only for cell A1!

COUNTIF(A1:A100,A1)=1

Hint: check validity formula in A4.

COUNTIF(A$1:A$100;A1)<=1 :heavy_check_mark:

3 Likes