AVOIDING DUPLICATES IN A RANGE OF CELLS
Thanx Ken. I did not realize at first that the formula only works in a blank
worksheet. I had problems with one that had data.
--
Glint
"Ken Johnson" wrote:
Hi Glint,
Looks like you've changed from 400 to 225, so the formula should be...
=AND(B2=1,B2<=225,COUNTIF($B$2:Z26,B2)=1)
If so, try these steps to get it in place and working...
1. Select B2:Z26
2. Go Data|Validation...
3. On the Settings Tab of the Data Validation dialog, click in the
Allow: box and select Custom.
4. Type the above formula into the Formula: box
5. If you want a message to appear when a cell in the range is selected
add it to the Input Message Tab of the Data Validation dialog
6. If you want a warning Error Alert message displayed when the user
tries to enter an invalid value then add it to the Error Alert tab of
the Data Validation dialog.
7. Click OK.
Ken Johnson
|