Hello,
I will have a data of US EIN number something like this (015-46-1210) which is a combination of Numeric digits & Hyphens.
For this kind of data, I want to write a formula using "IF Length" or any other; and the formula should satisfy the below conditions
1) The EIN must have Nine numeric digits. If they are eight or Ten, then the result should show "Invalid" otherwise "Valid" (only if Nine digits available)
2) The Hyphens are acceptable. However there must be Nine digits all the time
The below condition satisfies because, the condition is considering both Numeric digits + Characters (hyphens) in this case. However, there is every possibility a human error might happen wherein there might be more or less numeric digits or typo error, could be anything.
In such cases I should be able to catch the error

Please suggest any idea.
Thanks
Surya