BlueDynamo
New Member
- Joined
- Mar 26, 2021
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi all. I want to setup a custom data validation to assess the contents of a range of cells against the following criteria:
=AND(COUNTIF($J$6:$J$255,J6)=1,LEN(J6)<=7)
However, I am struggling to create a formula to fully define the last two criteria. Can anyone help please?
- Contents of the cell must be unique compared to any other.
- Contents of the cell must end in any letter (between A and Z) if 7 characters long.
- Contents of the cell must end in any number (between 0 and 9) if 6 characters long.
=AND(COUNTIF($J$6:$J$255,J6)=1,LEN(J6)<=7)
However, I am struggling to create a formula to fully define the last two criteria. Can anyone help please?