S
SiH23
I wonder whether someone could help?
The following function when used inconjunction with Data Validation will
allow only a 9 digit number to be entered into a cell with no duplicate
values:
=AND(ISNUMBER(A1),LEN(A1)=10,COUNTIF($A$1:$A$100,A1)<=1)
However, when I select a range of cells outside of the 'COUNTIF' range; for
example up to A200 the function still works. Why is this when the cell does
not fall within the range A1:A100?
Kind regards,
Simon.
The following function when used inconjunction with Data Validation will
allow only a 9 digit number to be entered into a cell with no duplicate
values:
=AND(ISNUMBER(A1),LEN(A1)=10,COUNTIF($A$1:$A$100,A1)<=1)
However, when I select a range of cells outside of the 'COUNTIF' range; for
example up to A200 the function still works. Why is this when the cell does
not fall within the range A1:A100?
Kind regards,
Simon.