T
Theo
I need to validate that telephone numbers are entered in this format:
###-###-####.
I found something that was close
=AND(LEFT(A2,1)="C",LEN(A1)=16,ISNUMBER(SUBSTITUTE(RIGHT(A2,14),"-","")*1),LEN(SUBSTITUTE(RIGHT(A2,13),"-",""))=12) (
it validates this format:
C-###-#####-####.
But I have not been able to successfully adapt the above to what I need.
Any help would be appreciated.
###-###-####.
I found something that was close
=AND(LEFT(A2,1)="C",LEN(A1)=16,ISNUMBER(SUBSTITUTE(RIGHT(A2,14),"-","")*1),LEN(SUBSTITUTE(RIGHT(A2,13),"-",""))=12) (
it validates this format:
C-###-#####-####.
But I have not been able to successfully adapt the above to what I need.
Any help would be appreciated.