tlc53
Active Member
- Joined
- Jul 26, 2018
- Messages
- 399
Hi there,
I currently have a data validation code which only allows the following formats: ### or ###/###
I would like to amend the code so it only accepts the following format: 620/###
=OR(AND(ISNUMBER(F14),LEN(F14)=3),AND(ISNUMBER(LEFT(F14,3)+0),ISNUMBER(RIGHT(F14,3)+0),ISNUMBER(SEARCH("/",F14)),LEN(F14)=7))
Can someone help me with this please?
Thank you!
I currently have a data validation code which only allows the following formats: ### or ###/###
I would like to amend the code so it only accepts the following format: 620/###
=OR(AND(ISNUMBER(F14),LEN(F14)=3),AND(ISNUMBER(LEFT(F14,3)+0),ISNUMBER(RIGHT(F14,3)+0),ISNUMBER(SEARCH("/",F14)),LEN(F14)=7))
Can someone help me with this please?
Thank you!